Skip to content

How to use the command line

cpresseau edited this page May 1, 2014 · 22 revisions

#USAGE:

 fibercompression [-h] [--version] input output [-f] [-e <float>]  {-c|-d}

#Where:

input : (required) Input file path (supported formats are .tck, .trk and .zfib)

output : (required) Output file path (supported formats are .tck, .trk and .zfib)

-f : Flag to overwrite existing output file

-e : Maximum error in mm (default 0.5)

-h, --help : Displays usage information and exits.

-c, --compress : (required) Flag to compress

-- OR --

-d, --decompress : (required) Flag to decompress

#Example of use:

Compression :

 ./fibercompression fibers.tck fibers.zfib -e 0.1 -f -c

 ./fibercompression fibers.tck fibers_comp.tck -e 0.1 -f -c

Decompression :

 ./fibercompression fibers.zfib fibers_decomp.tck -d
Clone this wiki locally