This function applies a matrix from flirt
to other images
flirt_apply(
infile,
reffile,
initmat,
outfile = NULL,
retimg = TRUE,
reorient = FALSE,
intern = FALSE,
opts = "",
verbose = TRUE,
...
)
(character) input filename
(character) reference image to be registered to
(character) Matrix of transformation
(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