What is the right way for loading 3D dose volumes from jupyter kernel

Hi!

I’m doing an AI-based RT-project with Slicer, but I’ve been stuck on trying to find a way to load 3D dose images to the scene from jupyter kernel. I want to do some image registration/resampling recursively, but my main problem is that I’m not able to load 3D Doses from RT-DOSE dicom file to the slicers scene using loadVolume.

dose = glob.glob(os.path.join(patients[6], ‘RD*.dcm’))
propD = {‘name’:‘Dose’}
Doseimg = slicer.util.loadVolume(dose, propD)

LoadVolume works perfectly with CT stacks, but this is something that I haven’t been able to figure out by myself. Hope someone can help :slight_smile:

You must to load DICOM data objects using DICOM module. See examples in the script repository.