Back to Adaptive Vision Library website

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

CreateLogarithmLut


Creates Look Up Table for logarithm operation on image pixels.

Syntax

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

Parameters

Name Type Default Description
inScale Optional<const float&> NIL Scaling factor (default: 255)
inOffset float Offset factor
inNormalizeZero bool Specifies whether the output range should be rescaled to start from 0
inOutputType const PlainType::Type&
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.

See Also