資源簡介
李純明老師的水平集matlab代碼,模型是CV模型。里面有圖像例子,可以運行。有需要的同學可以下載看看。

代碼片段和文件信息
function?[C1C2]=?binaryfit(ImgH_phi)?
%???[C1C2]=?binaryfit(phiUepsilon)?computes?c1?c2?for?optimal?binary?fitting?
%???input:?
%???????Img:?input?image
%???????phi:?level?set?function
%???????epsilon:?parameter?for?computing?smooth?Heaviside?and?dirac?function
%???output:?
%???????C1:?a?constant?to?fit?the?image?U?in?the?region?phi>0
%???????C2:?a?constant?to?fit?the?image?U?in?the?region?phi<0
%??
%???Author:?Chunming?Li?all?right?reserved
%???email:?li_chunming@hotmail.com
%???URL:???http://www.engr.uconn.edu/~cmli/research/
a=?H_phi.*Img;
numer_1=sum(a(:));?
denom_1=sum(H_phi(:));
C1?=?numer_1/denom_1;
b=(1-H_phi).*Img;
numer_2=sum(b(:));
c=1-H_phi;
denom_2=sum(c(:));
C2?=?numer_2/denom_2;
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????735??2007-08-18?08:33??LevelSet_CV\binaryfit.m
?????文件???????1631??2007-08-18?08:29??LevelSet_CV\CURVATURE.m
?????文件???????1151??2008-02-04?14:40??LevelSet_CV\Demo_CV.m
?????文件???????1615??2008-02-04?14:32??LevelSet_CV\EVOL_CV.m
?????文件????????588??2005-10-08?14:28??LevelSet_CV\sdf2circle.m
?????文件??????11766??2004-06-09?12:07??LevelSet_CV\three.bmp
?????文件??????16434??2004-07-23?20:36??LevelSet_CV\twocells.bmp
?????文件??????14702??2007-08-16?17:03??LevelSet_CV\vessel3.bmp
?????目錄??????????0??2012-01-28?22:47??LevelSet_CV
-----------?---------??----------?-----??----
????????????????48622????????????????????9
- 上一篇:基于頻率采樣法FIR帶通濾波器設計
- 下一篇:BCH和RS碼的編譯碼程序
評論
共有 條評論