The DICOM standard defines a UID for describing a hierarchy. This is top to bottom:
- Study UID - identifier of the study or scan session.
- The UID of the series is the same in the series obtained in one scan.
- Image UID - must be unique to any image.
A DICOM image saved by a standard compatible implementation should have all of these identifiers. If multiple images have the same SeriesUID, they are volumes (or time series) as defined in the standard. Some software, of course, is not up to standard, and you will have to look for other things, such as time stamps and patient position, but it is usually best to start by following the standard.
To streamline the series after its identification, GDCM (at the suggestion of malate) or dcmtkdicom are pretty well-established libraries.
source share