Exporting multiple dose distributions to DICOM

Dear Slicer experts,

I am working with a research treatment planning system, and my CTs, as well as the dose distributions, are in the .nrrd format, and I need to convert them to DICOM.

So far I’ve been following the steps described here Convert image and segmentation to DICOM which worked wonderfully, and as an output I get a series of .dcm files for my CT, one file for contours, and one file for the dose distribution.

However, I am now producing several different dose distributions from one treatment plan, and I would like to export all of them to DICOM. If I repeat the steps described above and drag all my dose distributions under the same study and do Export, I still get only one RT Dose file in the destination folder.

Thus, I was wondering if there is any additional step required to have multiple dose distributions exported at once? Or there is no such option, and the only thing left to do is to repeat conversion for each of the dose file separately?

Many thanks in advance for your advice!

Operating system: Linux
Slicer version: 4.8.1 r26813

DICOM RT exporter probably assumes that there is only a single dose volume series per study. It may be either due to a limitation of Plastimatch (that SlicerRT uses for DICOM export) or it is implemented like this in SlicerRT because this need has not come up before.

@gcsharp can Plastimatch export multiple dose volumes series in a single study?

As far as I remember, the exporter expects a CT, dose, RTSS triplet and there needs to be exactly one of each.

Do you mean the exporter in Plastimatch requires this triplet or the exporter in Slicer?
If it is a limitation in Plastimatch then @gcsharp would need to improve the API before the feature can be added in Slicer.

It is a limitation in Plastimatch (that said the implementation in Slicer also would have to be improved a bit if this was added in Plastimatch).

I just checked the code. This single object passing is there at the lowest levels as well. This is how we pass the dose volume to the writer in SlicerRT:

And this is how the Plastimatch writer uses it:

A single CT / RTSS / dose object all along the way.

1 Like