L_DicomSetPaletteColorLUTAttributes

#include "ltdic.h"

L_LTDIC_API L_UINT16 L_DicomSetPaletteColorLUTAttributes(hDS, pPaletteColorLUTAttributes, uFlags)

HDICOMDS hDS;

/* a DICOM handle */

pDICOMPALCOLORLUTATTRIBS pPaletteColorLUTAttributes;

/* pointer to a Palette Color LUT attributes structure */

L_UINT uFlags;

/* reserved for future use */

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

Parameter

Description

hDS

A DICOM handle.

pPaletteColorLUTAttributes

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

uFlags

Reserved for future use. Pass 0.

Returns

DICOM_SUCCESS

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

Platforms

Win32, x64

See Also

Functions:

L_DicomGetPaletteColorLUTAttributes, L_DicomGetPaletteColorLUTData, L_DicomSetPaletteColorLUTData, L_DicomDeletePaletteColorLUT

Topics:

LUT Encoding Overview

 

LUT Encoding: Palette Color Table

Example

For an example, refer to L_DicomSetPaletteColorLUTData.