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

資源簡介

圖割(GC)和主動輪廓模型(ACM)相結(jié)合的一種圖像分割方法,既可分割局部圖像,也可分割全局圖像,簡單實用。

資源截圖

代碼片段和文件信息


%?This?Matlab?file?demomstrates?a?segmentation?method?in?Qiang?Zheng?et?al‘s?paper
%????“Graph?Cuts?based?Active?Contour?Model?with?Selective?Local?or?Global?Segmentation“
%????IET?Electronics?Letters?vol.?48?(9)?pp.490-491?26th?April?2012.
%?Author:?Qiang?Zheng?all?rights?reserved
%?E-mail:?weihaizhengqiang@163.com
%?URL:??%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%?%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

clc;?clear?all;?close?all;?

Img0?=?imread(‘1.bmp‘);
Img0?=?double(Img0(::1));

[heightwidth]?=?size(Img0);
N?=?height*width;

E?=?edges4connected(heightwidth);
V0?=?1./(1?+?abs(Img0(E(:1))?-?Img0(E(:2))).^2?+?eps);

iterNum?=?5;?%?迭代次數(shù)
figure(1);

for?ID=1:6
????
????[nrowncol]?=?size(Img0);
????BW_InitialCurve?=?zeros(size(Img0));
????switch?ID
????????case?1??????%?Global?segmentation?with?initialCurve_1
????????????%?初始化
????????????BW_InitialCurve(15:14015:140)?=?1;
????????????subplot(341);?imagesc(Img0);colormap(gray);title(‘case1-initialization‘);hold?on;
????????????[ch]?=?contour(BW_InitialCurve[0?0]‘r‘‘LineWidth‘3);
????????????
????????????%?曲線進(jìn)化
????????????BW_Result?=?Evolution_Global(BW_InitialCurve?Img0?E?V0?iterNum);
????????????subplot(342);?imagesc(Img0);colormap(gray);title(‘case1-global-segmentation‘);hold?on;
????????????[ch]?=?contour(BW_Result[0?0]‘r‘‘LineWidth‘3);
????????????
????????case?2??????%?Global?segmentation?with?initialCurve_2
????????????%?初始化
????????????BW_InitialCurve(100:14010:30)?=?1;
????????????subplot(345);?imagesc(Img0);colormap(gray);title(‘case2-initialization‘);hold?on;
????????????[ch]?=?contour(BW_InitialCurve[0?0]‘r‘‘LineWidth‘3);
????????????
????????????%?曲線進(jìn)化
????????????BW_Result?=?Evolution_Global(BW_InitialCurve?Img0?E?V0?iterNum);
????????????subplot(346);?imagesc(Img0);colormap(gray);title(‘case2-global-segmentation‘);hold?on;
????????????[ch]?=?contour(BW_Result[0?0]‘r‘‘LineWidth‘3);
????????????
????????case?3??????%?Global?segmentation?with?initialCurve_3
????????????%?初始化
????????????BW_InitialCurve(50:10050:100)?=?1;?????
????????????subplot(349);?imagesc(Img0);colormap(gray);title(‘case3-initialization‘);hold?on;
????????????[ch]?=?contour(BW_InitialCurve[0?0]‘r‘‘LineWidth‘3);
????????????
????????????%?曲線進(jìn)化
????????????BW_Result?=?Evolution_Global(BW_InitialCurve?Img0?E?V0?iterNum);
????????????subplot(3410);?imagesc(Img0);colormap(gray);title(‘case3-global-segmentation‘);hold?on;
????????????[ch]?=?contour(BW_Result[0?0]‘r‘‘LineWidth‘3);???????????
????????????
????????case?4??????%?Local?segmentation?with?initialCurve_4????????%環(huán)狀物局部分割
????????????%?初始化
????????????ic?=?50;????jc?=?50;????r?=?15;
????????????[XY]?=?meshgrid(1:ncol?1:nrow);
????????????f?=?sqrt((X?-?jc).^2?+?(Y?-?ic).^2)?-?r;
????????????BW_InitialCurve?=?sign(f);?
????????????BW_InitialCurve?=?1?-?sign(BW_InitialCurve?+?1);
????????????subplot(3

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????69366??2006-11-12?20:57??Graph?cuts?based?active?contour?model?with?selective?local?or?global?segmentatio\1.bmp

?????文件??????20520??2012-04-17?16:53??Graph?cuts?based?active?contour?model?with?selective?local?or?global?segmentatio\Demo.asv

?????文件???????5384??2012-08-03?16:58??Graph?cuts?based?active?contour?model?with?selective?local?or?global?segmentatio\Demo.m

?????文件????????765??2008-09-15?15:35??Graph?cuts?based?active?contour?model?with?selective?local?or?global?segmentatio\edges4connected.m

?????文件???????1026??2012-04-17?16:43??Graph?cuts?based?active?contour?model?with?selective?local?or?global?segmentatio\Evolution_Global.asv

?????文件???????1138??2012-04-17?16:58??Graph?cuts?based?active?contour?model?with?selective?local?or?global?segmentatio\Evolution_Global.m

?????文件???????1127??2012-04-17?16:58??Graph?cuts?based?active?contour?model?with?selective?local?or?global?segmentatio\Evolution_Local_Annular.asv

?????文件???????1182??2012-04-17?16:58??Graph?cuts?based?active?contour?model?with?selective?local?or?global?segmentatio\Evolution_Local_Annular.m

?????文件???????1171??2012-04-17?17:00??Graph?cuts?based?active?contour?model?with?selective?local?or?global?segmentatio\Evolution_Local_Non_Annular.m

?????文件?????377164??2012-05-07?10:15??Graph?cuts?based?active?contour?model?with?selective?local?or?global?segmentatio\Graph?cuts?based?active?contour?model?with?selective?local?or?global?segmentation.pdf

?????文件???????1458??2008-09-15?15:35??Graph?cuts?based?active?contour?model?with?selective?local?or?global?segmentatio\maxflow.m

?????文件??????24576??2011-12-03?21:22??Graph?cuts?based?active?contour?model?with?selective?local?or?global?segmentatio\maxflowmex.mexw32

?????文件????????245??2008-09-02?17:10??Graph?cuts?based?active?contour?model?with?selective?local?or?global?segmentatio\Source?Code?for?maxflow\make.m

?????文件???????7466??2006-11-07?18:56??Graph?cuts?based?active?contour?model?with?selective?local?or?global?segmentatio\Source?Code?for?maxflow\maxflow-v3.0\block.h

?????文件???????1166??2006-11-07?21:01??Graph?cuts?based?active?contour?model?with?selective?local?or?global?segmentatio\Source?Code?for?maxflow\maxflow-v3.0\CHANGES.TXT

?????文件???????3031??2008-01-03?22:58??Graph?cuts?based?active?contour?model?with?selective?local?or?global?segmentatio\Source?Code?for?maxflow\maxflow-v3.0\graph.cpp

?????文件??????17825??2011-12-03?21:21??Graph?cuts?based?active?contour?model?with?selective?local?or?global?segmentatio\Source?Code?for?maxflow\maxflow-v3.0\graph.h

?????文件????????410??2006-06-13?19:42??Graph?cuts?based?active?contour?model?with?selective?local?or?global?segmentatio\Source?Code?for?maxflow\maxflow-v3.0\instances.inc

?????文件??????17657??2008-01-03?23:22??Graph?cuts?based?active?contour?model?with?selective?local?or?global?segmentatio\Source?Code?for?maxflow\maxflow-v3.0\maxflow.cpp

?????文件???????4430??2006-11-06?18:39??Graph?cuts?based?active?contour?model?with?selective?local?or?global?segmentatio\Source?Code?for?maxflow\maxflow-v3.0\README.TXT

?????文件???????4679??2008-09-15?15:35??Graph?cuts?based?active?contour?model?with?selective?local?or?global?segmentatio\Source?Code?for?maxflow\maxflowmex.cpp

?????目錄??????????0??2012-08-03?16:59??Graph?cuts?based?active?contour?model?with?selective?local?or?global?segmentatio\Source?Code?for?maxflow\maxflow-v3.0

?????目錄??????????0??2012-08-03?16:59??Graph?cuts?based?active?contour?model?with?selective?local?or?global?segmentatio\Source?Code?for?maxflow

?????目錄??????????0??2012-10-22?20:50??Graph?cuts?based?active?contour?model?with?selective?local?or?global?segmentatio

-----------?---------??----------?-----??----

???????????????561786????????????????????24


評論

共有 條評論