This PR makes changes to save spm transforms as itk, so as to use with ANTs and WarpDrive.
Logic for the conversion is inhelpers/ea_spm_fwd_displacement_field_to_ants.m (to transform the fwd spm to itk); and helpers/ea_slicer_invert_transform.m (to create the inverse).
The rest of the changes are integration, which should probably need revision.
This PR makes changes to save spm transforms as itk, so as to use with ANTs and WarpDrive.
Logic for the conversion is in
helpers/ea_spm_fwd_displacement_field_to_ants.m
(to transform the fwd spm to itk); andhelpers/ea_slicer_invert_transform.m
(to create the inverse).The rest of the changes are integration, which should probably need revision.
Leaving this PR open so can be reviewed.