how to draw rectangle for biggest labeled area in an image??
2 ビュー (過去 30 日間)
古いコメントを表示
i labeled an image using CC = bwconncomp(BW). and found the biggest area labeled using
numPixels = cellfun(@numel,CC.PixelIdxList);
[biggest,idx] = max(numPixels);
BW(CC.PixelIdxList{idx}) = 0;
now how can i put rectangle for biggest area??
0 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!