how to display 4 large connected components out of 20 in an image?
1 次查看(过去 30 天)
显示 更早的评论
how to display 4 large connected components out of 20 in an image?
回答(1 个)
Image Analyst
2015-12-10
There is no bwfilt() function that I've heard of. Use bwareafilt(). It does not care in the slightest where your binary image originated, like if it was from a medical image or some other image.
biggest4 = bwareafilt(binaryImage, 4);
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!