ComposeImages


Takes pixels from the first image within the specified region and from the other one elsewhere.

Syntax

C++
Python
 
def ComposeImages(
	inImage1: Image,
	inImage2: Image,
	inRegion: Region,
	outImage: Image,
	/,
	*,
	inRoi: Region | None = None
)
-> None

Parameters

Name Type Default Description
Input value inImage1 Image First source of pixels marked in inRegion
Input value inImage2 Image Background image
Input value inRegion Region Region which describes which pixels should be taken from inImage1
Input value inRoi Region | None None Region in which pixels should be processed otherwise black pixels are placed
Output value outImage Image Image composed of tho input images