[mmCthick] [Up] [mmCwatershed] Thinning And Thickening

mmCthin
Image transformation by conditional thinning.

Synopsis

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

Input

f Image [ Binary image ]

g Image [ Binary image ]

Iab Interval

Default: NullInterval (mmhomothin)

n Double [ Non-negative integer. ]

Number of iterations.

Default: -1

theta Double

Degrees of rotations: 45, 90, or 180.

Default: 45

DIRECTION String

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

Default: "CLOCKWISE"

Output

y Image [ Binary image ]

Description

mmCthin creates the binary image y by performing a thinning of the binary image f conditioned to the binary image g. The number of iterations of the conditional thinning is n and in each iteration the thinning is characterized by rotations of theta of the interval Iab.

Equation

See also

mmThin Image transformation by thinning.
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.
[mmCthick] [Up] [mmCwatershed]