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

2 Ansichten (letzte 30 Tage)
Mathew Thomas
Mathew Thomas am 11 Apr. 2017
Kommentiert: Mathew Thomas am 11 Apr. 2017
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!

Akzeptierte Antwort

Image Analyst
Image Analyst am 11 Apr. 2017
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 Kommentar
Mathew Thomas
Mathew Thomas am 11 Apr. 2017
Thanks IA, I overlooked this function. It does exactly what I need.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by