I send the links again. The first link is for voxel dose distribution, the second one is for 3D dose distribution.
https://drive.google.com/open?id=1joK-fOnqvwOIyTPEQg4I8CrH3hYJpakT
Indeed the geometry is not contained by these files. You will probably need to export them seperately as @Hamburgerfinger mentioned above.
The files otherwise seem to be straightforward to load, it should be easy to write an importer.
What do you mean by geometry, please? Is the geometry file (phantom) used for simulation? if so here is the link to it:
I think the easiest way to plot the DVH is by using the DICOM RT dose file. My idea is to use the original DICOM RT dose file and replace the dose distribution by the data obtained from MC simulation. By the way, I use for simulation the code Penelope/penEasy.
Is there a way to do that with Slicer, please?
So it looks like you have the ‘region labels’ in the left column, where you have 5 different regions defined (it looks like they have been defined by thresholding of CT data), see Labelmap.png, attached. Here 5 is red, 4 is magenta, 3
is blue, 2 is green, and 1 is yellow.
Then in the right column, you have the density in each voxel; see Density.png, attached.
So yes in principle this is the geometry you need to define as a segmentation in Slicer for DVH. One issue is, in your region label map, bone for instance mostly has a region label of ‘5’ but there are other non-bone structures that also
have this label; soft tissue mostly has a region label of ‘4’ but there are other non-tissue structures with this label also; etc. So you could use these regions for DVH, but there will be some error due to the other non-tissue structure with the same labels
in your dataset.
To fix this, you could import the data in the left column into Slicer as a segmentation, and edit it in the segment editor, and then use for DVH. Or you could import the density map (or, better, use the CT it was derived from) segment
the regions of interest, and use that for DVH.
Thank you very much for these explanation.
In fact the region of interest is a small volume in the soft tissue region defined in the DICOM files. I want to use this region for DVH. For that I want to convert my file to DICOM file.
If you have means to convert this to any type of file that can be read from Slicer (nrrd, nifti, mha, etc.), then your problem is solved. Otherwise a reader needs to be implemented for this file format.
Hello cpinter,
I just read the discussion. I am looking for an Viewer/ Reader which is able to handle .3ddose files from DOSXYZnrc. Is it possible to Import and visualize .3ddose files and maybe convert them to DICOM RT files for further comparisons in a Treatment planning system?
Kind regards, bode
Yes. Have the SlicerRT extension installed, drag&drop the 3ddose file onto Slicer, then do DICOM export as usual: https://www.slicer.org/wiki/Documentation/Nightly/Modules/DICOM#DICOM_export
That said you can do comparisons using SlicerRT. It has DVH and gamma comparison tools.
Hi everyone,
I have the 3ddose file from the Monte Carlo simulation. After that, I converted the 3ddose file to Dicom format.
My question is:
(1) with the same 3ddose, but the DVH plotted directly from the 3ddose differs from the DVH plotted from the Dicom format.
(2) The dose value in 3ddose is about 2.3716289e-18, but the DVH shows the value of the x-axis is from 0 to 60000. What is the unit of the x-axis?
Please describe exactly how you did this.
Also please check the scalar range of both dose volumes in the Volumes module. Maybe exporting trimmed or rescaled the scalars.
Hi Csaba Pinter,
Thank you for your response.
The 3ddose file was converted to RTdose.dcm and then I input the 3ddose and RTdose.dcm to Slicer RT and plot two DVHs. The DVH plotted from the 3ddose is about two times different with the DVH plotted from RTdose.dcm
How exactly? This was my first question.
Please also answer the second question about the scalar ranges.
Thanks! The scalar range as you can see is very different: (8, 61439) vs (4.067, 27853.7). You will need to revise the way you converted the volume to DICOM, but since you don’t provide details about how you did that I cannot help you there.
Convert result of the simulation to a .nrrd dose volume with ITK toolkit. Then Slicer will be able to read it
@Rafael_Scatena : Can you describe how this is done? Any hint would be appreciated.