Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.
ERODE A METRIC FILE
wb_command -metric-erode
<metric> - the metric file to erode
<surface> - the surface to compute on
<distance> - distance in mm to erode
<metric-out> - output - the output metric
[-roi] - assume values outside this roi are nonzero
<roi-metric> - metric file, positive values denote vertices that have
data
[-column] - select a single column to erode
<column> - the column number or name
[-corrected-areas] - vertex areas to use instead of computing them from
the surface
<area-metric> - the corrected vertex areas, as a metric
Around each vertex with a value of zero, set surrounding vertices to
zero. The surrounding vertices are all immediate neighbors and all
vertices within the specified distance.
Note that the -corrected-areas option uses an approximate correction for
distance along the surface.