Back to Adaptive Vision Studio website
You are here: Start » Filter Reference » Image Spatial Transforms » ResizeImage
Enlarges or shrinks an image to new dimensions.
Name | Type | Range | Description | |
---|---|---|---|---|
inImage | Image | Input image | ||
inNewWidth | Integer* | 1 - 65536 | ||
inNewHeight | Integer* | 1 - 65536 | ||
inResizeMethod | ResizeMethod | |||
outImage | Image | Output image |
Description
The operation stretches or shrinks the inImage so that the dimensions of the outImage equal inNewWidth, inNewHeight. Three modes of pixel interpolation are available, with Area mode giving best results, but being most computationally expensive.
Examples
Description of usage of this filter can be found in examples and tutorial: Dynamic Template Matching.
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Errors
This filter can throw an exception to report error. Read how to deal with errors here: Error Handling
Error type | Description |
---|---|
DomainError | Input and output images are not distinct in ResizeImage. |
DomainError | Output image is too big in ResizeImage. |
DomainError | Empty image on input in ResizeImage. |
Complexity Level
This filter is available on Basic Complexity Level.
Filter Group
This filters is member of ResizeImage filter group.