You are here: Start » Filter Reference » Image Spatial Transforms » ResizeImage_AlongAxis
Module: | FoundationLite |
---|
Resizes an image to the desired length along one axis whilst keeping the aspect ratio constant.
Name | Type | Range | Description | |
---|---|---|---|---|
inImage | Image | Input image | ||
inNewLength | Integer | 1 - 65535 | ||
inAxis | Axis | |||
inResizeMethod | ResizeMethod | |||
outImage | Image | Output image |
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).
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Unsupported axis given in inAxis, only X and Y are supported in ResizeImage_AlongAxis. |
Complexity Level
This filter is available on Advanced Complexity Level.
Filter Group
This filter is member of ResizeImage filter group.