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.

Antworten (1)

doc imopen

2 Kommentare

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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Gefragt:

am 22 Jul. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by