LEADTOOLS DICOM C DLL Help > Function References > L_DicomGetOverlayCount |
#include "ltdic.h"
L_LTDIC_API L_UINT16 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
DICOM_SUCCESS |
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
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application |
Win32, x64, Linux.
See Also
Example
For an example, refer to L_DicomGetOverlayBitmap.