[mmDil] [Up] [mmCenter] Dilations And Erosions

mmEro
Erode an image by a structuring element.

Synopsis

Image mmEro ( const Image& f , const Strel& b = NullStrel );

Input

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

b Structuring Element

Default: NullStrel (3x3 elementary cross)

Output

y Image

Description

mmEro performs the erosion of the image f by the structuring element b. Erosion is a neighbourhood operator that compairs locally b with f, according to an inclusion rule. Since erosion is a fundamental operator to the construction of all other morphological operators, it is also called an elementary operator of Mathematical Morphology. When f is a gray-scale image , b may be a flat or non-flat structuring element.

Equation

Flat structuring element:
Non-flat structuring element:
Where

See also

mmDil Dilate an image by a structuring element.
mmImg2se Create a structuring element from a pair of images.
mmSebox Create a box structuring element.
mmSecross Diamond structuring element and elementary 3x3 cross.
mmCero Erode an image conditionally.
mmDist Distance transform.
mmSesum N-1 iterative Minkowski additions

See also

mmDil Dilate an image by a structuring element.
mmSecross Diamond structuring element and elementary 3x3 cross.
mmCero Erode an image conditionally.
mmDist Distance transform.
[mmDil] [Up] [mmCenter]