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
)| file | (character) input filename or class nifti |
|---|---|
| outfile | (character) output filename |
| retimg | (logical) return image of class nifti |
| opts | (character) options passed to |
| translation | (logical) should the translation parameters be preserved (TRUE) or set to zero (FALSE) |
| force_rpi | Should |
| verbose | (logical) print diagnostic messages |
Filename of output or nifti depending on retimg