Back to Adaptive Vision Studio website

You are here: 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


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.


Description of usage of this filter can be found in examples and tutorial: HMI Configuration Page, Image Modification Using the HMI, Using HMI multipanel control.

RotateImage performed on the sample image in Fit mode with inAngle = 20.0.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.


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.