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
   wb_command -metric-to-volume-mapping
      <metric> - the input metric file
      <surface> - the surface to use coordinates from
      <volume-space> - a volume file in the desired output volume space
      <volume-out> - output - the output volume file

      [-nearest-vertex] - use the value from the vertex closest to the voxel
         <distance> - how far from the surface to map values to voxels, in mm

      [-ribbon-constrained] - use ribbon constrained mapping algorithm
         <inner-surf> - the inner surface of the ribbon
         <outer-surf> - the outer surface of the ribbon

         [-voxel-subdiv] - voxel divisions while estimating voxel weights
            <subdiv-num> - number of subdivisions, default 3

         [-greedy] - instead of antialiasing partial-volumed voxels, put full
            metric values (legacy behavior)

         [-thick-columns] - use overlapping columns (legacy method)

      Maps values from a metric file into a volume file.  You must specify
      exactly one mapping method option.  The -nearest-vertex method uses the
      value from the vertex closest to the voxel center (useful for integer
      values).  The -ribbon-constrained method uses the same method as in
      -volume-to-surface-mapping, then uses the weights in reverse.  Mapping to
      lower resolutions than the mesh may require a larger -voxel-subdiv value
      in order to have all of the surface data participate.