convertAffine(affine, source, target, newType = c("niftyreg", "fsl"), currentType = NULL)
"nifti"
object representing the source image for the transformation."nifti"
object representing the target image for the transformation."niftyreg"
(which is believed to correspond to the convention used by the SPM software), and "fsl"
(for FSL FLIRT).newType
. If NULL
, the code attempts to determine the current type from the affineType
attribute of the matrix.affine
object provided, converted to the requested storage convention.readAffine
, writeAffine