Problem with image segmentation

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 件のコメント

Rik
Rik 2017 年 3 月 22 日
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 2017 年 3 月 23 日
Thank you, it works.

サインインしてコメントする。

回答 (0 件)

質問済み:

2017 年 3 月 22 日

コメント済み:

2017 年 3 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by