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
ERODE A CIFTI FILE
   wb_command -cifti-erode
      <cifti-in> - the input cifti file
      <direction> - which dimension to dilate along, ROW or COLUMN
      <surface-distance> - the distance to dilate on surfaces, in mm
      <volume-distance> - the distance to dilate in the volume, in mm
      <cifti-out> - output - the output cifti file

      [-left-surface] - specify the left surface to use
         <surface> - the left surface file

         [-left-corrected-areas] - vertex areas to use instead of computing
            them from the left surface
            <area-metric> - the corrected vertex areas, as a metric

      [-right-surface] - specify the right surface to use
         <surface> - the right surface file

         [-right-corrected-areas] - vertex areas to use instead of computing
            them from the right surface
            <area-metric> - the corrected vertex areas, as a metric

      [-cerebellum-surface] - specify the cerebellum surface to use
         <surface> - the cerebellum surface file

         [-cerebellum-corrected-areas] - vertex areas to use instead of
            computing them from the cerebellum surface
            <area-metric> - the corrected vertex areas, as a metric

      [-merged-volume] - treat volume components as if they were a single
         component

      For all data values that are empty (for label data, unlabeled, for other
      data, zero), set the surrounding values to empty.  The surrounding values
      are defined as the immediate neighbors and all values in the same
      structure within the specified distance (-merged-volume treats all voxels
      as one structure).

      The -*-corrected-areas options are intended for eroding on group average
      surfaces, but it is only an approximate correction.