Problem with image segmentation

1 view (last 30 days)
Veronika
Veronika on 22 Mar 2017
Commented: Veronika on 23 Mar 2017
Dear all,
I have this code for segmentation, I have problem with this points (line):
I don´t know, why is this line on this place, because there isn´t some white place in binary image.
I don´t know, where is mistake. I attach my code and original image. Thank you for your answers.
  2 Comments
Rik
Rik on 22 Mar 2017
Maybe there are single pixels, which you could detect by first using imdilate with a relatively large structuring element. If that is the case, you can use bwareaopen to remove them.
Veronika
Veronika on 23 Mar 2017
Thank you, it works.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!