Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.
CREATE SURFACE APPROXIMATING A CORTICAL LAYER wb_command -surface-cortex-layer <white-surface> - the white matter surface <pial-surface> - the pial surface <location> - what volume fraction to place the layer at <out-surface> - output - the output surface [-placement-out] - output the placement as a volume fraction from pial to white <placement-metric> - output - output metric The input surfaces must have vertex correspondence. The output surface is generated by placing vertices between the two surfaces such that the enclosed volume within any small patch of the new and white surfaces is the given fraction of the volume of the same patch between the pial and white surfaces (i.e., specifying 0 would give the white surface, 1 would give the pial surface).