Hi,
I have used Slicer to extract radiomics features from CT scans with segmentation masks (for liver and spleen); one scan and mask at a time.
I want to know if I could do the same for a whole folder of multiple scans with their masks.
I don’t have good coding skills. I want to know if this is possible before I try to learn how to do this using a code outside Slicer.
Let me know if the question doesn’t make sense.
Thanks
Here’s what our chatbot says based on searching this forum. Looks like a reasonable answer:
claude_3_opus_botForum Helper
SearchSearch
Based on the search results, it looks like it is possible to extract radiomics features from multiple scans and segmentations in a batch mode in Slicer. A few key points:
- You can use the PyRadiomics extension in Slicer to do batch processing and extract features from multiple images and segmentations. See this post for an example of using the PyRadiomics CLI module for batch processing:
- Your input images and segmentations should be in a format like NRRD. You may need to convert from DICOM first. There are CLI modules in Slicer to convert DICOM to NRRD in a batch.
DICOM to NRRD conversion in command line (for PyRadiomics)
- There are various settings you can use to control the PyRadiomics feature extraction, like limiting to certain features, resampling, handling 2D/3D, etc. See posts like these for details:
Issue with 2D extraction and resampling
PET normalisation before Radiomics
So in summary, while it requires using the command line interface instead of the GUI, it is very possible to extract radiomics features from a batch of images and segmentations using Slicer and the PyRadiomics extension. Let me know if you have any other questions!
Hi
It is possible to run pyradiomics to do batch processing. I have written a code for it not yet published but i can upload on github coming monday.
Regards,
Saima