Back to Adaptive Vision Library Lite website

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

CreateLogarithmLut


Creates Look Up Table for logarithm transformation.

Syntax

void avl::CreateLogarithmLut
(
	atl::real inOffset,
	const atl::Optional<atl::real>& inScale,
	bool inNormalizeZero,
	const avl::PlainType::Type& inOutputType,
	const int inOutputDepth,
	avl::PixelLut& outLut
)

Parameters

Name Type Range Default Description
inOffset real 1.0f
inScale const Optional<real>& NIL
inNormalizeZero bool
inOutputType const PlainType::Type&
inOutputDepth const int 1 - 4 1
outLut PixelLut&

Description

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