How can I delete non-connected contour from binary image??
Show older comments
I have binary image containing many contours, I need to delete discontinuous contours and keep those are connect.
1 Comment
KSSV
on 28 Nov 2017
Pictorial example will help us to help you..
Answers (1)
Image Analyst
on 28 Nov 2017
0 votes
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.
Categories
Find more on Region and Image Properties in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!