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

1 view (last 30 days)
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.

Answers (1)

Sean de Wolski
Sean de Wolski on 22 Jul 2015
  2 Comments
sara
sara on 22 Jul 2015
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
belaynesh chekol
belaynesh chekol on 6 Dec 2017
Sara, did you manage to solve this problem? I really need your help if you did it already.
Thank you in advance.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!