| [Top] [Up] [Prev] [Next] | [Up] [Basic Concepts] [Demonstrations] [Functions] | SDC Morphology Toolbox V1.1 15Jan02 |
y = mminfcanon( f, Iab, theta, DIRECTION ) f: Binary image (logical uint8). Iab: Interval. theta: Degrees of rotation: 45, 90, or 180. Default: 45.DIRECTION: String. 'CLOCKWISE' or ' ANTI-CLOCKWISE' Default: "CLOCKWISE".y: Binary image (logical uint8). mminfcanon creates the image y by computing intersections of transformations of the image f by inf-generating (i.e., dual of the hit-miss) operators. These inf-generating operators are characterized by rotations (in the clockwise or anti-clockwise direction) of theta degrees of the interval Iab.
function y=mminfcanon_equ( f, Iab, theta, DIRECTION )
y = ones(size(f));
y = mmintersec(y,mminfgen(f, Iab));
alpha = theta;
while alpha < 360
Irot = mminterot( Iab, alpha, DIRECTION );
y = mmintersec(y,mminfgen(f, Irot));
alpha = alpha + theta;
end; | [Top] [Up] [Prev] [Next] | [Up] [Basic Concepts] [Demonstrations] [Functions] |
|
| Copyright (c) 1998-2002 by SDC Information Systems | ||