AddImages
Adds two images pixel by pixel.
Syntax
C++
Python
def AddImages( inImage1: Image, inImage2: Image, inScale: float, outImage: Image, /, *, inRoi: Region | None = None ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inImage1 | Image | First input image | |
![]() |
inImage2 | Image | Second input image | |
![]() |
inRoi | Region | None | None | Range of pixels to be processed |
![]() |
inScale | float | Output image scaling factor | |
![]() |
outImage | Image | Output image |
Hardware Acceleration
This operation is optimized for SSE2 technology for pixels of types: UINT8, SINT8, SINT16, REAL, SINT8(for inScale=1), UINT16(for inScale=1).
This operation is optimized for SSE41 technology for pixels of types: UINT16(for inScale!=1).
This operation is optimized for AVX2 technology for pixels of types: UINT8, SINT8, SINT16, UINT16, REAL.
This operation is optimized for NEON technology for pixels of types: UINT8, SINT8, UINT16, SINT16, REAL(for inScale!=1), SINT32(for inScale!=1).
This operation supports automatic parallelization for multicore and multiprocessor systems.


