how to fill the vacancy in a binary image

3 visualizzazioni (ultimi 30 giorni)
hi there is a binary image how can I fill the vacancy(blue) in the yellow region?

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by