LEADTOOLS DICOM C DLL Help > Function References > L_DicomGetWaveformGroupCount |
#include "Ltdic.h"
L_LTDIC_API L_UINT32 L_DicomGetWaveformGroupCount(hDS)
HDICOMDS hDS; |
/* a DICOM handle */ |
Gets the number of waveform multiplex groups that are included in the dataset.
Parameter |
Description |
hDS |
A DICOM handle. |
Returns
Number of waveform multiplex groups included in the dataset.
Comments
In DICOM, a waveform consists of one or more multiplex groups, each encoded into an item in the "Waveform Sequence" (5400,0100). Use this function to retrieve the number of items under that sequence.
Once you know the total number of multiplex groups you can call L_DicomGetWaveformGroup to extract a specific group or L_DicomDeleteWaveformGroup to delete it.
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
Functions: |
L_DicomGetWaveformGroup, L_DicomDeleteWaveformGroup, L_DicomAddWaveformGroup |
Topics: |
Example
For an example, refer to L_DicomChannelSetSamples8.