This figure illustrates the edgeoff operator.
.
from morph import *
A=mmreadgray('blob3.tif')
F=mmframe(A)
S=mminfrec(F,A,mmsebox())
Fs=mmunion(mmgray(F),mmgray(A,'uint8',150))
Sr=mmsubm(A,S)
mmshow(A)
mmshow(Fs)
mmshow(S)
mmshow(Sr)