You are here: Start » AVL.NET » AVL.CreateLogarithmLut(float, float?, bool, AvlNet.PlainType, int, AvlNet.PixelLut)

AVL.CreateLogarithmLut(float, float?, bool, AvlNet.PlainType, int, AvlNet.PixelLut)

Creates Look Up Table for logarithm transformation.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void CreateLogarithmLut(
	float inOffset,
	float? inScale,
	bool inNormalizeZero,
	AvlNet.PlainType inOutputType,
	int inOutputDepth,
	out AvlNet.PixelLut outLut
)

Parameters

inOffset
Type: System.Single
inScale
Type: System.Nullable<System.Single>
inNormalizeZero
Type: System.Boolean
inOutputType
Type: AvlNet.PlainType
inOutputDepth
Type: System.Int32
outLut
Type: AvlNet.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 ImagePointTransforms category.

Errors

Error type Description
DomainError Unsupported output pixel type!

See also