RescalePixels
Applies linear transformation to pixel values.
Syntax
C++
Python
def RescalePixels( inImage: Image, outImage: Image, /, *, inRoi: Region | None = None, inA: float = 1.0, inB: float = 0.0 ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inImage | Image | Input image | |
![]() |
inRoi | Region | None | None | Range of pixels to be processed |
![]() |
inA | float | 1.0 | Value multiplied |
![]() |
inB | float | 0.0 | Value added |
![]() |
outImage | Image | Output image |
Hardware Acceleration
This operation is optimized for SSE2 technology for pixels of types: UINT8, SINT8, SINT16, REAL.
This operation supports automatic parallelization for multicore and multiprocessor systems.


