Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.
APPLY WARPFIELD TO SURFACE FILE
wb_command -surface-apply-warpfield
<in-surf> - the surface to transform
<warpfield> - the INVERSE warpfield
<out-surf> - output - the output transformed surface
[-fnirt] - MUST be used if using a fnirt warpfield
<forward-warp> - the forward warpfield
NOTE: warping a surface requires the INVERSE of the warpfield used to
warp the volume it lines up with. The header of the forward warp is
needed by the -fnirt option in order to correctly interpret the
displacements in the fnirt warpfield.
If the -fnirt option is not present, the warpfield must be a nifti
'world' warpfield, which can be obtained with the -convert-warpfield
command.