Operating system: Linux (OpenSUSE 15.4)
Slicer version: 5.2.1
Expected behavior: Scalar Type of imported RT dose should float
Actual behavior: Scalar Type of imported RT dose is unsigned int
When I import a radiation treatment plan produced by Varian Eclipse (Image, RTPLAN, RTSTRUCT, and RTDOSE. All in DICOM format.), then the RTDOSE file is of type float, and the Dose Volume Histogram (DVH) module (SlicerRT) works as expected. Then I create a child study and place an imported RT dose file in the child study tree. The RT dose has the same content as the one produced by Eclipse; only the Pixel Data and Dose Grid Scaling are taken from TOPAS simulations. In this case, however, the dose volume is not converted to float and rescaled. The conversion to RT Dose Volume does not change the data. The DVH module then generates histograms based on the unsigned int representation (max dose about 1E6 Gy).
Is this an expected behavior? Do I do something wrong?
As a workaround, I use the Cast Scalar Volume module to change unsigned int to float and the Dose Accumulation (SlicerRT) module to apply the Dose Grid Scaling factor. The dose volume then contains doses in Gy (max dose about 50 Gy), and the DVH module produces correct histograms. I get what I want, but the method is laborious.