-
Notifications
You must be signed in to change notification settings - Fork 102
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
[Bug] ITK ERROR: ITK only supports orthonormal direction cosines. No orthonormal definition found! (SimpleITK >= 2.1.0) #24
Comments
thanks for the detailed Issue, I'll fix the version of SimpleITK temporarily. Best, |
Indeed, I forgot to mention: this error was encounter on a private data set. Best, |
Hi @alexandreroutier , I updated the sitk version inside the requirements file for now. I'm planning to rerun the preprocessing of the official data sets sometime in the future and will check if the latest version of sitk creates any Issues there. If it goes well I will probably unlock it / bump to the latest version again. Best, |
Hi, same error here. It happens when I use the TorchIO library (that uses SimpleITK 2.1.1 internally). Cant change the SimpleITK version or the TorchIO wont work. Any solutions? |
Hi @pedrohbd, |
I know this is old, but it is still a problem in simpleitk 2.2.0. After searching for a while, I realized the problem can stem from the A good resource to understand this better: https://brainder.org/2012/09/23/the-nifti-file-format/ |
@alexandreroutier the lower versions are not available, and still getting the same error. |
Hi @kabbas570, Which version of Python are you using? On my side, it was Python 3.7 / 3.8 and this workaround is working well so far. Maybe this can help with your specific installation. In the meantime, it seems by the message of @malteekj on SimpleITK/SimpleITK#1433 that the error may still exist in latest version of SimpleITK. Best, |
@alexandreroutier thanks for your reply; I am using Python 3.9.7. Yes, it still exists, which limits the usage of SimpleITK for . nii files. |
This error does not occur anymore for SimpleITK version 2.2.1 (tested with Python 3.10). I upgraded from 2.1.1.2 as I described in issue MIC-DKFZ/HD-BET#25 |
I'm actually experiencing the same issue with version 2.2.1 on Python 3.10:
|
I wish I could double-check the versions I specified, but, unfortunately, I don't have the data anymore to reproduce this issue. |
Hi there, I have the same problem. My environment is python 3.8.11, SimpleITK 2.2.1. |
This seems to be fixed when I moved from Simple ITK 2.2.0 to 2.2.1 (under Python 3.8.3). |
For those locked at py 3.6, you can try downgrading to v2.0 ( |
In Simple ITK version 2.1.1.1 and 2.1.1, the following error occurred. |
In Simple ITK version 2.1.1.1 , the same error occurred. |
Hi, I got the same problem. Did you solve it? |
It's been awhile since I last looked at this.
|
I replace my package,and using pip install SimpleITK==2.0.2. It works |
Hello everyone,
Thanks for this great tool :)
💀 Bug
When using
nndet_prep [task] --full-check
command, the following error occured:This was noticed with the nnUNet framework when mixing different versions of SimpleITK an issue was raised (SimpleITK/SimpleITK#1433).
When using SimpleITK 2.0.2, this error does not occur. This seems to be due to recent changes with ITK when handling Nifti headers (see InsightSoftwareConsortium/ITK#2674 for further details and ongoing conversation).
I would think that freezing SimpleITK to
SimpleITK < 2.1.0
would temporarily solve the issue.Best
Environment
Environment Information:
The text was updated successfully, but these errors were encountered: