ImageGear for .NET
GetTableIndex(Int32) Method
See Also  Send Feedback
ImageGear21.Core Assembly > ImageGear.Core Namespace > ImGearFullLUT Class > GetTableIndex Method : GetTableIndex(Int32) Method




inputValue
LUT input value.

Glossary Item Box

Obtains index in the table corresponding to Int32 input value.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

inputValue
LUT input value.

Return Value

Integer number.

Remarks

This method returns table index corresponding to input value. If LUT input is signed, and input value is negative, table index is calculated as 2's complement to number of table entries. Otherwise, table index is equal to input value.

For example, if input depth is 12, and input value is -1, table index is 4096 - 1 = 4095.

See Also

©2013. Accusoft Corporation. All Rights Reserved.