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

資源簡介

MATLAB實現的圖像分割程序,通過讀入一副圖片,進行二值化和相應的分割算法之后,可以提取到相應的圖像塊,并且在不同的分割塊上進行標注。代碼中附帶圖片,可以直接運行。

資源截圖

代碼片段和文件信息

clear
close?all
I=?imread(‘2.png‘);
figure(1);
imshow(I);
I=im2bw(I);
[L?num]?=?bwlabel(I);
STATS1=regionprops(L‘Perimeter‘);?
ahe=size(STATS1);
figure(2);
imshow(I);
m1=ahe(11);
m=zeros(2m1);?
for?i=1:m1
?[pq]=find(L==i);
?temp=[pq];?
?[xy]=size(temp);
?m(1i)=sum(p)/x;
?m(2i)=sum(q)/x;
end
for?i=1:m1
?figure(2);
text(m(2i)m(1i)int2str(i)‘color‘‘red‘);
end
L(L~=3&L~=2)=0;?
figure(3);imshow(L);



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

?????文件??????33193??2018-08-29?07:31??Segmentation?annotation\1.jpg

?????文件???????8469??2018-10-18?09:13??Segmentation?annotation\2.png

?????文件????????442??2018-10-19?13:33??Segmentation?annotation\Segmentation_annotation.m

?????目錄??????????0??2018-10-19?13:33??Segmentation?annotation

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

????????????????42104????????????????????4


評論

共有 條評論