←Select platform

SetVoiLut Method

Summary

Sets the attributes that describe the VOI LUT.

Syntax

C#
VB
Java
WinRT C#
C++
public void SetVoiLut( 
   int index, 
   DicomVoiLutAttributes attributes, 
   int[] data 
) 
Public Sub SetVoiLut( _ 
   ByVal index As Integer, _ 
   ByVal attributes As Leadtools.Dicom.DicomVoiLutAttributes, _ 
   ByVal data() As Integer _ 
)  
public void SetVoiLut(  
   int index, 
   Leadtools.Dicom.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, 
   Leadtools.Dicom.DicomVoiLutAttributes^ attributes, 
   array<int>^ data 
)  

Parameters

index
The zero-based index of the VOI LUT to set. According to the DICOM standard, one or more items could exist under one VOI LUT Sequence (0028,3010); use this index to specify which item to update.

attributes
The VOI LUT attributes to set.

data
Pointer to the buffer that holds the "LUT Data" (0028,3006) to set. This pointer cannot be null.

Remarks

The size of the data buffer should at least equal the number of entries in the lookup table. According to the DICOM standard, 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.

Example

For an example, refer to VoiLutCount.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly