[mmswatershed] [Up] [mmthin] Thinning And Thickening

mmthick
Image transformation by thickening.

Synopsis

function y = mmthick ( f , Iab , n , theta , DIRECTION )

Input

f Image Binary image
Iab Interval

Default: Interval for homotopic thickening

n Double Non-negative integer.

Default: Infinite (denoted by -1)

Number of iterations.

theta Double

Default: 45

Degrees of rotation: 45, 90, or 180.

DIRECTION String

Default: 'CLOCKWISE'

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

Output

y Image Binary image

Description

mmthick creates the binary image y by performing a thickening of the binary image f. The number of iterations of the thickening is n and each iteration is performed by union of f with the points that are detected in f by the hit-miss operators characterized by rotations of theta degrees of the interval Iab.

Equation

Algorithm

function y = mmthick_equ( f, Iab, n, theta, DIRECTION )
  y = f;
  for i=1:n
    for alpha=0:theta:360-theta
      Iab = mminterot(Iab, alpha, DIRECTION);
      y = mmunion(y,mmsupgen(y,Iab));
    end;
  end; 

See also

mmfreedom Control automatic data type conversion.
mmcthick Image transformation by conditional thickening.
mmthin Image transformation by thinning.
mmhomothick Interval for homotopic thickening.
mmse2hmt Create a Hit-or-Miss Template (or interval) from a pair of structuring elements.
[mmswatershed] [Up] [mmthin]