Wrapper for AFNI 3dAutomask
function
afni_3dAutomask(file, mfrac = 0.5, gradual_clipping = TRUE,
n_peels = 1, n_neighbors = 17, outfile = NULL, retimg = TRUE,
opts = "", ...)
Automask(...)
automask(...)
file | nifti object or NIfTI filename. If more than one is given,
they are given names of the letters up to |
---|---|
mfrac | The 'clip level fraction', which
must be a number between 0.1 and 0.9, which is passed to
|
gradual_clipping | The program uses a 'gradual' clip level by default,
To use a fixed clip level, set |
n_peels | Peel the mask |
n_neighbors | Define the number of neighbors needed for a voxel
NOT to be peeled. The 18 nearest neighbors in
the 3D lattice are used, so |
outfile | Output filename, should have a |
retimg | Should an image be returned ( |
opts | Additional options passed to |
... | additional arguments to |
Output filename of the brik