Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
NIfTI: default back to sform in case of mismatch #1540
See discussion at http://community.mrtrix.org/t/inconsistent-qform-sform-on-nifti-image/1663/9
We should also discuss further about the possibility of zeroing the qform on write if it doesn't match the sform (should only happen for non-rigid transforms).
Also should add FAQ section in the docs about this.
- removed Analyze format handler, since already handled by NIfTI-1.1 - consolidated all operations into generic template class to share as much code as possible between NIfTI-1.1 and 2 handling.
OK, I reckon this one is good to go, if someone finds the time to have a look at it. Might need to double-check that I haven't borked anything up with all the changes to the NIfTI handling... Are there any known NIfTI validation sets that can be used for this...?