Hello,
For using:
OFCondition performMoveSubOp (DIC_UI sopClass, DIC_UI sopInstance, char *fname)
I need both SOPClassUID & SOPInstanceUID (indeed only SOPClassUID seems to be
really needed for a correct transfer, as I can leave sopInstance parameter empty and
all seems to work fine).
Well.. I've the following information:
(0008,0016) UI =MRImageStorage # 26, 1 SOPClassUID
How do I transform =MRImageStorage into
the needed 1.2.840.10008.5.1.4.1.1.4?
Thanks!
Obtaining DICOM SOPClassUID
Moderator: Moderator Team
-
- Posts: 17
- Joined: Tue, 2006-05-09, 10:07
- Location: Málaga, Spain
- Contact:
-
- DCMTK Developer
- Posts: 2055
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: Obtaining DICOM SOPClassUID
Hi Juan Bravo,
I'm not sure whether I fully understood your problem, however I'll try to answer it
So if you use dcmdump output and feed some extracted attributes into your own code, you will have to do the translation yourself. It might help that in dcuid.h constants are defined for (e. g. ) all standard defined SOP Class Names. The constants are called UID_SopClassName, so for MRImageStorage the constant is called UID_MRImageStorage. You can use those UID constants instead of providing the corresponding UID string to the function in DCMTK.
Hope this answers your question,
Michael
I'm not sure whether I fully understood your problem, however I'll try to answer it
This seems to be a dcmdump output. Dcmdump uses the DCMTK-builtin dictionary and some defined constants in the toolkit to translate dictionary names, transfer syntaxes, UIDs etc. from the standard into a human readable form. The translation of UIDs in dcmdump cannot be disabled without modifying DCMTK code as I remember.Juan Bravo wrote: (0008,0016) UI =MRImageStorage # 26, 1 SOPClassUID
So if you use dcmdump output and feed some extracted attributes into your own code, you will have to do the translation yourself. It might help that in dcuid.h constants are defined for (e. g. ) all standard defined SOP Class Names. The constants are called UID_SopClassName, so for MRImageStorage the constant is called UID_MRImageStorage. You can use those UID constants instead of providing the corresponding UID string to the function in DCMTK.
Hope this answers your question,
Michael
-
- Posts: 17
- Joined: Tue, 2006-05-09, 10:07
- Location: Málaga, Spain
- Contact:
Who is online
Users browsing this forum: Baidu [Spider], Google [Bot] and 1 guest