Reference for use of imfill

4 次查看(过去 30 天)
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?

采纳的回答

Walter Roberson
Walter Roberson 2018-10-22
edit imfill
and look near line 125, "if do_fillholes"

更多回答(1 个)

madhan ravi
madhan ravi 2018-10-22
See https://www.mathworks.com/help/images/ref/imfill.html example of filling holes is given clearly

标签

Community Treasure Hunt

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

Start Hunting!

Translated by