This function calls robustfov
to
automatically crop the image
fslrobustfov(
file,
brain_size = NULL,
mat_name = NULL,
roi_name = NULL,
retimg = TRUE,
reorient = FALSE,
intern = FALSE,
verbose = TRUE,
...
)fsl_robustfov(retimg = FALSE, ...)
If retimg
then object of class nifti. Otherwise,
Result from system command, depends if intern is TRUE or FALSE.
(character) image to be manipulated
size of brain in z-dimension (default 150mm)
matrix output name
ROI volume output name
(logical) return image of class nifti
(logical) If retimg
, should file be reoriented when read in?
Passed to readnii
.
(logical) to be passed to system
(logical) print out command before running
additional arguments passed to readnii
.