Open-source python package for the extraction of Radiomics features from 2D and 3D images and binary masks. Support: https://discourse.slicer.org/c/community/radiomics
When conducting feature extraction using Pyradiomics, I encountered this error:
Exception thrown in SimpleITK Cast: /tmp/SimpleITK/Code/BasicFilters/src/sitkCastImageFilter.cxx:94:
sitk::ERROR: Filter does not support casting from casting 32-bit float to 32-bit unsigned integer
I then tried doing feature extraction without a configuration parameter file but encountered the same error.
Version (please complete the following information):
OS: Linux on Google Colab
Python version: 3.10.12
PyRadiomics version 3.0.1
SimpleITK version 2.2.1
Numpy version 1.22.4
Additional context
The image file was a PET image and the mask was a c1 segmentation file generated from SPM. The dimensions of the image and the mask match perfectly, and the mask contains
Sorry it was just a bug in my code. Instead of inputting the filename as a string, I used the list of filenames as input, resulting in the above error.
When conducting feature extraction using Pyradiomics, I encountered this error:
I then tried doing feature extraction without a configuration parameter file but encountered the same error.
To Reproduce Steps to reproduce the behavior:
Version (please complete the following information):
Additional context The image file was a PET image and the mask was a c1 segmentation file generated from SPM. The dimensions of the image and the mask match perfectly, and the mask contains