This figure illustrates the gray-scale filling holes operation.
.
from morph import *
f=mmneg(mmreadgray('pcb-gray.tif'));
g=mmclohole(f);
mmshow(f)
mmshow(g)