This figure illustrates the gray-scale morphological reconstruction using the marker at a predefined location.
.
from morph import *
f=mmreadgray('bunch-seeds.jpg')
m=mmsubm(f,f)
m[141,310]=255
m=mmdil(m,mmsedisk(10))
g=mminfrec(m,f)
mmshow(mmunion(f,m))
mmshow(g)
mmshow(mmsurf(mmunion(f,m)))
mmshow(mmsurf(g))