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

mminterot - Rotate an interval


Synopsis
Irot = mminterot( Iab, theta, DIRECTION )
Input
Iab: Interval.
theta: Degrees of rotation. Available values are multiple of 45 degrees. Default: 45.
DIRECTION: String. 'CLOCKWISE' or ' ANTI-CLOCKWISE'. Default: "CLOCKWISE".
Output
Irot: Interval.
Description
mminterot rotates the interval Iab by an angle theta.
Limitation
It can rotate just intervals, whose extremities are subsets of the elementary square. The rotation angles allowed are multiples of 45 degrees.
Examples
b1 = mmendpoints;
b2 = mminterot(b1);
mmintershow(b1)

ans =
. . .
0 1 0
0 0 0 
mmintershow(b2)

ans =
0 . .
0 1 .
0 0 0 
Equation

equation

See Also
mmfreedom - Control automatic data type conversion.
mmintershow - Visualize an interval.
mmserot - Rotate a structuring element.

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