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

  • 大小: 128KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-05-25
  • 語(yǔ)言: Matlab
  • 標(biāo)簽: 圖割??

資源簡(jiǎn)介

matlab下實(shí)現(xiàn)的圖割(Graph Cut)代碼,可用于圖像分割、目標(biāo)檢測(cè)、立體匹配等場(chǎng)合。

資源截圖

代碼片段和文件信息

function?demoncutImage;
%?demoncutImage
%?
%?demo?for?NcutImage
%?also?initialize?matlab?paths?to?subfolders
%?Timothee?Cour?Stella?Yu?Jianbo?Shi?2004.

main;

%%?read?image?change?color?image?to?brightness?image?resize?to?160x160
I?=?imread_ncut(‘specific_NcutImage_files/jpg_images/3.jpg‘160160);

%%?display?the?image
figure(1);clf;?imagesc(I);colormap(gray);axis?off;
disp(‘This?is?the?input?image?to?segment?press?Enter?to?continue...‘);
pause;

%%?compute?the?edges?imageEdges?the?similarity?matrix?W?based?on
%%?Intervening?Contours?the?Ncut?eigenvectors?and?discrete?segmentation
nbSegments?=?5;
disp(‘computing?Ncut?eigenvectors?...‘);
tic;
[SegLabelNcutDiscreteNcutEigenvectorsNcutEigenvaluesWimageEdges]=?NcutImage(InbSegments);
disp([‘The?computation?took?‘?num2str(toc)?‘?seconds?on?the?‘?num2str(size(I1))?‘x‘?num2str(size(I2))?‘?image‘]);


%%?display?the?edges
figure(2);clf;?imagesc(imageEdges);?axis?off
disp(‘This?is?the?edges?computed?press?Enter?to?continue...‘);
pause;

%%?display?the?segmentation
figure(3);clf
bw?=?edge(SegLabel0.01);
J1=showmask(Iimdilate(bwones(22)));?imagesc(J1);axis?off
disp(‘This?is?the?segmentation?press?Enter?to?continue...‘);
pause;

%%?display?Ncut?eigenvectors
figure(4);clf;set(gcf‘Position‘[100500200*(nbSegments+1)200]);
[nrncnb]?=?size(I);
for?i=1:nbSegments
????subplot(1nbSegmentsi);
????imagesc(reshape(NcutEigenvectors(:i)??nrnc));axis(‘image‘);axis?off;
end
disp(‘This?is?the?Ncut?eigenvectors...‘);
disp(‘The?demo?is?finished.‘);


?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----

?????文件???????7114??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\common_files\a_times_b_cmplx.dll

?????文件???????7820??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\common_files\a_times_b_cmplx.mexglx

?????文件??????13096??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\common_files\a_times_b_cmplx.mexmac

?????文件???????1251??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\common_files\discretisation.m

?????文件????????202??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\common_files\discretisationEigenVectorData.asv

?????文件????????317??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\common_files\discretisationEigenVectorData.m

?????文件??????37466??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\common_files\eigs2.m

?????文件???????9728??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\common_files\mex_w_times_x_symmetric.dll

?????文件???????8713??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\common_files\mex_w_times_x_symmetric.mexglx

?????文件??????13396??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\common_files\mex_w_times_x_symmetric.mexmac

?????文件???????2339??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\common_files\ncut.asv

?????文件???????2470??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\common_files\ncut.m

?????文件????????486??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\common_files\ncutW.asv

?????文件????????604??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\common_files\ncutW.m

?????文件???????8704??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\common_files\sparsifyc.dll

?????文件???????8541??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\common_files\sparsifyc.mexglx

?????文件???????9004??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\common_files\sparsifyc.mexmac

?????文件???????7168??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\common_files\spmtimesd.dll

?????文件???????7285??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\common_files\spmtimesd.mexglx

?????文件???????8888??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\common_files\spmtimesd.mexmac

?????文件???????1579??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\demoncutImage.m

?????文件????????309??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\main.m

?????文件???????1091??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\README_NcutImage.txt

?????文件???????4967??2004-06-15?17:00??基于圖割的Matlab實(shí)現(xiàn)源碼\specific_NcutImage_files\affinityic.c

?????文件???????7680??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\specific_NcutImage_files\affinityic.dll

?????文件???????8162??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\specific_NcutImage_files\affinityic.mexglx

?????文件???????8964??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\specific_NcutImage_files\affinityic.mexmac

?????文件??????10086??2004-08-10?10:39??基于圖割的Matlab實(shí)現(xiàn)源碼\specific_NcutImage_files\a_times_b_cmplx.c

?????文件???????4351??2004-06-15?17:00??基于圖割的Matlab實(shí)現(xiàn)源碼\specific_NcutImage_files\cimgnbmap.c

?????文件???????7168??2004-06-18?03:19??基于圖割的Matlab實(shí)現(xiàn)源碼\specific_NcutImage_files\cimgnbmap.dll

............此處省略36個(gè)文件信息

評(píng)論

共有 條評(píng)論