Get all dicom tags on the dictionary

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
paolom
Posts: 169
Joined: Tue, 2008-09-16, 15:02

Get all dicom tags on the dictionary

#1 Post by paolom »

How can I get all of the dicom tags of the DCMTK??

I've the dicom.dic linked statically on the dcmtk.

Is there a static array or something else to obtain it?

J. Riesmeier
DCMTK Developer
Posts: 2505
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

#2 Post by J. Riesmeier »

With dcmDataDict.rdlock() you can get read access to the global data dictionary and then use the methods of class DcmDataDictionary to iterate over the entries. Don't forget to unlock() the data dictionary after you finished your work!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest