DRTDose cannot load the file which DcmFileFormat can

Questions regarding the DCMRT library, a DCMTK add-on that implements support for the various DICOM Radiation Therapy (RT) IODs

Moderator: Moderator Team

Post Reply
Message
Author
faisal.bmc
Posts: 1
Joined: Wed, 2017-05-10, 11:43

DRTDose cannot load the file which DcmFileFormat can

#1 Post by faisal.bmc » Wed, 2017-05-10, 12:32

I have a Dicom file with DICOM RT structures.

The file can be loaded by applications like Sante and can also be loaded by DcmFileFormat class when its loadFile function is called. However, when I try to use a DRTDose object to load the file by using its loadFile function, it complains the following:
E: Invalid value for attribute SOPClassUID (0008,0016)
Error: cannot load RT Dose object (Invalid Value)
The SOP Class UID, however has the value, 1.2.840.10008.5.1.4.1.1.2, which is, according to in the following link, a CT Image storage.
http://dicom.nema.org/Dicom/2013/output ... t_I.4.html

I was actually using the second example I got in the DCMTK documentation for DCMRT in the following link:
http://support.dcmtk.org/docs-snapshot/mod_dcmrt.html

In fact, I get the same issue for sample DICOM files with RT structure I found in the following link:
https://subversion.assembla.com/svn/sli ... bePhantom/

Am I missing something?

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

Re: DRTDose cannot load the file which DcmFileFormat can

#2 Post by J. Riesmeier » Mon, 2017-05-15, 09:42

The SOP Class UID, however has the value, 1.2.840.10008.5.1.4.1.1.2, which is, according to in the following link, a CT Image storage.
Of course, the DRTDose class can only read RT Dose objects and not CT Image, if this was the question.
In fact, I get the same issue for sample DICOM files with RT structure I found in the following link:
You mean RT Structure Set objects? See above.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest