how to remove unwanted region from binary image?
5 views (last 30 days)
Show older comments
Ahmed Mehar
on 4 Aug 2015
Commented: Ahmed Mehar
on 5 Aug 2015
I'm working on a project.I am finding a technique to remove unwanted regions (small dots) from binary image. I have an image that includes object and some unwanted region. I want to remove it. Hence, I use some morphological operator example 'close' to remove. But it is not perfect. Along Original image and Expected Image in this post. Thanks in advance.


0 Comments
Accepted Answer
Walter Roberson
on 4 Aug 2015
Convert your image to black and white. filter out the small areas. Multiply the result by the original image (a plane at a time) to remove the unwanted locations by setting them to 0.
More Answers (0)
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!