Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.
SMOOTH A VOLUME FILE wb_command -volume-smoothing <volume-in> - the volume to smooth <kernel> - the size of the gaussian smoothing kernel in mm, as sigma by default <volume-out> - output - the output volume [-fwhm] - kernel size is FWHM, not sigma [-roi] - smooth only from data within an ROI <roivol> - the volume to use as an ROI [-fix-zeros] - treat zero values as not being data [-subvolume] - select a single subvolume to smooth <subvol> - the subvolume number or name Gaussian smoothing for volumes. By default, smooths all subvolumes with no ROI, if ROI is given, only positive voxels in the ROI volume have their values used, and all other voxels are set to zero. Smoothing a non-orthogonal volume will be significantly slower, because the operation cannot be separated into 1-dimensional smoothings without distorting the kernel shape. 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. This is useful for zeros that indicate lack of information, preventing them from pulling down the intensity of nearby voxels, while giving the zero an extrapolated value.