Code dependencies are in 'requirement.txt'.
pip install -r requirements.txt
-
The example data 'CJ4TEST.h5' can be accessed via http://cable.bigconnectome.org.
-
We use 'Mrtrix3' for estimating response function(or use response.nii in this repository directly) and constrained spherical deconvolution(CSD), which can be accessed via 'https://www.mrtrix.org/download/'.
-
After installing 'Mrtrix3', execute the python file:
python main.py CJ4TEST.h5
- If the code in 'main.py' encounters difficulties in calling 'Mrtrix3'(e.g. executing on Windows) please execute it in command line manually.
- The program will generate odf and tck files which can be viewed with 'mrview' in 'Mrtrix3', use 'ODF Display' and 'Tractography' in 'Tools' to view them.