GetModalityLUTData method (ILEADDicomDS Interface)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

short GetModalityLUTData(VARIANT* pData, long lFlags);

Overview

Refer to LUT Encoding.

Remarks

The GetModalityLUTData method retrieves the "LUT Data" (0028,3006) under the "Modality LUT Sequence" (0028,3000).

Before calling this method you need to call the GetModalityLUTAttributes method and check the IsModalityLUTSequence property to see if a "Modality LUT Sequence" exists in the DICOM Data Set or not.

The method retrieves the LUT Data as a one-dimensional safearray of long values (VT_ARRAY | VT_I4).

See Also

Elements:

GetModalityLUTAttributes method, SetModalityLUT method

Topics:

Lookup Tables