导读 建议看一下给的例子:你用imshow(BW),可以看错效果。BW=[1110000011101100111011001110001011100010111000101110011011100000];L=bwlabel(B...
建议看一下给的例子:你用imshow(BW),可以看错效果。
BW=[1110000011101100111011001110001011100010111000101110011011100000];L=bwlabel(BW,4)L=1110000011102200111022001110003011100030111000301110033011100000[r,c]=find(L==2);rc=[rc]rc=25352636。