This function calls fnirt
to register infile to reffile
and either saves the image or returns an object of class nifti
fnirt(
infile,
reffile,
outfile = NULL,
retimg = TRUE,
reorient = FALSE,
intern = FALSE,
opts = "",
verbose = TRUE,
...
)
(character) input filename
(character) reference image to be registered to
(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
(logical) print out command before running
additional arguments passed to readnii
.
character or logical depending on intern