Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Image » Image Spatial Transforms Maps » CreateImageRotationMap

CreateImageRotationMap


Module: Calibration

Creates a spatial map representing an image rotation.

Applications

Preprocessing data for fast image rotation by a constant angle. The result is used by RemapImage.
Name Type Description
inImageFormat ImageFormat Information about dimensions, depth and pixel type of the image
inAngle Real The angle of rotation
inSizeMode RotationSizeMode
inInterpolationMethod InterpolationMethod Interpolation method used in extraction of image pixel values
outRotationMap SpatialMap Output spatial map
outOutputRegion Region Pixels set by the spatial map application

Description

The operation generates map that describes rotation mapping. Dimensions of the resulting image depends on inSizeMode. 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. Usually creating map and then using RemapImage is faster than RotateImage. outOutputRegion return region, which can be calculated by RemapImage.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Complexity Level

This filter is available on Advanced Complexity Level.

See Also

  • RemapImage – Applies a precomputed image transform, defined by a spatial map object.