Using Workbench Command

Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.

Full Documentation:

Documentation Home
CREATE VOLUME ROI MAPS FROM EXTREMA MAPS
   wb_command -volume-rois-from-extrema
      <volume-in> - the input volume
      <limit> - distance limit from voxel center, in mm
      <volume-out> - output - the output volume

      [-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-volume> - the region to use

      [-overlap-logic] - how to handle overlapping ROIs, default ALLOW
         <method> - the method of resolving overlaps

      [-subvolume] - select a single subvolume to take the gradient of
         <subvol> - the subvolume 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.