-
Notifications
You must be signed in to change notification settings - Fork 35
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
ITK bug in createJacobianDeterminantImage after upgrade #383
Comments
I'm not able to reproduce. And that ITK error looks wrong as it's missing several file types. You mention that you ugraded ANTsRCore and ANTsR but I don't see where you completely re-installed ITKR. You might want to try that for a possible fix. |
Sorry, yes ITKR also got reinstalled. And I would agree this is an ITK issue, except that antsImageRead seem to work fine with the same input. I will try to rebuild the ITKR cleanly one more and see if it fixes. |
"input", I assume, refers to the temporary warp file, |
it I used the hard coded path reported in the error, because I suspected the file got corrupted for some reason. |
Okay, just wanted to confirm as "input" was ambiguous and the antsImageRead call of the temp warp file is missing. I just tried it and wasn't able to reproduce the error:
|
This is what I am getting
Will try to rebuild ITKR from scratch |
Himm, this is what I did
successful build, but resulted in the same error. any other suggestions |
Is the error reproducible on a different machine? |
I am still getting the same error after building ITKR, ANTsCore, ANTsR via R CMD INSTALL with fresh clones from the primary repo on a new system. Any help will be greatly appreciated... |
I don't know. I'd have to explore a bit. If you can provide access, I can try to take a look later this week. |
just sent you an email with access information. |
Okay, I don't know why this is happening on your systems but the CMake magic that is supposed to register the IO factories is just not working when compiling ANTsR but not with ANTsRCore. That's why For now, a workaround is to manually add the required IO factories prior to calling
before line 40 of |
What a bizarre situation. Thank you very much for finding a workaround. Much appreciated |
A couple weeks ago I upgraded the ANTsR and ANTsCore to the latest version on GH via R CMD INSTALL method. Now I am getting this ITK error when I try to run createJacobianDeterminantImage at the warp image read step. This reproduces using the example code.
antsImageRead() works perfectly fine on this image, so it is not triggered due to file corruption
Here are the sessionInfo and other relevant things.
The text was updated successfully, but these errors were encountered: