How to fill a dip at the edge of a binary image
2 ビュー (過去 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 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!