# Converting dosxyz output (.3ddose) to DICOM RT to be read in Pinncale and Eclipse

**URL:** <https://discourse.slicer.org/t/converting-dosxyz-output-3ddose-to-dicom-rt-to-be-read-in-pinncale-and-eclipse/14499>\
**Category:** Support\
**Tags:** dicom, file-export\
**Created:** [November 9, 2020, 3:04am UTC](https://discourse.slicer.org/t/converting-dosxyz-output-3ddose-to-dicom-rt-to-be-read-in-pinncale-and-eclipse/14499 "2020-11-09T03:04:17Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![LMI](https://avatars.discourse-cdn.com/v4/letter/l/3ec8ea/32.png) [@LMI](https://discourse.slicer.org/u/LMI)\
**Post date:** [November 9, 2020, 3:04am UTC](https://discourse.slicer.org/t/converting-dosxyz-output-3ddose-to-dicom-rt-to-be-read-in-pinncale-and-eclipse/14499/1 "2020-11-09T03:04:17Z")

</div>

Hello,  
I have a .3ddose file from dosxyx. I would like to convert it to Dicom format to import it to Pinnacle and Eclipse TPS. I loaded the dosxyz file in 3D Slicer and exported it as a Dicom file. But, it is not in the right format (Dicom RT). Also, I would like to scale the dose values so that I can compare it with the plan calculated by TPS. I’m not sure if there is any direct way to do this in 3DSlicer, Any thoughts?  
Thank you

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [November 9, 2020, 8:17am UTC](https://discourse.slicer.org/t/converting-dosxyz-output-3ddose-to-dicom-rt-to-be-read-in-pinncale-and-eclipse/14499/2 "2020-11-09T08:17:11Z")

</div>

Since you were able to load the 3ddose file you probably have SlicerRT installed, so that’s good. To export the volume to dose, you will need to

- Make sure you have a patient and study under which you have
- A CT or MR (unfortunately necessary), and the dose
- Right-click the dose in the Data module and choose Convert to dose volume. You will be able to set the scaling there as well

Let me know how it goes.

---

<div class="post-metadata">

**Author:** ![LMI](https://avatars.discourse-cdn.com/v4/letter/l/3ec8ea/32.png) [@LMI](https://discourse.slicer.org/u/LMI)\
**Post date:** [November 10, 2020, 1:42am UTC](https://discourse.slicer.org/t/converting-dosxyz-output-3ddose-to-dicom-rt-to-be-read-in-pinncale-and-eclipse/14499/3 "2020-11-10T01:42:12Z")

</div>

Thank you for your reply, I put the CT dicom images and the 3ddose file under a patient and a study. I right-clicked and did the scaling. For exporting, I selected the CT images, then the 3ddose file and selected the export type as RT.  
It gives the message that “Dicom dataset successfully exported to the DICOM database folder”. But, when I check the dicom files in the folder, they are series of CT images. It doesn’t contain dose (is not in RT format).  
Thanks

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [November 10, 2020, 8:22am UTC](https://discourse.slicer.org/t/converting-dosxyz-output-3ddose-to-dicom-rt-to-be-read-in-pinncale-and-eclipse/14499/4 "2020-11-10T08:22:49Z")

</div>

Can you post a screenshot of the Subject hierarchy tree right before you click Export to DICOM?

---

<div class="post-metadata">

**Author:** ![LMI](https://avatars.discourse-cdn.com/v4/letter/l/3ec8ea/32.png) [@LMI](https://discourse.slicer.org/u/LMI)\
**Post date:** [November 10, 2020, 12:44pm UTC](https://discourse.slicer.org/t/converting-dosxyz-output-3ddose-to-dicom-rt-to-be-read-in-pinncale-and-eclipse/14499/5 "2020-11-10T12:44:18Z")

</div>

![3DSlicer](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/b/ebbaaccad2c24d8a0782d5ae0699ee393126d684.png)

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [November 10, 2020, 1:19pm UTC](https://discourse.slicer.org/t/converting-dosxyz-output-3ddose-to-dicom-rt-to-be-read-in-pinncale-and-eclipse/14499/6 "2020-11-10T13:19:23Z")

</div>

Thanks, this looks good. To see which further step may be the problem, can you please also post a screenshot about the DICOM export window before clicking export, and attach the log (About / Report a problem, and make sure you select the correct session), the whole thing in a gist or just the last few entries here?

---

<div class="post-metadata">

**Author:** ![LMI](https://avatars.discourse-cdn.com/v4/letter/l/3ec8ea/32.png) [@LMI](https://discourse.slicer.org/u/LMI)\
**Post date:** [November 10, 2020, 10:02pm UTC](https://discourse.slicer.org/t/converting-dosxyz-output-3ddose-to-dicom-rt-to-be-read-in-pinncale-and-eclipse/14499/7 "2020-11-10T22:02:53Z")

</div>

![3dSlicer2](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/c/7/c7a09380f4a76832eb6839508179712e2641f660.png)

---

<div class="post-metadata">

**Author:** ![LMI](https://avatars.discourse-cdn.com/v4/letter/l/3ec8ea/32.png) [@LMI](https://discourse.slicer.org/u/LMI)\
**Post date:** [November 10, 2020, 10:04pm UTC](https://discourse.slicer.org/t/converting-dosxyz-output-3ddose-to-dicom-rt-to-be-read-in-pinncale-and-eclipse/14499/8 "2020-11-10T22:04:34Z")

</div>

and here is the log file, thank you!

[ERROR][Python] 10.11.2020 17:00:53 [Python] (/home/lalageh/Slicer-4.11.20200930-linux-amd64/lib/Slicer-4.11/qt-scripted-modules/SubjectHierarchyPlugins/SegmentEditorSubjectHierarchyPlugin.py:124) - Invalid current item  
[CRITICAL][Qt] 10.11.2020 17:00:53 [] (unknown:0) - virtual void qSlicerSubjectHierarchyRegisterPlugin::showContextMenuActionsForItem(vtkIdType) : Invalid current item  
[CRITICAL][Stream] 10.11.2020 17:00:53 [] (unknown:0) - Invalid current item  
[CRITICAL][Qt] 10.11.2020 17:00:58 [] (unknown:0) - void qSlicerSubjectHierarchyDICOMPlugin::openDICOMExportDialog() : Invalid current item

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [November 11, 2020, 11:10am UTC](https://discourse.slicer.org/t/converting-dosxyz-output-3ddose-to-dicom-rt-to-be-read-in-pinncale-and-eclipse/14499/9 "2020-11-11T11:10:39Z")

</div>

Instead of selecting the two series, please select the study.

---

<div class="post-metadata">

**Author:** ![LMI](https://avatars.discourse-cdn.com/v4/letter/l/3ec8ea/32.png) [@LMI](https://discourse.slicer.org/u/LMI)\
**Post date:** [November 12, 2020, 3:26am UTC](https://discourse.slicer.org/t/converting-dosxyz-output-3ddose-to-dicom-rt-to-be-read-in-pinncale-and-eclipse/14499/10 "2020-11-12T03:26:01Z")

</div>

Thank you!  
I selected the study this time, when I select the “Scalar Volume” for the export type, it creates two folders with a series of dicom images. It seems it is working.  
But when I select the export type as “RT”, it gives the same message that “DICOM dataset successfully exported to the DICOM database folder…” but it doesn’t create any dicom file. I’m not sure why

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [November 12, 2020, 6:19am UTC](https://discourse.slicer.org/t/converting-dosxyz-output-3ddose-to-dicom-rt-to-be-read-in-pinncale-and-eclipse/14499/11 "2020-11-12T06:19:03Z")

</div>

You might find the DICOM export user interface a bit more intuitive in the latest Slicer Preview Release. There you can either select a folder (then all DICOM files will be exported there); or you don’t select a folder and then files are exported to Slicer’s DICOM database (and then you can send the data set to a DICOM server or export to files later).

---

<div class="post-metadata">

**Author:** ![LMI](https://avatars.discourse-cdn.com/v4/letter/l/3ec8ea/32.png) [@LMI](https://discourse.slicer.org/u/LMI)\
**Post date:** [November 13, 2020, 2:43am UTC](https://discourse.slicer.org/t/converting-dosxyz-output-3ddose-to-dicom-rt-to-be-read-in-pinncale-and-eclipse/14499/12 "2020-11-13T02:43:30Z")

</div>

Thank you both! I tried with the Slicer-4.13.0-2020. It is working, it creates the DICOM RT file.  
When I import it to Eclipse, it just gives some errors:  
S002: (F) 2020/11/12 21:39:27.841 [21960] Mandatory element contains no data (Element: (0008,1155) ‘Referenced SOP Instance UID’)  
Not sure, if this is something that I can edit in 3DSlicer

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [November 13, 2020, 3:36am UTC](https://discourse.slicer.org/t/converting-dosxyz-output-3ddose-to-dicom-rt-to-be-read-in-pinncale-and-eclipse/14499/13 "2020-11-13T03:36:20Z")

</div>

@gcsharp could you have a look if this missing DICOM reference should be fixed in SlicerRT or in Plastimatch?

---

<div class="post-metadata">

**Author:** ![LMI](https://avatars.discourse-cdn.com/v4/letter/l/3ec8ea/32.png) [@LMI](https://discourse.slicer.org/u/LMI)\
**Post date:** [November 22, 2020, 10:19pm UTC](https://discourse.slicer.org/t/converting-dosxyz-output-3ddose-to-dicom-rt-to-be-read-in-pinncale-and-eclipse/14499/14 "2020-11-22T22:19:45Z")

</div>

Hello,

In addition to the missing DICOM reference, I have another problem in the Data module when I am scaling:  
If I type 3E-16 (or 0.0000000000000003) in the scaling box, It doesn’t work. It is limited. Any idea?

Thank you

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [November 23, 2020, 8:36am UTC](https://discourse.slicer.org/t/converting-dosxyz-output-3ddose-to-dicom-rt-to-be-read-in-pinncale-and-eclipse/14499/15 "2020-11-23T08:36:26Z")

</div>

The scaling parameter is not considered during export (see its absence in the [code](https://github.com/SlicerRt/SlicerRT/blob/master/DicomRtImportExport/Logic/vtkSlicerDicomRtImportExportModuleLogic.cxx#L2608-L2639)). I think the reason we did not add it, is that we use it for import, so if we import a dose then export it without changes, then scaling would be applied twice.  
If anyone has a good suggestion that would be welcome.
