You are here: Start » Filter Reference » Image » Image Spatial Transforms » ResizeImage_Relative
Module: | FoundationLite |
---|
Resizes an image by a factor along each axis.
Name | Type | Range | Description | |
---|---|---|---|---|
inImage | Image | Input image | ||
inHorizontalScale | Real | 0.0 - 65535.0 | ||
inVerticalScale | Real | 0.0 - 65535.0 | ||
inResizeMethod | ResizeMethod | |||
outImage | Image | Output image |
Description
The operation stretches or shrinks the inImage so that its dimensions are scaled, accordingly, by the factor of inHorizontalScale, inVerticalScale. Two modes of pixel interpolation are available, the bilinear filtering being more precise and computationally expensive.
Examples
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
This operation is optimized for SSE2 technology for pixels of types: UINT8 (when inResizeMethod = Area), UINT16 (when inResizeMethod = Area), 3xUINT8 (when inResizeMethod = Area), 3xUINT16 (when inResizeMethod = Area).
This operation is optimized for AVX2 technology for pixels of types: UINT8 (when inResizeMethod = Area), UINT16 (when inResizeMethod = Area), 3xUINT8 (when inResizeMethod = Area), 3xUINT16 (when inResizeMethod = Area).
Complexity Level
This filter is available on Advanced Complexity Level.
Filter Group
This filter is member of ResizeImage filter group.
See Also
- ResizeImage – Enlarges or shrinks an image to new dimensions.