fslrobustfov {fslr}R Documentation

FSL Robust Field of View

Description

This function calls robustfov to automatically crop the image

Usage

fslrobustfov(
  file,
  brain_size = NULL,
  mat_name = NULL,
  roi_name = NULL,
  retimg = TRUE,
  reorient = FALSE,
  intern = FALSE,
  verbose = TRUE,
  ...
)

fsl_robustfov(retimg = FALSE, ...)

Arguments

file

(character) image to be manipulated

brain_size

size of brain in z-dimension (default 150mm)

mat_name

matrix output name

roi_name

ROI volume output name

retimg

(logical) return image of class nifti

reorient

(logical) If retimg, should file be reoriented when read in? Passed to readnii.

intern

(logical) to be passed to system

verbose

(logical) print out command before running

...

additional arguments passed to readnii.

Value

If retimg then object of class nifti. Otherwise, Result from system command, depends if intern is TRUE or FALSE.


[Package fslr version 2.25.3 Index]