L_DicomGetOverlayCount

#include "ltdic.h"

L_UINT16 EXT_FUNCTION L_DicomGetOverlayCount(hDS, pCount)

HDICOMDS hDS;

/* a DICOM handle */

L_UINT * pCount;

/* variable which will be updated with the overlay count */

Gets the number of overlays in the DICOM dataset.

Parameter

Description

hDS

A DICOM handle.

pCount

Pointer to a variable to be updated with the overlay count.

Returns

0

The function was successful.

>0

An error occurred. Refer to Return Codes.

Comments

This function will return the number of overlays inside a DICOM dataset by counting the number of repeating groups in the range (6000-601E).

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_DicomGetOverlayAttributes, L_DicomGetOverlayActivationLayer, L_DicomGetOverlayBitmap, L_DicomGetOverlayBitmapList, L_DicomSetOverlayAttributes, L_DicomSetOverlayBitmap, L_DicomSetOverlayBitmapList, L_DicomDeleteOverlay

Topics:

Overlays Overview

 

Overlays

Example

For an example, refer to L_DicomGetOverlayBitmap.