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
FIND EXTREMA IN A CIFTI FILE
   wb_command -cifti-extrema
      <cifti> - the input cifti
      <surface-distance> - the minimum distance between extrema of the same
         type, for surface components
      <volume-distance> - the minimum distance between extrema of the same
         type, for volume components
      <direction> - which dimension to find extrema 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

      [-surface-presmooth] - smooth on the surface before finding extrema
         <surface-kernel> - the size of the gaussian surface smoothing kernel
            in mm, as sigma by default

      [-volume-presmooth] - smooth volume components before finding extrema
         <volume-kernel> - the size of the gaussian volume smoothing kernel in
            mm, as sigma by default

      [-presmooth-fwhm] - smoothing kernel distances are FWHM, not sigma

      [-threshold] - ignore small extrema
         <low> - the largest value to consider for being a minimum
         <high> - the smallest value to consider for being a maximum

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

      [-sum-maps] - output the sum of the extrema maps instead of each map
         separately

      [-consolidate-mode] - use consolidation of local minima instead of a
         large neighborhood

      [-only-maxima] - only find the maxima

      [-only-minima] - only find the minima

      Finds spatial locations in a cifti file that have more extreme values
      than all nearby locations in the same component (surface or volume
      structure).  The input cifti file must have a brain models mapping along
      the specified direction.  COLUMN is the direction that works on dtseries
      and dscalar.  For dconn, if it is symmetric use COLUMN, otherwise use
      ROW.