[mmcbisector] [Up] [mmcloseth] Residues

mmcloserecth
Close-by-Reconstruction Top-Hat.

Synopsis

y = mmcloserecth ( f , bdil = NullStrel, bc = NullStrel )

Input

f Image Gray-scale (uint8 or uint16) or binary image

bdil Structuring Element

(dilation)

Default: NullStrel (3x3 elementary cross)

bc Structuring Element

( connectivity)

Default: NullStrel (3x3 elementary cross)

Output

y Image Gray-scale (uint8 or uint16) or binary image

Description

mmcloserecth creates the image y by subtracting the image f of its closing by reconstruction, defined by the structuring elements bc and bdil.

Examples

a = mmreadgray('danaus.tif')
mmshow(a)
b = mmcloserecth(a,mmsebox(4))
mmshow(b)
a b

Equation

See also

mmfreedom Control automatic data type conversion.
mmopenrecth Open-by-Reconstruction Top-Hat.
mmcloseth Closing Top Hat.
mmsuprec Sup-reconstruction.
mmclose Morphological closing.
[mmcbisector] [Up] [mmcloseth]