LDicomDS::GetPaletteColorLUTAttributes

Summary

Retrieves the attributes that describe "Palette Color Lookup Table".

Syntax

#include "ltdic.h"

L_UINT16 LDicomDS::GetPaletteColorLUTAttributes (pPaletteColorLUTAttributes, uStructSize, uFlags)

Parameters

pDICOMPALCOLORLUTATTRIBS pPaletteColorLUTAttributes

Pointer to a structure to be updated with the "Palette Color Lookup Table" attributes.

L_UINT uStructSize

Size of the DICOMPALCOLORLUTATTRIBS structure. Pass sizeof(DICOMPALCOLORLUTATTRIBS).

L_UINT uFlags

Reserved for future use. Pass 0.

Returns

Value Meaning
0 The function was successful.
> 0 An error occurred. Refer to Return Codes.

Comments

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

Platforms

Win32, x64

See Also

Functions

Topics

Example

For an example, refer to LDicomDS::GetPaletteColorLUTData.

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

LEADTOOLS DICOM C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.