Hi ,
I am trying to extract radiomics from PET dicom. I converted the dicom to nrrd using two methods.
using slicer i saved the image and mask to nrrd
Using plastimatch i converted the dicom to nrrd.
When i run pyradiomics on the nrrds from slicer it works fine. but if i run pyradiomics on the plastimatch converted nrrds then radiomics extraction is going forever and hung.
Any idea if there is any difference between the plstimatch and slicer nrrds? Can you also describe how slicer converts to nrrd, what algorithm is used ?
Hmm. Not sure why that would be. Plastimatch nrrds are created using ITK and are always compressed. Maybe pyradiomics needs an uncompressed nrrd?
Anyway, if you open the nrrd files with a text editor, you can look at the ASCII header. This might help you to debug. Or if you post both headers here I can take a look.
ITK’s DICOM reader only works for simple Cartesian images (all slices are parallel, slice spacing is uniform, gantry is not tilted, etc.) and you may need to move all DICOM files into a different folder that do not belong to the series that you want to read.