Start » Filter Reference » Image » Image Spatial Transforms » ShrinkImageNTimes
Module: | FoundationLite |
---|
Shrinks an image by a natural factor along each axis.
Name | Type | Range | Description | |
---|---|---|---|---|
inImage | Image | Input image | ||
inRoi | Box* | Range of pixels to be processed | ||
inNX | Integer | 1 - | ||
inNY | Integer* | 1 - | ||
outImage | Image | Output image |
Description
The operation shrinks the inImage reducing its dimensions by a natural factor.
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, SINT8, UINT16, SINT16, SINT32, REAL.
This operation is optimized for AVX2 technology for pixels of types: UINT8, SINT8, UINT16, SINT16, SINT32, REAL.
This operation is optimized for NEON technology for pixels of types: UINT8, SINT8, UINT16, SINT16, SINT32, REAL.
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 | ROI is out of inImage range in ShrinkImageNTimes. |
Complexity Level
This filter is available on Advanced Complexity Level.
See Also
- DownsampleImage – Shrinks an image by the factor of two along each axis.
- ResizeImage – Enlarges or shrinks an image to new dimensions.
- ResizeImage_Relative – Resizes an image by a factor along each axis.
- ShrinkRegionNTimes – Shrinks a region by a natural factor along each axis.
- ShrinkProfileNTimes – Reduces the length of a profile N-times by averaging each N consecutive elements.