how can i fill this competent?

1 visualización (últimos 30 días)
nadia
nadia el 7 de Oct. de 2016
Respondida: Massimo Zanetti el 7 de Oct. de 2016
I have a binary mask and I want to fill the hole but this hole is not connected. how can I do it?I attach this mask. thanks in advance.

Respuestas (1)

Massimo Zanetti
Massimo Zanetti el 7 de Oct. de 2016
Use morphological operator imdilate to dilate the boundary, and then imfill. See documentation to get insights.

Community Treasure Hunt

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

Start Hunting!

Translated by