LDicomDS::SetPaletteColorLUTAttributes

#include "ltdic.h"

L_UINT16 LDicomDS::SetPaletteColorLUTAttributes (pPaletteColorLUTAttributes,uFlags)

pDICOMPALCOLORLUTATTRIBS pPaletteColorLUTAttributes;

/* pointer to a structure */

L_UINT uFlags;

/* reserved for future use */

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

Parameter

Description

pPaletteColorLUTAttributes

Pointer to a structure containing the "Palette Color Lookup Table" attributes.

uFlags

Reserved for future use. Pass 0.

Returns

0

The function was successful.

> 0

An error occurred. Refer to Return Codes.

Comments

This function will set the attributes of the "Palette Color Lookup Table". Before calling this function, initialize pPaletteColorLUTAttributes ->uStructSize to be sizeof(DICOMPALCOLORLUTATTRIBS) and initialize all the members of the structure.

Required DLLs and Libraries

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

See Also

Functions:

LDicomDS::GetPaletteColorLUTAttributes, LDicomDS::GetPaletteColorLUTData, LDicomDS::SetPaletteColorLUTData, LDicomDS::DeletePaletteColorLUT, Class Members

Topics:

LUT Encoding Overview

 

LUT Encoding: Palette Color Table

 

How to Disable the Automatic Loading of the default DICOM IOD Table

Example

For an example, refer to LDicomDS::SetPaletteColorLUTData.