You are here: Start » AVL.NET » AVL.CreateGammaCorrectionLut(float, AvlNet.PlainType, int, AvlNet.PixelLut)
AVL.CreateGammaCorrectionLut(float, AvlNet.PlainType, int, AvlNet.PixelLut)
Creates Look Up Table for image gamma correction.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void CreateGammaCorrectionLut( float inValue, AvlNet.PlainType inOutputType, int inOutputDepth, out AvlNet.PixelLut outLut )
Parameters
- inValue
- Type: System.Single
- inOutputType
- Type: AvlNet.PlainType
- inOutputDepth
- Type: System.Int32
- outLut
- Type: AvlNet.PixelLut
Description
This operation will create LookUp Table with precalculated values of gamma correction 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! |
