Start » Filter Reference » Image » Image Spatial Transforms » RotateImage
Module: | FoundationLite |
---|
Rotates an image clockwise.
Name | Type | Description | |
---|---|---|---|
inImage | Image | Input image | |
inAngle | Real | Rotation angle (clockwise) | |
inSizeMode | RotationSizeMode | ||
inInterpolationMethod | InterpolationMethod | ||
inInverse | Bool | 'True' changes rotation to counter-clockwise | |
outImage | Image | Output image | |
outOutputAlignment | CoordinateSystem2D | Alignment of the output image |
Description
The operation rotates the inImage around its center. Dimensions of the resulting image depends on inSizeMode parameter. In 'Fit' mode size is extended to fit the rotated image. In 'Preserve' mode size of source image is left unchanged and part of rotated image may be lost. Two modes of pixel interpolation are available, the bilinear filtering being more precise and computationally expensive.
Examples
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Image dimensions too big in RotateImage. |
Complexity Level
This filter is available on Basic Complexity Level.