ResaturateImage
Sets pixels below the low value to minimum, above the high value to maximum, and interpolates the rest.
Syntax
C++
Python
def ResaturateImage( inImage: Image, outImage: Image, /, *, inRoi: Region | None = None, inLowValue: float = 64.0, inHighValue: float = 192.0 ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inImage | Image | Input image | |
![]() |
inRoi | Region | None | None | Range of pixels to be processed |
![]() |
inLowValue | float | 64.0 | The value that will be changed to minimum (usually 0) |
![]() |
inHighValue | float | 192.0 | The value that will be changed to maximum (usually 255) |
![]() |
outImage | Image | Output image |
Hardware Acceleration
This operation is optimized for SSE2 technology for pixels of types: UINT8, SINT16.
This operation supports automatic parallelization for multicore and multiprocessor systems.


