-
Notifications
You must be signed in to change notification settings - Fork 11
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
Error with Nifti Images. #84
Comments
@umgpy We are working on this. Could you please provide the image and mask being used so we may verify the problem and solution? |
@nathanhillyer I may not be able to provide the image that I was using since it's part of our internal dataset, however I have replicated the error with the publicly available TCIA dataset. `# Run CoLlage Algorithm.Prepare full_images = collage.execute() Image shape = (240, 240, 155) IndexError Traceback (most recent call last) /usr/local/lib/python3.8/dist-packages/collageradiomics.py in execute(self) /usr/local/lib/python3.8/dist-packages/collageradiomics.py in calculate_haralick_textures(self, dominant_angles) IndexError: index 24 is out of bounds for axis 2 with size 24 ` |
@umgpy Thank you, we've corrected this issue on the latest version. Please run |
@nathanhillyer Thank you for the quick fix, I shall give it a try. |
Hi I was trying the collage module on the example jupyter notebook through the docker image. However on trying to pass a numpy array of a nifti image, collage.execute() results in an error. I am adding the error below, please let me know if anything more is required to replicate this error. Thanks
Error while calculating the collage features.
The text was updated successfully, but these errors were encountered: