[mmOpenth] [Up] [mmSkelmrec] Residues

mmSkelm
Morphological skeleton (Medial Axis Transform).

Synopsis

Image mmSkelm ( const Image& f , const Strel& B = NullStrel, const String& option = "binary" );

Input

f Image [ Binary image ]

B Structuring Element

Default: NullStrel (3x3 elementary cross)

option String

Choose one of: binary: output a binary image (medial axis); value: output a grayscale image with values of the radius of the disk to reconstruct the original image (medial axis transform).

Default: "binary"

Output

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

Description

mmSkelm creates the image y by computing the morphological skeleton by B of the image f, when option is BINARY. In this case, the pixels of value 1 in y are center of maximal balls (generated from B) included in f. This is also called Medial Axis. If option is VALUE, the non zeros pixels in y are the radius plus 1 of the maximal balls. This is called Medial Axis Transform or valued morphological skeleton.

Equation

See also

mmCbisector N-Conditional bisector.
mmThin Image transformation by thinning.
mmSkelmrec Morphological skeleton reconstruction (Inverse Medial Axis Transform).
[mmOpenth] [Up] [mmSkelmrec]