This function takes in an image, flips the image over the left/right plane, registers that flipped image to the original image, then applies the half transformation
mid_sagittal_align(
file,
outfile = NULL,
retimg = TRUE,
opts = "",
translation = TRUE,
force_rpi = TRUE,
verbose = TRUE
)
Filename of output or nifti depending on retimg
(character) input filename or class nifti
(character) output filename
(logical) return image of class nifti
(character) options passed to flirt
(logical) should the translation parameters be preserved (TRUE) or set to zero (FALSE)
Should rpi_orient_file
be
run?
(logical) print diagnostic messages