SamplingSchemeQSpaceIMOCEstimation  [--returnparameterfile
                                       <std::string>] [--xml] [--echo]
                                       [--debug] [--weight <double>]
                                       [--tessOrder <int>] [--minChange
                                       <double>] [--fineOrientations
                                       <std::string>] [--numberOfSamples
                                       <std::vector<int>>] [--] [--version]
                                       [-h] <std::string>


   --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.). (value: 0)

     Produce xml description of command line arguments (value: 0)

     Echo the command line arguments (value: 0)

     debug (value: 0)

   --weight <double>
     Weight for single shell term, 1-weight for mutiple shell term. (value:

   --tessOrder <int>
     Tessellation order for the fine orientations (no more than 7). (value:

   --minChange <double>
     Minimal change percentage of the angles in iterations. (value: 0.0001)

   --fineOrientations <std::string>
     A given fine orientations. It overrides --tessOrder

   --numberOfSamples <std::vector<int>>
     number of samples in single/multiple shells.

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

     Displays version information and exits.

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

     (required)  Output orientation file(s), single shell or multiple

   Description: Single and multi-shell sampling scheme estimation using
   Iterative Maximum Overlap Construction (IMOC).


   SamplingSchemeQSpaceIMOCEstimation grad.txt --numberOfSamples 28,28,28
   --tessOrder 7

   SamplingSchemeQSpaceIMOCEstimation grad.txt --numberOfSamples 30
   --tessOrder 7

   SphereTessellator --tessorder 8 --hemisphere grad_t8.txt

   SamplingSchemeQSpaceIMOCEstimation grad.txt --numberOfSamples 60,90
   --fineOrientations grad_t8.txt


   Jian Cheng, Dinggang Shen, Pew-Thian Yap, Peter J. Basser, 'Single- and
   Multiple-Shell Uniform Sampling Schemes for Diffusion MRI Using
   Spherical Codes', IEEE Transactions on Medical Imaging (TMI),

   Author(s): Jian Cheng (

   Acknowledgements: Thank you everyone.