Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.
WEIGHTED SPATIAL STATISTICS ON A VOLUME FILE wb_command -volume-weighted-stats <volume-in> - the input volume [-weight-volume] - use weights from a volume file <weight-volume> - volume file containing the weights [-match-maps] - each subvolume of input uses the corresponding subvolume from the weights file [-subvolume] - only display output for one subvolume <subvolume> - the subvolume number or name [-roi] - only consider data inside an roi <roi-volume> - the roi, as a volume file [-match-maps] - each subvolume of input uses the corresponding subvolume from the roi file [-mean] - compute weighted mean [-stdev] - compute weighted standard deviation [-sample] - estimate population stdev from the sample [-percentile] - compute weighted percentile <percent> - the percentile to find [-sum] - compute weighted sum [-show-map-name] - print map index and name before each output For each subvolume of the input, a single number is printed, resulting from the specified operation. If -weight-volume is not specified, each voxel's volume is used. Use -subvolume to only give output for a single subvolume. Use -roi to consider only the data within a region. Exactly one of -mean, -stdev, -percentile or -sum must be specified. Using -sum without -weight-volume is equivalent to integrating with respect to volume.