Extracting Values as text from Dicom File

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
dave
Posts: 67
Joined: Fri, 2004-11-05, 18:20
Location: Houston, Texas, USA

Extracting Values as text from Dicom File

#1 Post by dave »

We are trying to extract a small set of values from a dicom file. We have looked at the DCMTK executables, and have used dcm2xml.exe to examine all data within the file, but really we need only to grab a subset of tag values as text.

We have considered parsing the xml file from the output of dcm2xml for the values we need but thought we might ask first if there is another method to accomplish this task. :?:

Thanks to all at DICOM@OFFIS for a great set of tools.

dave

dave
Posts: 67
Joined: Fri, 2004-11-05, 18:20
Location: Houston, Texas, USA

#2 Post by dave »

:oops:

Well, Duh! dcmdump.exe does just this, doesn't it?

dave

Thomas Wilkens
DCMTK Developer
Posts: 117
Joined: Tue, 2004-11-02, 17:21
Location: Oldenburg, Germany
Contact:

#3 Post by Thomas Wilkens »

A snipplet of source code that shows you how to extract certain information from a DICOM file with DCMTK is available here (see first example).

Post Reply

Who is online

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