Learn R Programming

fslr (version 2.25.3)

mid_sagittal_align: Mid-Sagittal Plane Alignment

Description

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

Usage

mid_sagittal_align(
  file,
  outfile = NULL,
  retimg = TRUE,
  opts = "",
  translation = TRUE,
  force_rpi = TRUE,
  verbose = TRUE
)

Value

Filename of output or nifti depending on retimg

Arguments

file

(character) input filename or class nifti

outfile

(character) output filename

retimg

(logical) return image of class nifti

opts

(character) options passed to flirt

translation

(logical) should the translation parameters be preserved (TRUE) or set to zero (FALSE)

force_rpi

Should rpi_orient_file be run?

verbose

(logical) print diagnostic messages