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
MAKE A VOLUME LABEL INTO AN ROI VOLUME
   wb_command -volume-label-to-roi
      <label-in> - the input volume label file
      <volume-out> - output - the output volume file

      [-name] - select label by name
         <label-name> - the label name that you want an roi of

      [-key] - select label by key
         <label-key> - the label key that you want an roi of

      [-map] - select a single label map to use
         <map> - the map number or name

      For each map in <label-in>, a map is created in <volume-out> where all
      locations labeled with <label-name> or with a key of <label-key> are
      given a value of 1, and all other locations are given 0.  Exactly one of
      -name and -key must be specified.  Specify -map to use only one map from
      <label-in>.