[mmCloseth] [Up] [mmOpenrecth] Residues

mmGradm
Morphological gradient.

Synopsis

Image mmGradm ( const Image& f , const Strel& Bdil = NullStrel, const Strel& Bero = NullStrel );

Input

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

Bdil Structuring Element

for the dilation.

Default: NullStrel (3x3 elementary cross)

Bero Structuring Element

for the erosion.

Default: NullStrel (3x3 elementary cross)

Output

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

(same type of f).

Description

mmGradm creates the image y by the subtraction of the erosion of the image f by Bero of the dilation of f by Bdil.

Equation

See also

mmDil Dilate an image by a structuring element.
mmEro Erode an image by a structuring element.
[mmCloseth] [Up] [mmOpenrecth]