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

1 visualizzazione (ultimi 30 giorni)
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?

Risposta accettata

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

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by