Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.
CREATE METRIC ROI MAPS FROM EXTREMA MAPS wb_command -metric-rois-from-extrema <surface> - the surface to use for geodesic distance <metric> - the input metric file <limit> - geodesic distance limit from vertex, in mm <metric-out> - output - the output metric file [-gaussian] - generate a gaussian kernel instead of a flat ROI <sigma> - the sigma for the gaussian kernel, in mm [-roi] - select a region of interest to use <roi-metric> - the area to use, as a metric [-overlap-logic] - how to handle overlapping ROIs, default ALLOW <method> - the method of resolving overlaps [-column] - select a single input column to use <column> - the column number or name For each nonzero value in each map, make a map with an ROI around that location. If the -gaussian option is specified, then normalized gaussian kernels are output instead of ROIs. The <method> argument to -overlap-logic must be one of ALLOW, CLOSEST, or EXCLUDE. ALLOW is the default, and means that ROIs are treated independently and may overlap. CLOSEST means that ROIs may not overlap, and that no ROI contains vertices that are closer to a different seed vertex. EXCLUDE means that ROIs may not overlap, and that any vertex within range of more than one ROI does not belong to any ROI.