-
Notifications
You must be signed in to change notification settings - Fork 164
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
add SimpleITK.Image to ANTsImage conversion #726
Conversation
dyollb
commented
Nov 8, 2024
- add helper function to get an ANTsImage from a SimpleITK.Image
- add test that does the roundtrip
I guess the coverage went down because the test doesn't run unless SimpleITK is installed. Should I install it in the CI? |
This looks very useful. We have other functions like from_numpy() so maybe we should name similarly, eg from_sitk(sitk image) and to_sitk(ANTsImage)? |
Update: I renamed the functions. |
This is shaping up, @dyollb would you mind editing |
This LGTM, thanks |