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