Finding VR in case of Implicit VR encoding

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
AmKaizenn
Posts: 7
Joined: Thu, 2009-02-19, 16:29

Finding VR in case of Implicit VR encoding

#1 Post by AmKaizenn »

How can I know the VR type of an Implicit VR attribute if I know that group and element tag values? I guess there would be some method to get the VR using the data dictionary. I checked the DcmDictionary and related class. Isnt that really straightforward?

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier »

Use the DcmTag class for this purpose, e.g.

Code: Select all

DcmTag(0x0010,0x0010).getVRName();

AmKaizenn
Posts: 7
Joined: Thu, 2009-02-19, 16:29

#3 Post by AmKaizenn »

Thanks Jörg !!

Post Reply

Who is online

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