how to remove unwanted region from binary image?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Walter Roberson
2015-8-4
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!