RescalePixels_FixedRange
Transforms pixels value from given range into new one.
Syntax
C++
Python
def RescalePixels_FixedRange( inImage: Image, inMinValue: float, inMaxValue: float, inNewMinValue: float, inNewMaxValue: float, outImage: Image, /, *, inRoi: Region | None = None ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inImage | Image | Input image | |
![]() |
inRoi | Region | None | None | Range of pixels to be processed |
![]() |
inMinValue | float | Declared minimum value of input image | |
![]() |
inMaxValue | float | Declared maximum value of input image | |
![]() |
inNewMinValue | float | Desired minimum value of the resulting image | |
![]() |
inNewMaxValue | float | Desired maximum value of the resulting image | |
![]() |
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.


