Skip to content
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

antsApplyTransforms allows -d 4 with a 3D warp field #1721

Closed
cookpa opened this issue Apr 11, 2024 · 2 comments
Closed

antsApplyTransforms allows -d 4 with a 3D warp field #1721

cookpa opened this issue Apr 11, 2024 · 2 comments

Comments

@cookpa
Copy link
Member

cookpa commented Apr 11, 2024

As reported in #1717

antsApplyTransforms -d 4 -r fixed.nii.gz -i moving.nii.gz -t antsregsyn_1Warp.nii.gz -o output.nii.gz --verbose

This will run without errors though the output will be wrong.

@cookpa
Copy link
Member Author

cookpa commented Apr 11, 2024

Actually I might have fixed this already in #1694, will check

@cookpa cookpa added the wontfix label Apr 11, 2024
@cookpa
Copy link
Member Author

cookpa commented Apr 11, 2024

OK confirmed, it still allows

antsApplyTransforms -d 4 -r fixed.nii.gz -i timeseries.nii.gz -t antsregsyn_1Warp.nii.gz -o output.nii.gz --verbose

where timeseries.nii.gz is 4D, but the warp is only 3D. But it only then outputs the first volume, so it will be obviously wrong.

@cookpa cookpa closed this as completed Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant