Loading [MathJax]/extensions/TeX/AMSsymbols.js
DGtalTools  1.5.beta
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
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

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