How to read all information in DICOM header

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
buiductoan
Posts: 24
Joined: Thu, 2013-01-10, 16:40

How to read all information in DICOM header

#1 Post by buiductoan »

I want to get all header information in DICOM file. My idea is get all Tag name in the DICOM file and use code

Code: Select all

fileformat.getDataset()->findAndGetOFString(DCM_SOPClassUID, patientsName).good()
To get it. But I don't know how to get all tag name in the dicom file. Other way, I can save tag name in the other file ex tagname.txt and after that I will read tag name in the file and it is input name for above function. But in the way, I don't like. Can you help me to do the first way which is get all tag in DICOM file by code?

yueran
Posts: 9
Joined: Wed, 2012-04-25, 08:57

Re: How to read all information in DICOM header

#2 Post by yueran »

DcmItem::nextInContainer

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest