LUTTransformImage
Changes pixel values for data stored in array.
Syntax
C++
Python
def LUTTransformImage( state: LUTTransformImageState, inImage: Image, inColorPoints: list[int], inColors: list[Pixel], inComputeGradient: bool, outImage: Image, /, *, inRoi: Region | None = None ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
ioState | LUTTransformImageState | ||
![]() |
inImage | Image | Input image | |
![]() |
inRoi | Region | None | None | Range of pixels to be processed |
![]() |
inColorPoints | list[int] | Last pixel value in which corresponding color will be replaced. | |
![]() |
inColors | list[Pixel] | Colors corresponding to pixel levels defined in inColorPoints. | |
![]() |
inComputeGradient | bool | Compute the linear change of pixels colors between next palette colors. | |
![]() |
outImage | Image | Output image |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.



