Description Usage Arguments Value Note
View source: R/afni_3dClipLevel.R
Estimates the value at which to clip the anatomical dataset using
3dClipLevel
so that background regions are set to zero.
1 2 3 | afni_3dClipLevel(file, mfrac = 0.5, opts = "")
ClipLevel(...)
|
file |
nifti object or NIfTI filename. If more than one is given,
they are given names of the letters up to |
mfrac |
Multiplier of the median for clipping (see notes) |
opts |
Additional options passed to |
... |
not used |
Single character string of a nubmer
(by default), unless opts = "-doall"
From AFNI docs: Algorithm:
(a) Set some initial clip value using wizardry (AKA 'variance').
(b) Find the median of all positive values >= clip value.
(c) Set the clip value to mfrac
of this median.
(d) Loop back to (b) until the clip value doesn't change.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.