Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.
SET THE PALETTE OF A VOLUME FILE
wb_command -volume-palette
<volume> - the volume file to modify
<mode> - the mapping mode
[-subvolume] - select a single subvolume
<subvolume> - the subvolume number or name
[-pos-percent] - percentage min/max for positive data coloring
<pos-min-%> - the percentile for the least positive data
<pos-max-%> - the percentile for the most positive data
[-neg-percent] - percentage min/max for negative data coloring
<neg-min-%> - the percentile for the least negative data
<neg-max-%> - the percentile for the most negative data
[-pos-user] - user min/max values for positive data coloring
<pos-min-user> - the value for the least positive data
<pos-max-user> - the value for the most positive data
[-neg-user] - user min/max values for negative data coloring
<neg-min-user> - the value for the least negative data
<neg-max-user> - the value for the most negative data
[-interpolate] - interpolate colors
<interpolate> - boolean, whether to interpolate
[-disp-pos] - display positive data
<display> - boolean, whether to display
[-disp-neg] - display positive data
<display> - boolean, whether to display
[-disp-zero] - display data closer to zero than the min cutoff
<display> - boolean, whether to display
[-palette-name] - set the palette used
<name> - the name of the palette
[-thresholding] - set the thresholding
<type> - thresholding setting
<test> - show values inside or outside thresholds
<min> - lower threshold
<max> - upper threshold
[-inversion] - specify palette inversion
<type> - the type of inversion
[-normalization] - specify normalization mode (NOTE: this is always a
file-wide setting, NOT per-map)
<type> - the normalization mode
The original volume file is overwritten with the modified version. By
default, all columns of the volume file are adjusted to the new settings,
use the -subvolume option to change only one subvolume. Mapping settings
not specified in options will be taken from the first subvolume. The
<mode> argument must be one of the following:
MODE_AUTO_SCALE
MODE_AUTO_SCALE_ABSOLUTE_PERCENTAGE
MODE_AUTO_SCALE_PERCENTAGE
MODE_USER_SCALE
The <name> argument to -palette-name must be one of the following:
ROY-BIG-BL
videen_style
Gray_Interp_Positive
Gray_Interp
PSYCH-FIXED
RBGYR20
RBGYR20P
RYGBR4_positive
RGRBR_mirror90_pos
Orange-Yellow
POS_NEG_ZERO
red-yellow
blue-lightblue
FSL
power_surf
black-red
black-green
black-blue
black-red-positive
black-green-positive
black-blue-positive
blue-black-green
blue-black-red
red-black-green
fsl_red
fsl_green
fsl_blue
fsl_yellow
RedWhiteBlue
cool-warm
spectral
RY-BC-BL
magma
JET256
PSYCH
PSYCH-NO-NONE
ROY-BIG
clear_brain
fidl
raich4_clrmid
raich6_clrmid
HSB8_clrmid
POS_NEG
Special-RGB-Volume
The <type> argument to -thresholding must be one of the following:
THRESHOLD_TYPE_OFF
THRESHOLD_TYPE_NORMAL
THRESHOLD_TYPE_FILE
The <test> argument to -thresholding must be one of the following:
THRESHOLD_TEST_SHOW_OUTSIDE
THRESHOLD_TEST_SHOW_INSIDE
The <type> argument to -inversion must be one of the following:
OFF
POSITIVE_WITH_NEGATIVE
POSITIVE_NEGATIVE_SEPARATE
The <type> argument to -normalization must be one of the following:
NORMALIZATION_ALL_MAP_DATA
NORMALIZATION_SELECTED_MAP_DATA