SetPaletteColorLUTData method (ILEADDicomDS Interface)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

short SetPaletteColorLUTData(VARIANT Data, DicomPaletteColorLUTConstants PaletteColorLUTType, long lFlags);

Overview

Refer to LUT Encoding.

Remarks

The SetPaletteColorLUTData method sets the "Red", "Green", or "Blue" "Palette Color Lookup Table Data".

Before calling this method, you need to call the SetPaletteColorLUTAttributes method to set the attributes of the "Palette Color Lookup Table"; otherwise, the SetPaletteColorLUTData method will fail and return DICOM_ERROR_LUT_DESCRIPTOR_MISSING.

See Also

Elements:

GetPaletteColorLUTData method, SetPaletteColorLUTAttributes method, GetPaletteColorLUTAttributes method, DeletePaletteColorLUT method

Topics:

Lookup Tables