Back to Adaptive Vision Library Lite website
You are here: Start » Image Point Transforms » AvsFilter_CorrectGamma
AvsFilter_CorrectGamma
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Performs gamma correction.
Syntax
void avs::AvsFilter_CorrectGamma ( AvsFilters_ImagePointTransformsState& ioState, const avl::Image& inImage, atl::Optional<const avl::Region&> inRoi, float inValue, avl::Image& outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioState | AvsFilters_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 | float | 0.01 - 8.0 | 2.0f | Gamma coefficient, where 1.0 is neutral | |
outImage | Image& | Output image |
Requirements
For input inImage only pixel formats are supported: int8, uint8, int16, uint16, int32.
Read more about pixel formats in Image documentation.
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.