Back to Adaptive Vision Library Lite website

You are here: Start » Image Point Transforms Deprecated » CorrectGamma_Deprecated

CorrectGamma_Deprecated


Performs gamma correction.

Syntax

void avl::CorrectGamma_Deprecated
(
	ImagePointTransformsState& ioState,
	const avl::Image& inImage,
	atl::Optional<const avl::Region&> inRoi,
	atl::real inValue,
	avl::Image& outImage
)

Parameters

Name Type Range Default Description
ioState ImagePointTransformsState& Object used to maintain state of the function.
inImage const Image& Input image
inRoi Optional<const Region&> NIL Range of pixels to be processed
inValue real 0.01 - 8.0 2.0f Gamma coefficient, where 1.0 is neutral
outImage Image& Output image

In-place Processing

This function supports in-place data processing - you can pass the same reference to inImage and outImage

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.