Back to Adaptive Vision Studio website

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

CreateImageResizeMap


Module: Calibration

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.
Name Type Range Description
inImageFormat ImageFormat Information about dimensions, depth and pixel type of the image
inNewWidth Integer 1 - Width of an image created by output spatial map application
inNewHeight Integer 1 - Height of an image created by output spatial map application
inInterpolationMethod InterpolationMethod Interpolation method used in extraction of image pixel values
outResizeMap SpatialMap Output spatial map
outOutputRegion Region Pixels set by the spatial map application

Description

The operation generates map that stretches or shrinks the image. 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 ResizeImage.

Complexity Level

This filter is available on Advanced Complexity Level.

See Also

  • RemapImage – Applies a precomputed image transform, defined by a spatial map object.
  • ResizeImage – Enlarges or shrinks an image to new dimensions.