CreateImageResizeMap
Creates a spatial map representing an image resizing.
Applications:Data preprocessing for fast image resize between two constant sizes. The result is used by RemapImage.
Syntax
C++
C#
Python
def CreateImageResizeMap( inImageFormat: ImageFormat, inNewWidth: int, inNewHeight: int, outResizeMap: SpatialMap, /, *, inInterpolationMethod: InterpolationMethod = InterpolationMethod.Bilinear, outOutputRegion: Region | None = None ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inImageFormat | ImageFormat | Information about dimensions, depth and pixel type of the image | ||
![]() |
inNewWidth | int | 1 - ![]() |
Width of an image created by output spatial map application | |
![]() |
inNewHeight | int | 1 - ![]() |
Height of an image created by output spatial map application | |
![]() |
inInterpolationMethod | InterpolationMethod | InterpolationMethod.Bilinear | Interpolation method used in extraction of image pixel values | |
![]() |
outResizeMap | SpatialMap | Output spatial map | ||
![]() |
outOutputRegion | Region | None | None | Pixels set by the spatial map application |



