mid_sagittal_align: Mid-Sagittal Plane Alignment

Description Usage Arguments Value

View source: R/mid_sagittal_align.R

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

1
2
3
4
5
6
7
8
9
mid_sagittal_align(
  file,
  outfile = NULL,
  retimg = TRUE,
  opts = "",
  translation = TRUE,
  force_rpi = TRUE,
  verbose = TRUE
)

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

Value

Filename of output or nifti depending on retimg


neuroconductor-devel/fslr documentation built on May 6, 2021, 1:44 p.m.