How can I delete non-connected contour from binary image??
1 次查看(过去 30 天)
显示 更早的评论
I have binary image containing many contours, I need to delete discontinuous contours and keep those are connect.
回答(1 个)
Image Analyst
2017-11-28
Try bwselect(). Or bwareafilt() or bwpropfilt(). Or label it with bwlabel() and use some other criteria to identify the ones you don't want then use ismember.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!