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
CHANGE VOXEL ORDER OF A VOLUME FILE
   wb_command -volume-reorient
      <volume> - the volume to reorient
      <orient-string> - the desired orientation
      <volume-out> - out - the reoriented volume

      Changes the voxel order and the header spacing/origin information such
      that the value of any spatial point is unchanged.  Orientation strings
      look like 'LPI', which means first index is left to right, second is
      posterior to anterior, and third is inferior to superior.  The valid
      characters are:

      L      left to right
      R      right to left
      P      posterior to anterior
      A      anterior to posterior
      I      inferior to superior
      S      superior to inferior