Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.
WRITE A CIFTI STRUCTURE AS METRIC, LABEL OR VOLUME
wb_command -cifti-separate
<cifti-in> - the cifti to separate a component of
<direction> - which direction to separate into components, ROW or COLUMN
[-volume-all] - separate all volume structures into a volume file
<volume-out> - output - the output volume
[-roi] - also output the roi of which voxels have data
<roi-out> - output - the roi output volume
[-label] - output a volume label file indicating the location of
structures
<label-out> - output - the label output volume
[-crop] - crop volume to the size of the data rather than using the
original volume size
[-label] - repeatable - separate a surface model into a surface label
file
<structure> - the structure to output
<label-out> - output - the output label file
[-roi] - also output the roi of which vertices have data
<roi-out> - output - the roi output metric
[-metric] - repeatable - separate a surface model into a metric file
<structure> - the structure to output
<metric-out> - output - the output metric
[-roi] - also output the roi of which vertices have data
<roi-out> - output - the roi output metric
[-volume] - repeatable - separate a volume structure into a volume file
<structure> - the structure to output
<volume-out> - output - the output volume
[-roi] - also output the roi of which voxels have data
<roi-out> - output - the roi output volume
[-crop] - crop volume to the size of the component rather than using
the original volume size
For dtseries, dscalar, and dlabel, use COLUMN for <direction>, and if you
have a symmetric dconn, COLUMN is more efficient.
You must specify at least one of -metric, -volume-all, -volume, or -label
for this command to do anything. Output volumes will spatially line up
with their original positions, whether or not they are cropped. Volume
files produced by separating a dlabel file, or from the -label suboption
of -volume-all, will be label volumes, see -volume-help.
For each <structure> argument, use 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