New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pyradiomics and extractor.execute cannot work for Indexerror #592
Comments
I'll have to investigate a bit further, but it appears that the discretization does not cast to integer datatype (needed to use gray levels as indices). I thought I changed that a while back, but I can't seem to find it, so maybe it got lost. I'll try to fix this asap (quite a simple fix really). If you want to try for yourself, go to |
thank you a lot! it works now~ |
The solution you provided unfortunately does not always solve the mentioned issue. If all possible gray levels are present in the discretized image, the A solution could be to in the glcm script, before the |
I'll write a second update to add the additional check |
Addressed by #602. |
Describe the bug
pyradiomics did not work for Indexerror.
PyRadiomics configuration
PyRadiomincs software was installed by run
python -m pip install pyradiomics
in Mac terminal.type in Mac terminal app:
pyradiomics brain1_image.nrrd brain1_label.nrrd
then, it stoped for Indexerror.
PyRadiomics log file
Version (please complete the following information):
Additional context
when I run it on my windows, it still reported the same error.
it seemed that
featureVector = extractor.execute(imageName, maskName)
did not workThe text was updated successfully, but these errors were encountered: