hiya all,
Is there a way to iterate through all tags in a DICOM file and get the tag id and value (as a string, for isntance) ?
i've looked at the code for dcmdump which prints out all tags, but the print() uses internal variable to the DcmDataset and DcmFileInfo class.
thx in advance
Iterate throught tags
Moderator: Moderator Team
-
- OFFIS DICOM Team
- Posts: 1445
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
thx,
found the link to this code frag, which was useful:
http://groups.google.com/group/comp.pro ... bbf5b91d0f
i get the string value from each tag but this breaks when it encounters FFFE, E000 (sequence tags)
is there a way to iterate throught the tags and avoid problems like this?
found the link to this code frag, which was useful:
http://groups.google.com/group/comp.pro ... bbf5b91d0f
i get the string value from each tag but this breaks when it encounters FFFE, E000 (sequence tags)
is there a way to iterate throught the tags and avoid problems like this?
Who is online
Users browsing this forum: Bing [Bot] and 1 guest