-
大小: 61.75MB文件類型: .zip金幣: 2下載: 0 次發布日期: 2024-01-27
- 語言: 其他
- 標簽: Image??Processing??圖像處理??
資源簡介
經典書籍,圖像處理、分析與機器視覺(第三版)源碼,需要學習圖像處理的同學應該很有幫助!
代碼片段和文件信息
function?p?=?cmpviapath(rootpathstprtoolbox)
%?CMPVIAPATH?Sets?all?necessary?paths?for?cmpvia?toolbox
%?
%?p?=?cmpviapath(rootpath);
%?
%?Input?parameters:
%?rootpath?...?(optinoal)?root?path?of?the?toolbox?defaults
%??????????????to?current?working?directory
%?stprtoolbox...?(optional)?if?set?to?1?path?to?stprtoolbox?is?
%????????????????added?and?the?toolbox?is?initialized
%?
%?Output:
%?p?...?added?path
%??
%?History:
%?2006-01-26?Tomas?Svoboda:?created?based?on?a?similar?function
%????????????from?Vojta?Franc?and?Vaclav?Hlavac?patern?recognition
%????????????toolbox
%?
%?$Id:?cmpviapath.m?780?2007-06-22?17:24:01Z?svoboda?$
if?nargin<2
??stprtoolbox=0?;
end?;
??
if?nargin<1
??rootpath=pwd;
end
disp(‘Setting?path?for?the?CMPvia?codes‘)
disp(‘cmpvia@cmp.felk.cvut.cz?---------‘)
%?set?path?for?UNIX
p?=?[‘$:‘?...
?‘$02Image:‘?...
?????‘$03ImageMath:‘?...
?‘$04DataStr:‘...
?‘$05Preproc:‘...
?‘$06Segm1:‘...
?‘$07Segm2:‘...
?‘$08ShapeRepr:‘...
?‘$09ObjRec:‘...
?‘$11Theory3D:‘...
?????‘$14Compr:‘?...
?????‘$15Texture:‘?...
?????‘$16Motion:‘?...
?‘$matlab_code/graphcut:‘...
?‘$matlab_code/bsplines:‘...
?????‘$matlab_code/misc:‘
?];
if?stprtoolbox
??p?=?[?p?‘$matlab_code/stprtool:‘?]?;
end?;
p=translate(prootpath);
%?adds?path?at?the?start
addpath(p);
%?setup?
if?stprtoolbox
??stprpath(translate(‘$/matlab_code/stprtool‘rootpath))?;
end?;
%--translate?---------------------------------------------------------
function?p?=?translate(prootpath);
%TRANSLATE?Translate?unix?path?to?platform?specific?path
%???TRANSLATE?fixes?up?the?path?so?that?it‘s?valid?on?non-UNIX?platforms
%
%?This?function?was?derived?from?MathWork?M-file?“pathdef.m“
cname?=?computer;
%?Look?for?PC
if?strncmp(cname‘PC‘2)
??p?=?strrep(p‘/‘‘\‘);
??p?=?strrep(p‘:‘‘;‘);
??p?=?strrep(p‘$‘[rootpath?‘\‘]);
%?Look?for?MAC
elseif?strncmp(cname‘MAC‘3)
??p?=?strrep(p‘:‘‘:;‘);
??p?=?strrep(p‘/‘‘:‘);
??m?=?rootpath;
??if?m(end)?~=?‘:‘
????p?=?strrep(p‘$‘[rootpath?‘:‘]);
??else
????p?=?strrep(p‘$‘rootpath);
??end
else
??p?=?strrep(p‘$‘[rootpath?‘/‘]);
end
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2011-01-18?20:36??visionbook\
?????目錄???????????0??2010-04-29?10:57??visionbook\00Preface\
?????目錄???????????0??2010-04-29?11:33??visionbook\01Intro\
?????目錄???????????0??2010-04-29?11:33??visionbook\01Intro\images\
?????文件??????223853??2010-04-29?10:57??visionbook\01Intro\images\Ondra_sampling.jpg
?????文件????????2466??2010-04-29?11:33??visionbook\01Intro\image_view_demo.m
?????目錄???????????0??2010-04-29?11:33??visionbook\02Image\
?????文件????????4796??2010-04-29?11:33??visionbook\02Image\coarse_pixels_draw.m
?????文件?????????961??2010-04-29?11:33??visionbook\02Image\coarse_pixels_draw_demo.m
?????文件????????3465??2010-04-29?11:33??visionbook\02Image\dist_trans_demo.m
?????目錄???????????0??2010-04-29?11:33??visionbook\02Image\images\
?????文件??????????96??2010-04-29?10:57??visionbook\02Image\images\BoundExampleFig2-13.png
?????文件?????????118??2010-04-29?10:57??visionbook\02Image\images\NoncovexExBg.png
?????文件?????????116??2010-04-29?10:57??visionbook\02Image\images\NoncovexExFg.png
?????文件??????223853??2010-04-29?10:57??visionbook\02Image\images\Ondra_sampling.jpg
?????文件???????91930??2010-04-29?10:57??visionbook\02Image\images\StarFishOnlyRGB.png
?????文件?????????759??2010-04-29?10:57??visionbook\02Image\rc2d.m
?????文件?????????177??2010-04-29?10:57??visionbook\02Image\rc2d_demo.m
?????文件????????1672??2010-04-29?11:33??visionbook\02Image\region_border_demo.m
?????目錄???????????0??2010-04-29?11:33??visionbook\03ImageMath\
?????文件????????5998??2010-04-29?11:33??visionbook\03ImageMath\conv_demo.m
?????文件????????2632??2010-04-29?11:33??visionbook\03ImageMath\creDatMatFromIm.m
?????文件????????1548??2010-04-29?11:33??visionbook\03ImageMath\dct2ba
?????文件????????5480??2010-04-29?11:33??visionbook\03ImageMath\dct2ba
?????文件????????4150??2010-04-29?11:33??visionbook\03ImageMath\dft1d_demo.m
?????文件????????5231??2010-04-29?11:33??visionbook\03ImageMath\dft2d_demo.m
?????文件?????????895??2010-04-29?11:33??visionbook\03ImageMath\dft_edu.m
?????文件????????1543??2010-04-29?11:33??visionbook\03ImageMath\dispImgs.m
?????文件?????????788??2010-04-29?11:33??visionbook\03ImageMath\fs2is.m
?????文件?????????998??2010-04-29?11:33??visionbook\03ImageMath\idft_edu.m
?????目錄???????????0??2010-04-29?11:33??visionbook\03ImageMath\images\
............此處省略2506個文件信息
評論
共有 條評論