Back to Adaptive Vision Library website

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


Header: AVL.h
Namespace: avl
Module: FoundationBasic

Creates Look Up Table for logarithm operation on image pixels.


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


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&


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.


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.