Wrapper for AFNI 3dAllineate function
afni_3dAllineate(file, fixed, cost = c("hel", "ls", "mi", "crM", "nmi",
"crA", "crU"), interpolator = c("linear", "cubic", "NN", "quintic"),
final_interpolator = c("cubic", "linear", "NN", "wsinc5", "quintic"),
typeOfTransform = c("affine_general", "shift_only", "shift_rotate",
"shift_rotate_scale"), outfile = NULL, retimg = TRUE, opts = "",
...)
allineate(...)nifti object or NIfTI filename to register to fixed image
nifti object or NIfTI filename of fixed image, target of registration
cost function that defines the matching between the file and the fixed image ls= Least Squares [Pearson Correlation]
mi = Mutual Information [H(b)+H(s)-H(b,s)]
crM = Correlation Ratio (Symmetrized*)
nmi = Normalized MI [H(b,s)/(H(b)+H(s))]
hel = Hellinger metric
crA = Correlation Ratio (Symmetrized+)
crU = Correlation Ratio (Unsym)
interpolation method to use during matching process NN - nearest neighbor.
interpolation used to create the
output dataset. wsinc5 - weighted sinc interpolation method
transformation to use for registration shift_only - 3 parameters
shift_rotate - 6 parameters
shift_rotate_scale - 9 parameters
affine_general - 12 parameters
Output filename (should not have an extension)
Should an image be returned (TRUE) or a filename?
Additional options passed to 3dAllineate
additional arguments to afni_3dAFNItoNIFTI
Output filename of the brik