SPFToProfile ============ .. code-block:: none USAGE: SPFToProfile [--returnparameterfile ] [--processinformationaddress ] [--xml] [--echo] [--debug] [--nt ] [--rspace] [--md0 ] [--tau ] [--mask ] [--radiusVector ] [--orientations ] [--mdImage ] [--fourier] [--scale ] [--radius ] [--ra ] [--sh ] [--] [--version] [-h] Where: --returnparameterfile 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 Address of a structure to store process information (progress, abort, etc.). (value: 0) --xml Produce xml description of command line arguments (value: 0) --echo Echo the command line arguments (value: 0) --debug debug (value: 0) --nt Number of threads. If it not positive, then the default number for multiple threads is used. (value: -1) --rspace If it is not set, the basis is in q-space (default). If it is set, the basis is in r-space (value: 0) --md0 Typical MD value. (value: 0.0007) --tau Tau value. The default is calculated based on 4*pi*pi*tau=1. (value: 0.0253303) --mask Mask file. --radiusVector text file which contains radii. --orientations text file which contains orientations. If it is not set, the output is SH coefficients. If set, the output is EAP/DWI samples --mdImage Mean diffusivity Image for adaptive scale. --fourier Use Fourier transform. (value: 0) --scale Scale for SPF basis. If it is negative, the default value based on typical MD is used. (value: -1) --radius Radius for DWI/EAP profile. It is b value if rspace and fourier are both set or not set. It is r value if only one of rspace and fourier is set. (value: 0.015) --ra Rank for radial basis. (value: 1) --sh Rank for SH basis. (value: 4) --, --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. (required) Input Image File represented by SPF basis. (required) Output Image File (DWI/EAP profile). Description: Convert SPF coefficients to DWI/EAP profile (represented by SH basis or discrete samples). Examples: SPFToProfile signalSPF.nii.gz eap_r0.015.nii.gz --sh 8 --ra 4 --radius 0.015 --fourier --mdImage MD.nii.gz SPFToProfile signal.nii.gz dwiFromSignal.nii.gz --radius 1500 --sh 8 --ra 4 --mdImage MD.nii.gz Reference: Jian Cheng, Aurobrata Ghosh, Rachid Deriche, Tianzi Jiang, 'Model-Free, Regularized, Fast, and Robust Analytical Orientation Distribution Function Estimation', Medical Image Computing and Computer-Assisted Intervention (MICCAI'10), vol. 6361, pp. 648–656, sep, 2010. Jian Cheng, Aurobrata Ghosh, Tianzi Jiang, Rachid Deriche, 'Model-free and Analytical EAP Reconstruction via Spherical Polar Fourier Diffusion MRI', Medical Image Computing and Computer-Assisted Intervention (MICCAI'10), vol. 6361, pp. 590–597, sep, 2010. Author(s): Jian Cheng (jian.cheng.1983@gmail.com) Acknowledgements: Thank you everyone.