how to remove unwanted region from binary image?

조회 수: 5 (최근 30일)
Ahmed Mehar
Ahmed Mehar 2015년 8월 4일
댓글: Ahmed Mehar 2015년 8월 5일
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.

채택된 답변

Walter Roberson
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.
  댓글 수: 1
Ahmed Mehar
Ahmed Mehar 2015년 8월 5일
I already used this function but it's remove the text also.please help me to do this.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by