Available in LEADTOOLS Medical Imaging toolkits. |
LDicomDS::GetOverlayCount
#include "ltdic.h"
L_UINT16 LDicomDS::GetOverlayCount(pCount)
L_UINT * pCount; |
/* pointer to a variable */ |
Gets the number of overlays in the DICOM dataset.
Parameter |
Description |
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 |
Win32, x64
See Also
Example
For an example, refer to LDicomDS::GetOverlayBitmapList.