This function calls bet
to extract a brain
from an image, usually for skull stripping.
additional arguments passed to readnii
.
(character) output filename
(logical) return image of class nifti
(character) input filename
(logical) If retimg, should file be reoriented when read in?
Passed to readnii
.
(logical) pass to system
(character) additional options to bet
(character) Use bet
or bet2
function
(logical) print out command before running
character or logical depending on intern
Functions with underscores have different defaults and will return an output filename, so to be used for piping