how to remove unwanted region from binary image?
조회 수: 5 (최근 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!