dMRI-Lab: advanced diffusion MRI with Matlab

PURPOSE

This is a toolbox designed for Matlab(R) and aimed at the computational analysis of diffusion MRI. It addresses basic concepts such as Diffusion Tensor Imaging (DTI), but also advanced topics like High Angular Resolution Diffusion Imaging (HARDI, including estimation and representation of Orientation Distribution Functions-ODF), multi-shell samplings, and computational diffusion MRI. We have tested the library for Matlab versions starting R2015b, but we advice using a more recent version. A working license for the Parallel Computing Toolbox is strongly recommended (but not necessary).

GET STARTED

  1. Download the package and unzip to a local folder at will.
  2. From the Matlab command window, cd to the home folder, i. e. that containing the setup script "setup__DMRIMatlab_toolbox.m".
  3. Run the setup script as either:
    • >> setup__DMRIMatlab_toolbox('useparallel',true);
    • >> setup__DMRIMatlab_toolbox('useparallel',false);

for using/avoid using the Parallel Computing Toolbox. In case you don't have a working license for it, the script will not throw an error. This will setup your Matlab path for the present session (it won't make any permanent change). Or simply:

  • >> setup__DMRIMatlab_toolbox;
  1. Download the test data used for demo files and tests by running [YOU ONLY NEED TO (SUCCESSFULLY) RUN THIS COMMAND ONCE]:
  • >> download_dmritestdata
  1. Make sure you have a suitable C/C++ compiler installed in your computer (in Windows, we recommend installing the "MinGW" Add-On from the Matlab interface).
  2. Run the script [YOU ONLY NEED TO RUN THIS COMMAND EACH TIME YOU PULL A NEW VERSION FROM THE REPO]:
    • >> makefile_mexcode

         which will build all the necessary mex files within the toolbox.

  1. Open/run some of the demo files in the "examples" folder to get started.

LICENSING

The code is licensed under GNU GENERAL PUBLIC LICENSE (Version 3, 29 June 2007)

SEE ALSO

You might be as well interested in other related software products developed at the LPI.

PUBLICATIONS

Note this library is a compendium of many techniques delivered from the original research carried out at the LPI for more than a decade. As such, you will find implementations for the methods described in several papers listed in our publications site.

On DT-MRI:

https://www.lpi.tel.uva.es/node/107 (Noise propagation in DT-MRI)

https://www.lpi.tel.uva.es/node/113 (Noise propagation in DT-MRI; journal version)

https://www.lpi.tel.uva.es/node/210 (Discontinued Saturn software)

On dMRI denoising:

https://www.lpi.tel.uva.es/node/93 (Joint Wiener filter, jLMMSE)

https://www.lpi.tel.uva.es/node/85 (Joint Wiener filter, jLMMSE; journal version)

https://www.lpi.tel.uva.es/node/161 (Joint anisotropic Wiener filter - jaLMMSE)

On HARDI imaging and ODF estimation:

https://www.lpi.tel.uva.es/node/80 (HARDI-OPDT)

https://www.lpi.tel.uva.es/node/103 (HARDI - cQ-Balls, pQ-Balls)

https://www.lpi.tel.uva.es/node/89 (HARDI-cOPDT, pOPDT)

On computational dMRI:

https://www.lpi.tel.uva.es/node/844 (HARDI/multi-shell - AMURA)

https://www.lpi.tel.uva.es/node/899 (HARDI/multi-shell - AMURA-APA)

https://www.lpi.tel.uva.es/node/900 (Multi-shell imaging - MiSFIT)

http://www.lpi.tel.uva.es/node/934 (Multi-shell imaging - Free water estimation with spherical means)

http://www.lpi.tel.uva.es/node/954 (Multi-shell imaging - gAMURA)

http://www.lpi.tel.uva.es/node/991 (Arbitrarily sampled diffusion imaging - HYDI-DSI)