SetVOILUT method (ILEADDicomDS Interface)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

short SetVOILUT(long lVOILUTIndex, VARIANT Data, long lFlags);

Overview

Refer to LUT Encoding.

Remarks

The SetVOILUT method sets the attributes of a VOI LUT as specified by the VOILUTAttributes property and the Data parameter.

The passed safearray shouldn’t be empty and its size should be at least equal to the value specified by the LUTDescriptorNumberOfEntries property.

According to the DICOM standard, the LUTDescriptorNumberOfEntries property should be set to 0 if the number of entries in the lookup table is 2^16. However, you should NOT do that when calling this method. This method will handle correctly setting the value inside the dataset.

See Also

Elements:

VOILUTAttributes property, VOILUTCount property, GetVOILUTAttributes method, GetVOILUTData method, DeleteVOILUT method, SetWindowAttributes method

Topics:

Lookup Tables