DGtalTools  1.2.0
convertVol

Converts volumetric file into volumetric file from different formats (pgm3d, vol, longvol). This tool can also be used to upgrade a Version-2 Vol or Longvol file to the new (compressed) Version-3.

Usage: convertVol [input] [output]

Allowed options are:

Positionals:
1 TEXT:FILE REQUIRED volumetric file (.pgm3d, .vol, .longvol).
Options:
-h,--help Print this help message and exit
-i,--input TEXT:FILE REQUIRED volumetric file (.pgm3d, .vol, .longvol).
-o,--output TEXT volumetric file (.pgm3d, .vol, .longvol)

Examples:

$ convertVol ${DGtal}/examples/samples/lobster.vol convertedVol.p3d
Definition: ATu0v1.h:57

To upgrade a "Version-2" vol file to a "Version-3" (default Vol writer):

$ convertVol ${DGtal}/examples/samples/lobster.vol ${DGtal}/examples/samples/lobster.vol
See also
convertVol.cpp