Reference for use of imfill

4 vues (au cours des 30 derniers jours)
Angela
Angela le 22 Oct 2018
Commenté : Angela le 22 Oct 2018
I have used the command
BW2 = imfill(BW,'holes')
for some of my code. I would like to know how this code works so that i have an idea what the program is doing. Does anyone know what the method/technique/procedure that imfill is using is called? Does anyone have a good reference for the method that Matlab is using for imfill?

Réponse acceptée

Walter Roberson
Walter Roberson le 22 Oct 2018
edit imfill
and look near line 125, "if do_fillholes"
  1 commentaire
Angela
Angela le 22 Oct 2018
thank you.

Connectez-vous pour commenter.

Plus de réponses (1)

madhan ravi
madhan ravi le 22 Oct 2018
See https://www.mathworks.com/help/images/ref/imfill.html example of filling holes is given clearly
  1 commentaire
Angela
Angela le 22 Oct 2018
thank you.

Connectez-vous pour commenter.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by