Name of SopClassUID

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Misi
Posts: 12
Joined: Wed, 2012-11-07, 09:31

Name of SopClassUID

#1 Post by Misi »

Hi folks,

as some of you might know, it is possible to get the name of a tag by using a method of DcmTag:

Code: Select all

DcmTag tag(aTagKey); //e.g. (0010,0010)
OFString name = tag.getTagName();  //e.g. "PatientName"
My Question is, is it also possible to get the names of SOPClassUIDs by using DCMTK? For example I have the UID "1.2.840.10008.5.1.4.1.1.1" and I want to get the appropriate string "Computed Radiography Image Storage".


Cheers,
MiSi

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

Re: Name of SopClassUID

#2 Post by J. Riesmeier »

The global function dcmFindNameOfUID() is your friend.

Post Reply

Who is online

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