MeshFromSHCoefficientsΒΆ

USAGE:

   MeshFromSHCoefficients  [--returnparameterfile <std::string>]
                           [--processinformationaddress <std::string>]
                           [--xml] [--echo] [--debug] [-p] [--st]
                           [--colorscheme <DIRECTION|MAGNITUDE>]
                           [--basicshape <TETRAHEDRON|OCTAHEDRON
                           |ICOSAHEDRON>] [--tessorder <int>] [--scale
                           <double>] [--box <std::vector<int>>] [--pow
                           <double>] [--normalize <NONE|MIN_MAX|UNIT_MAX
                           |UNIT_INTEGRAL>] [--removenegative] [--maxorder
                           <int>] [--] [--version] [-h] <std::string>
                           <std::string>


Where:

   --returnparameterfile <std::string>
     Filename in which to write simple return parameters (int, float,
     int-vector, etc.) as opposed to bulk return parameters (image,
     geometry, transform, measurement, table).

   --processinformationaddress <std::string>
     Address of a structure to store process information (progress, abort,
     etc.). (default: 0)

   --xml
     Produce xml description of command line arguments (default: 0)

   --echo
     Echo the command line arguments (default: 0)

   --debug
     debug (default: 0)

   -p,  --progress
     show progress of processing (default: 0)

   --st
     Use single thread. (default: 0)

   --colorscheme <DIRECTION|MAGNITUDE>
     Color scheme. (default: DIRECTION)

   --basicshape <TETRAHEDRON|OCTAHEDRON|ICOSAHEDRON>
     Basic shape for subdivision. (default: ICOSAHEDRON)

   --tessorder <int>
     Tessellation order. (default: 4)

   --scale <double>
     Scale factor. (default: 1)

   --box <std::vector<int>>
     only generate mesh from a given box (x0,x1,y0,y1,z0,z1). (default: -1
     ,-1,-1,-1,-1,-1)

   --pow <double>
     Power factor. (default: 1)

   --normalize <NONE|MIN_MAX|UNIT_MAX|UNIT_INTEGRAL>
     Perform normalization after removing negative values (if set); NONE:
     No normalization; MIN_MAX: Min-max normalization; UNIT_MAX: Unit
     maximum; UNIT_INTEGRATION: Unit integration. (default: NONE)

   --removenegative
     Remove negative values if set. (default: 0)

   --maxorder <int>
     Maximum order of spherical harmonic basis functions. If it is not set,
     it is calculated from the input SH image. If it is set as a smaller
     value than the order calculated from input image, then only truncated
     orders are used to generate mesh. (default: 0)

   --,  --ignore_rest
     Ignores the rest of the labeled arguments following this flag.

   --version
     Displays version information and exits.

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

   <std::string>
     (required)  Input file.

   <std::string>
     (required)  Output file.


   Description: Create a mesh from spherical harmonics coefficients for
   visualization.

   Examples:

   MeshFromSHCoefficients eap_r0.015.nii.gz eap_r0.015_vis.vtk --tessorder
   4 --scale 1e-5

   MeshFromSHCoefficients odf.nii.gz odf_vis.vtk --tessorder 4 --scale
   1.5

   Author(s): Pew-Thian Yap (ptyap@med.unc.edu), Jian Cheng
   (jian.cheng.1983@gmail.com)

   Acknowledgements: Thank you everyone.