| [Top] [Up] [Prev] [Next] | [Up] [Basic Concepts] [Demonstrations] [Functions] | SDC Morphology Toolbox V1.1 15Jan02 |
y = mmthick( f, Iab, n, theta, DIRECTION ) 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".y: Binary image (logical uint8). 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.
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; | [Top] [Up] [Prev] [Next] | [Up] [Basic Concepts] [Demonstrations] [Functions] |
|
| Copyright (c) 1998-2002 by SDC Information Systems | ||