ROT Function

Standard Library function that rotates and magnifies (or demagnifies) a two-dimensional array.

Usage

Input Parameters

Returned Value

Keywords

Discussion

mag = 1 no change
mag 1 causes magnification
mag 1 causes demagnification


TIP: If you only need to rotate an image by 90-degree increments, the ROTATE function is more efficient to use.

TIP: If you need a more accurate bilinear interpolation method, use the ROT_INT function.

Example









Figure 2-97 Original image (left); rotated/demagnified image (right).

Figure 2-98 Original image (left); rotated/demagnified image (right).

See Also





doc@boulder.vni.com
Copyright © 1999, Visual Numerics, Inc. All rights reserved.