AIM-Harvard / pyradiomics

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
http://pyradiomics.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
1.16k stars 500 forks source link

RuntimeError! When i try to extract features from my datasets, there are something wrong. #722

Closed cvcaiji closed 2 years ago

cvcaiji commented 3 years ago

how shoud i fix this error? I need help! >.<!

sitk::ERROR: Pixel type: 32-bit float is not supported in 4D by class itk::simple::NormalizeImageFilter.

JoostJM commented 2 years ago

PyRadiomics forces the datatype of the image to float. However, you input image is 4D and float is apparently not supported for the SimpleITK version you have installed. That said, 4D is also not supported for image input to PyRadiomics.

The solution would be to select the correct 3D volume.