Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.
SMOOTH AND RESAMPLE VOLUME PARCELS wb_command -volume-parcel-resampling <volume-in> - the input data volume <cur-parcels> - label volume of where the parcels currently are <new-parcels> - label volume of where the parcels should be <kernel> - gaussian kernel size in mm to smooth by during resampling, as sigma by default <volume-out> - output - output volume [-fix-zeros] - treat zero values as not being data [-fwhm] - smoothing kernel size is FWHM, not sigma [-subvolume] - select a single subvolume as input <subvol> - the subvolume number or name Smooths and resamples the region inside each label in cur-parcels to the region of the same label name in new-parcels. Any voxels in the output label region but outside the input label region will be extrapolated from nearby data. The -fix-zeros option causes the smoothing to not use an input value if it is zero, but still write a smoothed value to the voxel, and after smoothing is complete, it will check for any remaining values of zero, and fill them in with extrapolated values. Note: all volumes must have the same dimensions and spacing. To use a different output space, see -volume-parcel-resampling-generic.