Click or drag to resize

IMcDibAccessGetDisplayLut Method

Returns the current Display LUT as a 1-D array of Long.

Namespace:  MediaCy.IQL.Engine
Assembly:  MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
Syntax
VB
Function GetDisplayLut As Object

Return Value

Type: Object
the current Display LUT as a 1-D array of Long values, each one holding a packed RGBA value.
Remarks
A RGBA struct holds 4 bytes, one each for the Red, Green, Blue and Alpha LUT's, in that order. It maps onto a Long, which is how the result is returned (i.e., as a 1-dimensional array of type Long). If the SetDisplayLut call was passed an Empty variant, then the returned array will encode a linear ramp for each LUT channel. This will be of the required length for any integral pixel type (McImageType.PixelDataType equal mcpdtInteger) and it will be the of the minimum length (256) for floating point pixel types (McImageType.PixelDataType equal mcpdtFloat).
See Also