L_DicomGetWindowCount

#include "ltdic.h"

L_LTDIC_API L_UINT16 L_DicomGetWindowCount(hDS, pCount)

HDICOMDS hDS;

/* a DICOM handle */

L_UINT * pCount;

/* address of the variable to be updated */

Gets the number of values under the window center element.

Parameter

Description

hDS

A DICOM handle.

pCount

Pointer to a variable to be updated with the number of values under the window center.

Returns

0

The function was successful.

>0

An error occurred. Refer to Return Codes.

Comments

This function will get the number of values under the window center (0028,1050) element; this should also equal the number of values under the window width (0028,1051) element.

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:

L_DicomGetVOILUTCount, 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_DicomSetWindow.