BlendImages


Computes weighted sum pixel by pixel.

Syntax

C++
Python
 
def BlendImages(
	inImage1: Image,
	inImage2: Image,
	inAmount1: float,
	inAmount2: float,
	outImage: Image,
	/,
	*,
	inRoi: Region | None = None
)
-> None

Parameters

Name Type Range Default Description
Input value inImage1 Image First input image
Input value inImage2 Image Second input image
Input value inRoi Region | None None Range of pixels to be processed
Input value inAmount1 float - -
Input value inAmount2 float - -
Output value 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.