GetPaletteColorLUTData method (ILEADDicomDS Interface)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

short GetPaletteColorLUTData(VARIANT* pData, DicomPaletteColorLUTConstants PaletteColorLUTType, long lFlags);

Overview

Refer to LUT Encoding.

Remarks

The GetPaletteColorLUTData method retrieves the "Red", "Green", or "Blue" "Palette Color Lookup Table Data".

If the "Palette Color Lookup Table Data" is segmented, the method will decode the data before copying it to the safearray.

Before calling this method, you need to call the GetPaletteColorLUTAttributes method to see if a "Palette Color Lookup Table" exists in the DICOM Data Set or not.

The method retrieves the "Palette Color Lookup Table Data" as a one-dimensional safearray of long values (VT_ARRAY | VT_UI2).

See Also

Elements:

SetPaletteColorLUTData method, GetPaletteColorLUTAttributes method, SetPaletteColorLUTAttributes method, DeletePaletteColorLUT method

Topics:

Lookup Tables