This repo is the result of following the guide located below
B.A.T.M.A.N.: Basic and Advanced Tractography with MRtrix for All Neurophiles
You can use the below guide to get through the process of installing dependencies for the tutorial. Everything else is just code copied from the turtorial with the exception of the matlab code to visualize the matrix.
Use the tools specified in the tutorial to create a human Connectome from MR-data (DWI images and T1-high-resolution images)
- MRtricx https://www.mrtrix.org/download/
- install anaconda
- install mrtrix
- FSL https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FslInstallation
- download and run the python install script
- if
flirt
gives you command not found then add your install to your path manually by adding the following to your .bashrc
# Change the value for FSLDIR if you have # installed FSL into a different location FSLDIR=/usr/local/fsl . ${FSLDIR}/etc/fslconf/fsl.sh PATH=${FSLDIR}/bin:${PATH} export FSLDIR PATH
- Freesurfer https://surfer.nmr.mgh.harvard.edu/fswiki/DownloadAndInstall
- download the deb package and install with apt
sudo apt install freesurfer_7.2.0_amd64.deb
- download the deb package and install with apt
- Advanced Normalization Tools (ANTS)
The blue and red layers can delineate where tracks should start (red) and end (blue). This allows us to eliminate false positives when doing probablistic tractography
After generating tracks you can see end and begin where we specified
Connectome displayed using matlab. Code in mrtrix.m
Brain represented as a graph graphically with MRtrix connectome visualizer