How to fill a dip at the edge of a binary image

1 回表示 (過去 30 日間)
Mathew Thomas
Mathew Thomas 2017 年 4 月 11 日
コメント済み: Mathew Thomas 2017 年 4 月 11 日
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!

採用された回答

Image Analyst
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().
  1 件のコメント
Mathew Thomas
Mathew Thomas 2017 年 4 月 11 日
Thanks IA, I overlooked this function. It does exactly what I need.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by