Extract transform in right-anterior-superior coordinate system
Source:R/registration.R
extract_coregistration.RdExtract transform from 'ANTs' and moving image, save the transform matrices.
Value
A list of two matrices: new_sform is the new index to image
transform (see 'sform' in 'NIfTI' header definition). This is a
four-by-four matrix transforming from the voxel index (moving image) to the
fixed image 'RAS' coordinates. ras_transform is a four-by-four
matrix from the moving image to the fixed image in 'RAS' coordinates.