[mmhmax] [Up] [mminpos] | Connected Operators |
Implemented in Python.
f | Image Gray-scale (uint8 or uint16) or binary image.
Marker image. |
g | Image Gray-scale (uint8 or uint16) or binary image.
Conditioning image. |
bc | Structuring Element Structuring element ( connectivity). Default:
|
y | Image |
mminfrec creates the image
y
by an infinite number of recursive iterations (iterations until stability) of the dilation of
f
by
bc
conditioned to
g
. We say the
y
is the inf-reconstruction of
g
from the marker
f
. For algorithms and applications, see Vinc:93b.
def mminfrec(f, g, bc=None): from Numeric import product if bc is None: bc = mmsecross() n = product(f.shape) y = mmcdil(f,g,bc,n); return y
[mmhmax] [Up] [mminpos] | ![]() |
Copyright (c) 2003, Roberto A. Lotufo, UNICAMP-University of Campinas; Rubens C. Machado, CenPRA-Renato Archer Research Center. |