DICOMPALCOLORLUTATTRIBS

Summary

This structure represents the attributes that describe the "Palette Color Lookup Table".

Syntax

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; 

Members

uStructSize

The size of the structure (use sizeof (DICOMPALCOLORLUTATTRIBS) )

RedLUTDescriptor

Value of the "Red Palette Color Lookup Table Descriptor" (0028,1101) element.

GreenLUTDescriptor

Value of the "Green Palette Color Lookup Table Descriptor" (0028,1102) element.

BlueLUTDescriptor

Value of the "Blue Palette Color Lookup Table Descriptor" (0028,1103) element.

szUID

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.

bIsSegmented

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.

Comments

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, LDicomDS::GetPaletteColorLUTAttributes and LDicomDS::SetPaletteColorLUTAttributes, do NOT have this limitation. When you call LDicomDS::GetPaletteColorLUTAttributes it will automatically set the value inside the dataset to 0 if LUTDescriptor.uNumberOfEntries is equal to 2^16. The same applies to LDicomDS::SetPaletteColorLUTAttributes.

Usage

Help Version 23.0.2024.7.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.