Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.
DEPRECATED: use -volume-resample
wb_command -volume-affine-resample
<volume-in> - volume to resample
<affine> - the affine file to apply
<volume-space> - a volume file in the volume space you want for the
output
<method> - the resampling method
<volume-out> - output - the output volume
[-flirt] - MUST be used if affine is a flirt affine
<source-volume> - the source volume used when generating the affine
<target-volume> - the target volume used when generating the affine
DEPRECATED: this command may be removed in a future release, use
-volume-resample.
Resample a volume file with an affine transformation. The recommended
methods are CUBIC (cubic spline) for most data, and ENCLOSING_VOXEL for
label data. The parameter <method> must be one of:
CUBIC
ENCLOSING_VOXEL
TRILINEAR