Does there exist a way to fill in an object that is not necessarily closed?

1 view (last 30 days)
I need to fill in an object in a binary image (say a blob), but lets say that this blob has a break in it, meaning that the shape is not necessarily closed (not that the shape is on the border of the image). Is there a way to fill in the object?

Accepted Answer

Image Analyst
Image Analyst on 6 Jun 2017
Yes, you can use bwconvhull(), activecontour(), imclose(), etc.

More Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!