[hofig3s15] [Up] [hofig3s17] Chapter 3 - Morphological Processing of Binary Images

hofig3s16
Filling holes

Description

This figure illustrates the filling holes operator.

Demo Script

.

from morph import *
A=mmreadgray('blob3.tif')
A=mmedgeoff(A)
A=mmgradm(A)
F=mmneg(mmframe(A))
S=mmsuprec(F,A,mmsebox())
Fs=mmero(F)
mmshow(A)
mmshow(F)
mmshow(S)
A F S

[hofig3s15] [Up] [hofig3s17] http://www.python.org