how to remove unwanted region from binary image?

5 visualizaciones (últimos 30 días)
Ahmed Mehar
Ahmed Mehar el 4 de Ag. de 2015
Comentada: Ahmed Mehar el 5 de Ag. de 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.

Respuesta aceptada

Walter Roberson
Walter Roberson el 4 de Ag. de 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.
  1 comentario
Ahmed Mehar
Ahmed Mehar el 5 de Ag. de 2015
I already used this function but it's remove the text also.please help me to do this.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by