Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.
MAKE A GIFTI LABEL INTO AN ROI METRIC wb_command -gifti-label-to-roi <label-in> - the input gifti label file <metric-out> - output - the output metric 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 <metric-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>.