how can I remove lines which are one pixel thick in binary images?

Hi all
how can I remove Lines in binary images which are 1 pixel thick like this example?
I do that with FOR LOOP but I want to do with regionprops() FUNCTION . I'm not able to use MORFOLOGICAL OPERATION. plz help me.

Respuestas (1)

doc imopen

2 comentarios

thanks for your answer, But I want to use this technic for another images which I'm not able to use morphological operation.
I want to do with regionprops() FUNCTION. In fact I want to remove some binary noises with this Function.
thanks indeed sir
Sara, did you manage to solve this problem? I really need your help if you did it already.
Thank you in advance.

Iniciar sesión para comentar.

Categorías

Más información sobre Image Processing Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 22 de Jul. de 2015

Comentada:

el 6 de Dic. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by