Retrieves the "LUT Data" (0028,3006) for an item under the "VOI LUT Sequence" (0028,3010).
#include "ltdic.h"
L_UINT16 LDicomDS::GetVOILUTData(uVOILUTIndex, pLUTData, uDataSize, uFlags)
Index to the VOI LUT to be retrieved. 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 use in order to fill the pLUTData buffer. This index is zero-based.
Pointer to the buffer to be updated with the "LUT Data". You must allocate the buffer before calling this function, and the buffer must be large enough to hold the "LUT Data".
Size of the buffer pointed to by pLUTData.
Reserved for future use. Pass 0.
Value | Meaning |
---|---|
0 | The function was successful. |
> 0 | An error occurred. Refer to Return Codes. |
Before calling this function you must call LDicomDS::GetVOILUT to retrieve the attributes of the VOI LUT of the item for which you are trying to get the "LUT Data". You can then use pVOILUTAttributes.LUTDescriptor.uNumberOfEntries to determine the size of the pLUTData buffer passed to this function.
Win32, x64
For an example, refer to LDicomDS::SetVOILUT.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document