ClearImage


Sets image pixels in ROI to the specified value.

Syntax

C++
Python
 
def ClearImage(
	ioImage: Image,
	inValue: Pixel,
	/,
	*,
	inRegion: Region | None = None
)
-> None

Parameters

Name Type Default Description
Input will be modified ioImage Image
Input value inRegion Region | None None Input region
Input value inValue Pixel The new background color