.
from morph import *
A=mmreadgray('club.tif')
mmshow(A)
The structuring element does not contain the origin.
B=mmsetrans(mmsedisk(3),int32([14,-14]))
mmshow(mmseshow(B))
C=mmero(A,B)
mmshow(C)
Erosion is not a subimage.
AC=mmsymdif(mmgradm(A),C)
mmshow(AC)