Back to Aurora Vision Library website

You are here: Start » Function Reference » Image » Image Look Up Tables » CreateGammaCorrectionLut

CreateGammaCorrectionLut


Header: AVL.h
Namespace: avl
Module: FoundationBasic

Creates Look Up Table for gamma correction operation on image pixels.

Syntax

C++
C#
 
void avl::CreateGammaCorrectionLut
(
	const float inValue,
	const avl::PlainType::Type& inOutputType,
	avl::PixelLut& outLut
)

Parameters

Name Type Default Description
Input value inValue const float 2.0f
Input value inOutputType const PlainType::Type&
Output value outLut PixelLut&

Description

This operation will create LookUp Table with precalculated values of gamma correction on all pixel values of type defined in inOutputType. Such LUT can be reused across multiple ApplyPixelLut usages. This filter can create LUTs only for following types: INT8, UINT8, INT16, UINT16.

Remarks

Standard operations like PowerImage, CorrectGamma and LogarithmImage for images of type Int32 and Real are available in Image Point Transforms category.

See Also

  • ApplyPixelLut – Applies previously created Look Up transformation to provided image.
  • CreatePowerLut – Creates Look Up Table for power operation on image pixels.