Problem with image segmentation
1 次查看(过去 30 天)
显示 更早的评论
Dear all,
I have this code for segmentation, I have problem with this points (line):
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/162010/image.jpeg)
I don´t know, why is this line on this place, because there isn´t some white place in binary image.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/162011/image.jpeg)
I don´t know, where is mistake. I attach my code and original image. Thank you for your answers.
2 个评论
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.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!