Hi,
Really new to DICOM and dcmtk and loving it. Anyways, I'm looking for a way to generate list of all the possible standard DICOM tags (tag as in a pair, group and element). Is there any simple way to do this with dcmtk without opening a DICOM file (ie: any tag factory or something like that)?
Thanks in advance...
Get a list of all DICOM tags
Moderator: Moderator Team
-
- OFFIS DICOM Team
- Posts: 1449
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
DCMTK maintains a dictionary of all standard tags known to DCMTK, which can be compiled into the application or loaded from a text file at application startup (or both). Look at class DcmDataDictionary in dcmdata/include/dcdict.h which offers iterators allowing you to iterate over all tags in the dictionary. There are access methods that allow you to retrieve tag, name, VR, VM range etc. of each of the tags.
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 1 guest