typedef struct tagDICOMPALCOLORLUTATTRIBS
{
L_UINT uStructSize;
DICOMLUTDESCRIPTOR RedLUTDescriptor;
DICOMLUTDESCRIPTOR GreenLUTDescriptor;
DICOMLUTDESCRIPTOR BlueLUTDescriptor;
L_TCHAR szUID[DICOM_VR_UI_LENGTH+1];
L_BOOL bIsSegmented;
} DICOMPALCOLORLUTATTRIBS, * pDICOMPALCOLORLUTATTRIBS;
This structure is used by the functions L_DicomGetPaletteColorLUTAttributes and L_DicomSetPaletteColorLUTAttributes to get and set the attributes that describe the "Palette Color Lookup Table".
The size of the structure (use sizeof (DICOMPALCOLORLUTATTRIBS)).
Value of the "Red Palette Color Lookup Table Descriptor" (0028,1101) element.
Value of the "Green Palette Color Lookup Table Descriptor" (0028,1102) element.
Value of the "Blue Palette Color Lookup Table Descriptor" (0028,1103) element.
Value of the "Palette Color Lookup Table UID" (0028,1199) element. The maximum length of this string is DICOM_VR_UI_LENGTH, which is defined as 64.
Flag that indicates whether "Palette Color Lookup Table Data" is segmented or not, this flag is set when "Segmented Red Palette Color Lookup Table Data" (0028,1221), "Segmented Green Palette Color Lookup Table Data" (0028,1222) and Segmented Blue Palette Color Lookup Table Data (0028,1223) exist in the DICOM dataset.
The members of this structure are based on the attributes of the "Palette Color Lookup Module". Please see "Palette Color Lookup Module" in the DICOM standard for more details.
According to the DICOM standard when the number of table entries under the "Palette Color Lookup Table" is equal to 2^16 then the value of LUTDescriptor.uNumberOfEntries shall be 0. However, the 2 functions, L_DicomGetPaletteColorLUTAttributes and L_DicomSetPaletteColorLUTAttributes, do NOT have this limitation. When you call L_DicomGetPaletteColorLUTAttributes it will automatically set the value to 0 inside the dataset if LUTDescriptor.uNumberOfEntries is equal to 2^16. The same applies to L_DicomSetPaletteColorLUTAttributes.
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