L_DicomGetVOILUTCount

#include "ltdic.h"

L_LTDIC_API L_UINT16 L_DicomGetVOILUTCount(hDS, pCount)

HDICOMDS hDS;

/* a DICOM handle */

L_UINT * pCount;

/* address of the variable to be updated */

Gets the number of items under the VOI LUT sequence (0028,3010).

Parameter

Description

hDS

A DICOM handle.

pCount

Pointer to a variable to be updated with the number of items under the VOI LUT sequence.

Returns

0

The function was successful.

>0

An error occurred. Refer to Return Codes.

Comments

This function will get the number of items under the VOI LUT sequence (0028,3010). If this sequence does not exist in the dataset, this function will return DICOM_SUCCESS and set *pCount to 0.

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_DicomGetWindowCount, L_DicomGetWindow, L_DicomSetWindow, L_DicomDeleteWindow, L_DicomGetVOILUT, L_DicomSetVOILUT, L_DicomGetVOILUTData, L_DicomDeleteVOILUT

Topics:

LUT Encoding Overview

 

LUT Encoding: VOI LUT

Example

For an example, refer to L_DicomSetVOILUT.