Back to Aurora Vision Library website

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

CreateLogarithmLut


Header: AVL.h
Namespace: avl
Module: FoundationBasic

Creates Look Up Table for logarithm operation on image pixels.

Syntax

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

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