CreateImageRotationMap
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.
Syntax
C++
C#
Python
def CreateImageRotationMap( inImageFormat: ImageFormat, inAngle: float, outRotationMap: SpatialMap, /, *, inSizeMode: RotationSizeMode = RotationSizeMode.Fit, inInterpolationMethod: InterpolationMethod = InterpolationMethod.Bilinear, outOutputRegion: Region | None = None ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inImageFormat | ImageFormat | Information about dimensions, depth and pixel type of the image | |
![]() |
inAngle | float | The angle of rotation | |
![]() |
inSizeMode | RotationSizeMode | RotationSizeMode.Fit | |
![]() |
inInterpolationMethod | InterpolationMethod | InterpolationMethod.Bilinear | Interpolation method used in extraction of image pixel values |
![]() |
outRotationMap | SpatialMap | Output spatial map | |
![]() |
outOutputRegion | Region | None | None | Pixels set by the spatial map application |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.


