Applies an affine transformation with FLIRT then the warp image with FNIRT
fnirt_with_affine_apply(infile, reffile, flirt.omat = NULL,
flirt.outfile = NULL, fnirt.warpfile = NULL, outfile = NULL,
retimg = TRUE, reorient = FALSE, intern = FALSE, flirt.opts = "",
opts = "", verbose = TRUE, ...)
(character) input filename
(character) reference image to be registered to
(character) Filename of output affine matrix
(character) Filename of output affine-registered image
(character) Filename of warp image from
fnirt
(character) output filename
(logical) return image of class nifti
(logical) If retimg, should file be reoriented when read in?
Passed to readnii
.
(logical) pass to system
(character) additional options to FLIRT
(character) additional options to FNIRT
(logical) print out command before running
additional arguments passed to readnii
.
character or logical depending on intern
fnirt_with_affine