91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 342KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-10
  • 語言: Matlab
  • 標簽: snake??算法??

資源簡介

matlab snake 算法,邊界跟蹤的一種算法

資源截圖

代碼片段和文件信息

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%?filter_function.m?is?a?helper?function?for?interate.m.?To?run?snakes
%?(active?contours)?with?GUI?see?below.?To?go?to?the?meat?of?the?code?see
%?interate.m
%
%?To?run?it?with?GUI
%???1.?Type?guide?on?the?matlab?prompt.
%???2.?Click?on?“Go?to?Existing?GUI“
%???3.?Select?the?snk.fig?file?in?the?same?directory?as?this?file
%???4.?Click?the?green?arrow?at?the?top?to?launch?the?GUI
%
%???Once?the?GUI?has?been?launched?you?can?use?snakes?by
%???1.?Click?on?“New?Image“?and?load?an?input?image.?Samples?image?are
%???provided.
%???2.?Set?the?smoothing?parameter?“sigma“?or?leave?it?at?its?default?value
%???and?click?“Filter“.?This?will?smooth?the?image.
%???3.?As?soon?as?you?click?“Filter“?cross?hairs?would?appear?and?using
%???them?and?left?click?of?you?mouse?you?can?pick?initial?contour?location
%???on?the?image.?A?red?circle?would?appead?everywhere?you?click?and?in
%???most?cases?you?should?click?all?the?way?around?the?object?you?want?to
%???segement.?The?last?point?must?be?picked?using?a?right-click?in?order?to
%???stop?matlab?for?asking?for?more?points.
%???4.?Set?the?various?snake?parameters?(relative?weights?of?energy?terms
%???in?the?snake?objective?function)?or?leave?them?with?their?default?value
%???and?click?“Iterate“?button.?The?snake?would?appear?and?move?as?it
%???converges?to?its?low?energy?state.
%
%?Copyright?(c)?Ritwik?Kumar?Harvard?University?2010
%???????????????www.seas.harvard.edu/~rkkumar
%
%?This?code?implements?揝nakes:?Active?Contour?Models?by?Kass?Witkin?and
%?Terzopolous?incorporating?Eline?Eedge?and?Eterm?energy?factors.?See?the
%?included?report?and?the?paper?to?learn?more.
%
%?If?you?find?this?useful?also?look?at?Radon-Like?Features?based
%?segmentation?in??the?following?paper:
%?Ritwik?Kumar?Amelio?V.?Reina?&?Hanspeter?Pfister?揜adon-Like?Features?
%?and?their?Application?to?Connectomics??IEEE?Computer?Society?Workshop?%
%?on?Mathematical?Methods?in?Biomedical?Image?Analysis?(MMBIA)?2010
%?http://seas.harvard.edu/~rkkumar
%?Its?code?is?also?available?on?MATLAB?Central
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

function?[smth]?=?filter_function(image?sigma)
%?This?function?smooths?the?image?with?a?Gaussian?filter?of?width?sigma

smask?=?fspecial(‘gaussian‘?ceil(3*sigma)?sigma);
smth?=?filter2(smask?image?‘same‘);

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-11-01?18:46??activeContoursSnakesDemo\
?????目錄???????????0??2013-11-01?18:47??activeContoursSnakesDemo\activeContoursDemo\
?????文件?????????199??2010-07-02?21:23??activeContoursSnakesDemo\activeContoursDemo\README.txt
?????文件????????4109??2005-11-06?01:34??activeContoursSnakesDemo\activeContoursDemo\U64.pgm
?????文件??????364184??2010-07-02?21:19??activeContoursSnakesDemo\activeContoursDemo\activeContours_Snakes.pdf
?????文件???????47490??2005-11-06?01:34??activeContoursSnakesDemo\activeContoursDemo\chest.pgm
?????文件???????10028??2005-11-06?01:34??activeContoursSnakesDemo\activeContoursDemo\circle.jpg
?????文件????????2448??2010-07-02?21:21??activeContoursSnakesDemo\activeContoursDemo\filter_function.m
?????文件????????2974??2010-07-02?21:21??activeContoursSnakesDemo\activeContoursDemo\getsnake.m
?????文件???????25615??2005-11-06?01:34??activeContoursSnakesDemo\activeContoursDemo\heart.pgm
?????文件???????40658??2005-11-06?01:34??activeContoursSnakesDemo\activeContoursDemo\img1?-?副本.tif
?????文件???????40658??2005-11-06?01:34??activeContoursSnakesDemo\activeContoursDemo\img1.tif
?????文件???????34306??2005-11-06?01:34??activeContoursSnakesDemo\activeContoursDemo\img2.tif
?????文件????????4822??2010-07-02?21:21??activeContoursSnakesDemo\activeContoursDemo\interate.m
?????文件???????65594??2005-11-06?01:34??activeContoursSnakesDemo\activeContoursDemo\new.pgm
?????文件????????4112??2005-11-06?01:34??activeContoursSnakesDemo\activeContoursDemo\room.pgm
?????文件????????5814??2010-07-02?20:29??activeContoursSnakesDemo\activeContoursDemo\snk.fig
?????文件???????25966??2010-07-02?21:21??activeContoursSnakesDemo\activeContoursDemo\snk.m
?????文件????????5000??2005-11-06?01:34??activeContoursSnakesDemo\activeContoursDemo\square.jpg
?????文件????????1333??2010-07-02?21:45??activeContoursSnakesDemo\license.txt

評論

共有 條評論