ShrinkImageNTimes
Shrinks an image by a natural factor along each axis.
Syntax
C++
Python
def ShrinkImageNTimes( inImage: Image, outImage: Image, /, *, inRoi: Box | None = None, inNX: int = 2, inNY: int | None = None ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inImage | Image | Input image | ||
![]() |
inRoi | Box | None | None | Range of pixels to be processed | |
![]() |
inNX | int | 1 - ![]() |
2 | |
![]() |
inNY | int | None | 1 - ![]() |
None | |
![]() |
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, 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.



