[Top] [Up] [Prev] [Next] [Up] [Basic Concepts] [Demonstrations] [Functions] SDC Morphology Toolbox V1.1 15Jan02

mmthick - Image transformation by thickening.


Synopsis
y = mmthick( f, Iab, n, theta, DIRECTION )
Input
f: Binary image (logical uint8).
Iab: Interval. Default: Homotopic thickening interval (mmhomothick).
n: Non-negative integer. Number of iterations. Default: Infinite (-1).
theta: Degrees of rotation: 45, 90, or 180. Default: 45.
DIRECTION: String. 'CLOCKWISE' or ' ANTI-CLOCKWISE' Default: "CLOCKWISE".
Output
y: Binary image (logical uint8).
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

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
mmcthick - Image transformation by conditional thickening.
mmfreedom - Control automatic data type conversion.
mmhomothick - Interval for homotopic thickening.
mmse2hmt - Create a Hit-or-Miss Template (or interval) from a pair of structuring elements.
mmthin - Image transformation by thinning.

[Top] [Up] [Prev] [Next] [Up] [Basic Concepts] [Demonstrations] [Functions] Valid XHTML 1.0!
Copyright (c) 1998-2002 by SDC Information Systems