DGtalTools  1.5.beta
volAddBorder

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

Usage: volAddBorder <volFileName> <volOutputFileName>

Allowed options are :

Positionals:
1 TEXT:FILE REQUIRED Input vol file.
Options:
-h,--help Print this help message and exit
-i,--input TEXT:FILE REQUIRED Input vol file.
--inside Sets zero value to domain boundary voxels without changing the domain extent.
-o,--output TEXT 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