LerpImages
Interpolates two images linearly pixel by pixel.
Syntax
C++
Python
def LerpImages( inImage1: Image, inImage2: Image, outImage: Image, /, *, inRoi: Region | None = None, inLambda: float = 0.5 ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inImage1 | Image | First input image | ||
![]() |
inImage2 | Image | Second input image | ||
![]() |
inRoi | Region | None | None | Range of pixels to be processed | |
![]() |
inLambda | float | 0.0 - 1.0 | 0.5 | Interpolation between the input images where 0.0 value is equal to inImage1 and 1.0 to inImage2 |
![]() |
outImage | Image | Output image |
Hardware Acceleration
This operation is optimized for SSE2 technology for pixels of types: UINT8, SINT16, REAL.
This operation is optimized for AVX2 technology for pixels of types: UINT8, SINT16, REAL.
This operation is optimized for NEON technology for pixels of types: UINT8, SINT8, UINT16, SINT16, SINT32.
This operation supports automatic parallelization for multicore and multiprocessor systems.


