ClipPixels


Sets pixels below the low value to the low value and above the high value to the high value.

Syntax

C++
Python
 
def ClipPixels(
	inImage: Image,
	outImage: Image,
	/,
	*,
	inRoi: Region | None = None,
	inLowValue: float | None = 64.0,
	inHighValue: float | None = 192.0
)
-> None

Parameters

Name Type Default Description
Input value inImage Image Input image
Input value inRoi Region | None None Range of pixels to be processed
Input value inLowValue float | None 64.0 The lower threshold for the image pixel values
Input value inHighValue float | None 192.0 The higher threshold for the image pixel values
Output value outImage Image Output image

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.