Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.
PROJECT FOCI TO A DIFFERENT SURFACE
wb_command -foci-resample
<foci-in> - the input foci file
<foci-out> - output - the output foci file
[-left-surfaces] - the left surfaces for resampling
<current-surf> - the surface the foci are currently projected on
<new-surf> - the surface to project the foci onto
[-right-surfaces] - the right surfaces for resampling
<current-surf> - the surface the foci are currently projected on
<new-surf> - the surface to project the foci onto
[-cerebellum-surfaces] - the cerebellum surfaces for resampling
<current-surf> - the surface the foci are currently projected on
<new-surf> - the surface to project the foci onto
[-discard-distance-from-surface] - ignore the distance the foci are above
or below the current surface
[-restore-xyz] - put the original xyz coordinates into the foci, rather
than the coordinates obtained from unprojection
Unprojects foci from the <current-surf> for the structure, then projects
them to <new-surf>. If the foci have meaningful distances above or below
the surface, use anatomical surfaces. If the foci should be on the
surface, use registered spheres and the options
-discard-distance-from-surface and -restore-xyz.