Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Discrepancy between nibabel's as_closest_canonical and FreeSurfer's mri_convert #518
Playing around orientations, I have an example image for which
So, I start with an image in IPL orientation and aligned with the standard axes. Using nibabel to read these parameters, I get exactly the same orientation code and affine.
If I use
So the centers of images would not match, and the image matrix axes have been reordered as well.
Why is this happening?
I don't know what algorithm
What happens if you resample the