[mmThick] [Up] [mmWatershed] Thinning And Thickening

mmThin
Image transformation by thinning.

Synopsis

Image mmThin ( const Image& f , const Interval& Iab = NullInterval, const Double& n = -1, const Double& theta = 45, const String& DIRECTION = "CLOCKWISE" );

Input

f Image [ Binary image ]

Iab Interval

Default: NullInterval (mmhomothin)

n Double [ Non-negative integer. ]

Number of iterations.

Default: -1

theta Double

Degrees of rotation: 45, 90, or 180.

Default: 45

DIRECTION String

Direction of rotation: 'CLOCKWISE' or ' ANTI-CLOCKWISE'

Default: "CLOCKWISE"

Output

y Image [ Binary image ]

Description

mmThin creates the binary image y by performing a thinning of the binary image f. The number of iterations of the thinning is n and each iteration is performed by subtracting the points that are detect in f by hit-miss operators characterized by rotations of theta of the interval Iab. When n is infinite and the interval is mmHomothin (default conditions), mmThin gives the skeleton by thinning.

Equation

See also

mmCthin Image transformation by conditional thinning.
mmThick Image transformation by thickening.
mmEndpoints Interval to detect end-points.
mmHomothin Interval for homotopic thinning.
mmSe2hmt Create a Hit-or-Miss Template (or interval) from a pair of structuring elements.
[mmThick] [Up] [mmWatershed]