Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C++ Class Library Help

DICOMPALCOLORLUTATTRIBS

Show in webframe

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 LDicomDS::GetPaletteColorLUTAttributes and LDicomDS::SetPaletteColorLUTAttributes to get and set the attributes that describe the "Palette Color Lookup Table".

Member

Description

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.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.