how to fill the vacancy in a binary image

13 visualizaciones (últimos 30 días)
Meggie Hwang
Meggie Hwang el 9 de Dic. de 2016
Comentada: Meggie Hwang el 10 de Dic. de 2016
hi there is a binary image how can I fill the vacancy(blue) in the yellow region?

Respuesta aceptada

Image Analyst
Image Analyst el 9 de Dic. de 2016
Use imfill():
binaryImage = imfill(binaryImage, 'holes');

Más respuestas (0)

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by