This figure illustrates the labeling of letters and words.
.
from morph import *
from Numeric import ones
A=mmdil(mmconcat('H',mmtext('One word'), mmtext('Labeling')), mmbinary(ones(2)))
L=uint8(mmlabel(A,mmsebox()))
mmshow(A)
mmlblshow(L)
Bw=mmsedisk(4)
mmshow(mmseshow(Bw,'expand'))
W=mmlabel(A,Bw)
mmlblshow(W)