Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.
SMOOTH A CIFTI FILE
wb_command -cifti-smoothing
<cifti> - the input cifti
<surface-kernel> - the size of the gaussian surface smoothing kernel in
mm, as sigma by default
<volume-kernel> - the size of the gaussian volume smoothing kernel in mm,
as sigma by default
<direction> - which dimension to smooth along, ROW or COLUMN
<cifti-out> - output - the output cifti
[-fwhm] - kernel sizes are FWHM, not sigma
[-left-surface] - specify the left cortical surface to use
<surface> - the left surface file
[-left-corrected-areas] - vertex areas to use instead of computing
them from the left surface
<area-metric> - the corrected vertex areas, as a metric
[-right-surface] - specify the right cortical surface to use
<surface> - the right surface file
[-right-corrected-areas] - vertex areas to use instead of computing
them from the right surface
<area-metric> - the corrected vertex areas, as a metric
[-cerebellum-surface] - specify the cerebellum surface to use
<surface> - the cerebellum surface file
[-cerebellum-corrected-areas] - vertex areas to use instead of
computing them from the cerebellum surface
<area-metric> - the corrected vertex areas, as a metric
[-cifti-roi] - smooth only within regions of interest
<roi-cifti> - the regions to smooth within, as a cifti file
[-fix-zeros-volume] - treat values of zero in the volume as missing data
[-fix-zeros-surface] - treat values of zero on the surface as missing
data
[-merged-volume] - smooth across subcortical structure boundaries
[-surface] - repeatable - specify a surface by structure name
<structure> - the surface structure name
<surface> - the surface file
[-corrected-areas] - vertex areas to use instead of computing them
from the surface
<area-metric> - the corrected vertex areas, as a metric
The input cifti file must have a brain models mapping on the chosen
dimension, columns for .dtseries, and either for .dconn. By default,
data in different structures is smoothed independently (i.e., "parcel
constrained" smoothing), so volume structures that touch do not smooth
across this boundary. Specify -merged-volume to ignore these boundaries.
Surface smoothing uses the GEO_GAUSS_AREA smoothing method.
The -*-corrected-areas options are intended for when it is unavoidable to
smooth on group average surfaces, it is only an approximate correction
for the reduction of structure in a group average surface. It is better
to smooth the data on individuals before averaging, when feasible.
The -fix-zeros-* options will treat values of zero as lack of data, and
not use that value when generating the smoothed values, but will fill
zeros with extrapolated values. The ROI should have a brain models
mapping along columns, exactly matching the mapping of the chosen
direction in the input file. Data outside the ROI is ignored.
The <structure> argument of -surface must be one of the following
strings:
CORTEX_LEFT
CORTEX_RIGHT
CEREBELLUM
ACCUMBENS_LEFT
ACCUMBENS_RIGHT
ALL_GREY_MATTER
ALL_WHITE_MATTER
AMYGDALA_LEFT
AMYGDALA_RIGHT
BRAIN_STEM
CAUDATE_LEFT
CAUDATE_RIGHT
CEREBELLAR_WHITE_MATTER_LEFT
CEREBELLAR_WHITE_MATTER_RIGHT
CEREBELLUM_LEFT
CEREBELLUM_RIGHT
CEREBRAL_WHITE_MATTER_LEFT
CEREBRAL_WHITE_MATTER_RIGHT
CORTEX
DIENCEPHALON_VENTRAL_LEFT
DIENCEPHALON_VENTRAL_RIGHT
HIPPOCAMPUS_LEFT
HIPPOCAMPUS_RIGHT
HIPPOCAMPUS_DENTATE_LEFT
HIPPOCAMPUS_DENTATE_RIGHT
INVALID
OTHER
OTHER_GREY_MATTER
OTHER_WHITE_MATTER
PALLIDUM_LEFT
PALLIDUM_RIGHT
PUTAMEN_LEFT
PUTAMEN_RIGHT
THALAMUS_LEFT
THALAMUS_RIGHT