How to read DICOM images by their serie UID

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
va2
Posts: 2
Joined: Sat, 2009-06-06, 15:49

How to read DICOM images by their serie UID

#1 Post by va2 »

Hi all,

I have many DICOM images in one directory and I do not want to read them all but only read images of the same seirie UID.

Does anyone know related functions of DCMTK? Simple code example is appreciated. Thanks.

Michael Onken
DCMTK Developer
Posts: 2049
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

#2 Post by Michael Onken »

Hi,

unless you have a DICOMDIR file (index file) for all your images, you have to open them all and look for their Series Instance UID. The dcmdata example in the documentation shows how to do it, just replace DCM_PatientsName with DCM_SeriesInstanceUID.

Best regards,
Michael

va2
Posts: 2
Joined: Sat, 2009-06-06, 15:49

#3 Post by va2 »

This example is very helpful.
Thank you! :D

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest