How can I connect missing edge of a binary image?
2 次查看(过去 30 天)
显示 更早的评论
I want to use 'imfill()' function to fill the hole. But there are some small unconnected region in the hole(Please find the attached image). How to connect these unconnected holes?
![](https://www.mathworks.com/matlabcentral/images/broken_image.png)
Thanks!
0 个评论
回答(1 个)
Image Analyst
2018-1-29
Change (improve) your segmentation algorithm. For example, change the threshold. Otherwise, (only if that doesn't work) then you can try imclose().
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!