How to fill a dip at the edge of a binary image
1 次查看(过去 30 天)
显示 更早的评论
Hi All, I am trying to fill the following binary image to make it into a circle (not a perfect circle though, so trying to make into a circle using the centroid and max diameter provides results which are off a bit). The fact that it is at the edge of the binary object makes it challenging. Any pointers would be extremely useful. Thanks!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/162856/image.png)
0 个评论
采纳的回答
Image Analyst
2017-4-11
Not challenging at all since there's a function in the Image Processing Toolbox that will do that. Get the binary image, then call bwconvhull().
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!