Leadtools.Dicom Namespace > DicomDataSet Class : SetVoiLut Method |
public void SetVoiLut( int index, DicomVoiLutAttributes attributes, int[] data )
'Declaration Public Sub SetVoiLut( _ ByVal index As Integer, _ ByVal attributes As DicomVoiLutAttributes, _ ByVal data() As Integer _ )
'Usage Dim instance As DicomDataSet Dim index As Integer Dim attributes As DicomVoiLutAttributes Dim data() As Integer instance.SetVoiLut(index, attributes, data)
public void SetVoiLut( int index, DicomVoiLutAttributes attributes, int[] data )
public void setVoiLut(int index, DicomVoiLutAttributes attributes, int[] data)
function Leadtools.Dicom.DicomDataSet.SetVoiLut( index , attributes , data )
public: void SetVoiLut( int index, DicomVoiLutAttributes^ attributes, array<int>^ data )
According to the DICOM standard, DicomVoiLutAttributes.NumberOfEntries 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 Data Set.