Back to Adaptive Vision Library Lite website

You are here: Start » Image Look Up Tables » CreatePowerLut

CreatePowerLut


Creates Look Up Table for power operation on image pixels.

Syntax

void avl::CreatePowerLut
(
	atl::real inValue,
	const avl::PlainType::Type& inOutputType,
	const int inOutputDepth,
	avl::PixelLut& outLut
)

Parameters

Name Type Range Default Description
inValue real 2.0f
inOutputType const PlainType::Type&
inOutputDepth const int 1 - 4 1
outLut PixelLut&

Description

This operation will create LookUp Table with precalculated values of power operation 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.

Errors

Error type Description
DomainError Unsupported output pixel type!

See Also