getDeformationField(target, affine = NULL, controlPointImage = NULL,
jacobian = TRUE)"nifti" object representing the target image for the transformation."niftyreg" convention. Either this or a control point image must be specified."nifti" object representing the control points for a nonlinear transformation. Either this or an affine matrix must be specified.TRUE, a Jacobian determinant map is also calculated and returned."nifti" representing the deformation field."nifti" representing the Jacobian determinant map, if requested. Otherwise this element is not present.niftyreg.linear, niftyreg.nonlinear