[mmasfrec] [Up] [mmhmin] | Connected Operators |
Implemented in Python.
f | Image Gray-scale (uint8 or uint16) or binary image. |
bdil | Structuring Element (dilation). Default:
|
bc | Structuring Element ( connectivity). Default:
|
y | Image Same type of
|
mmcloserec creates the image
y
by a sup-reconstruction ( with the connectivity defined by the structuring element
bc
) of the image
f
from its dilation by
bdil
.
def mmcloserec(f, bdil=None, bc=None): if bdil is None: bdil = mmsecross() if bc is None: bc = mmsecross() y = mmsuprec(mmdil(f,bdil),f,bc) return y
[mmasfrec] [Up] [mmhmin] | ![]() |
Copyright (c) 2003, Roberto A. Lotufo, UNICAMP-University of Campinas; Rubens C. Machado, CenPRA-Renato Archer Research Center. |