CorrectGamma


Performs gamma correction.

Applications:Image enhancement for human perception. For computer vision consider LogarithmImage.

Syntax

C++
Python
 
def CorrectGamma(
	inImage: Image,
	inValue: float,
	outImage: Image,
	/,
	*,
	inRoi: Region | None = None
)
-> None

Parameters

Name Type Range Default Description
Input value inImage Image Input image
Input value inRoi Region | None None Range of pixels to be processed
Input value inValue float 0.01 - 8.0 Gamma coefficient, where 1.0 is neutral
Output value outImage Image Output image

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.