Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.
CREATE CIFTI ROI MAPS FROM EXTREMA MAPS wb_command -cifti-rois-from-extrema <cifti> - the input cifti <surf-limit> - geodesic distance limit from vertex, in mm <vol-limit> - euclidean distance limit from voxel center, in mm <direction> - which dimension an extrema map is along, ROW or COLUMN <cifti-out> - output - the output cifti [-left-surface] - specify the left surface to use <surface> - the left surface file [-right-surface] - specify the right surface to use <surface> - the right surface file [-cerebellum-surface] - specify the cerebellum surface to use <surface> - the cerebellum surface file [-gaussian] - generate gaussian kernels instead of flat ROIs <surf-sigma> - the sigma for the surface gaussian kernel, in mm <vol-sigma> - the sigma for the volume gaussian kernel, in mm [-overlap-logic] - how to handle overlapping ROIs, default ALLOW <method> - the method of resolving overlaps [-merged-volume] - treat volume components as if they were a single component 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.