[mmcloserecth] [Up] [mmgradm] Residues

mmcloseth
Closing Top Hat.

Synopsis

y = mmcloseth ( f , b = NullStrel )

Input

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

b Structuring Element

Default: NullStrel (3x3 elementary cross)

Output

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

(Same type of f).

Description

mmcloseth creates the image y by subtracting the image f of its morphological closing by the structuring element b.

Examples

a = mmreadgray('danaus.tif')
mmshow(a)
b = mmcloseth(a,mmsebox(5))
mmshow(b)
a b

Equation

See also

mmfreedom Control automatic data type conversion.
mmopenth Opening Top Hat.
mmcloserecth Close-by-Reconstruction Top-Hat.
mmgradm Morphological gradient.
mmclose Morphological closing.
[mmcloserecth] [Up] [mmgradm]