DGtalTools  0.9.4
volAddBorder

Adds a border of one voxel with value 0 around a vol file.

Usage: volAddBorder –input <volFileName> –o <volOutputFileName>

Allowed options are :

-h [ --help ] display this message.
-i [ --input ] arg Input vol file.
-o [ --output ] arg Output filename.

Example:

$ volAddBorder -i $DGtal/examples/samples/Al.100.vol -o Al.100border.vol

You should obtain an resulting image with domain: -1, -1, -1 x 100, 100, 100 instead 0, 0, 0 x 99, 99, 99

See also
volAddBorder.cpp