#include "ltdic.h"
L_UINT16 LDicomDS::GetPaletteColorLUTAttributes (pPaletteColorLUTAttributes, uStructSize, uFlags)
Retrieves the attributes that describe "Palette Color Lookup Table".
Pointer to a structure to be updated with the "Palette Color Lookup Table" attributes.
Size of the DICOMPALCOLORLUTATTRIBS structure. Pass sizeof(DICOMPALCOLORLUTATTRIBS).
Reserved for future use. Pass 0.
Value | Meaning |
---|---|
0 | The function was successful. |
> 0 | An error occurred. Refer to Return Codes. |
This function will retrieve the attributes of the "Palette Color Lookup Table" and store their values in the structure pointed to by pPaletteColorLUTAttributes.
pPaletteColorLUTAttributes->uStructSize will be set to the value of the parameter uStructSize.
The function will fail and return DICOM_ERROR_LUT_DESCRIPTOR_MISSING if any of the following elements are missing from the DICOM dataset:
"Red Palette Color Lookup Table Descriptor" (0028,1101)," Green Palette Color Lookup Table Descriptor" (0028,1102) or "Blue Palette Color Lookup Table Descriptor" (0028,1103).
Required DLLs and Libraries
Win32, x64
For an example, refer to LDicomDS::GetPaletteColorLUTData.
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