how to fill the vacancy in a binary image

3 vues (au cours des 30 derniers jours)
Meggie Hwang
Meggie Hwang le 9 Déc 2016
Commenté : Meggie Hwang le 10 Déc 2016
hi there is a binary image how can I fill the vacancy(blue) in the yellow region?

Réponse acceptée

Image Analyst
Image Analyst le 9 Déc 2016
Use imfill():
binaryImage = imfill(binaryImage, 'holes');
  1 commentaire
Meggie Hwang
Meggie Hwang le 10 Déc 2016
thank you so much! It's work!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by