dmrimatlab

This is complete Matlab toolbox (including multi-threaded C/C++-mex code) for diffusion MRI processing.
28 Downloads
Updated 22 May 2024

dmrimatlab

This is a complete Matlab toolbox for basic-to-advanced diffusion MRI reconstruction, processing, and representation (see complete description in: http://www.lpi.tel.uva.es/dmrilab).

It includes:

  • The classical Diffusion Tensor Imaging (DTI) formalism with linear and non-linear signal fitting.
  • High Angular Resolution Diffusion Imaging (HARDI): - Spherical Harmonics (SH). - Orientation Probability Density Transform (OPDT). - Higher Order Tensors (HOT).
  • (Constrained, regularized) Diffusion Spectrum Imaging (DSI).
  • Spherical Means and Spherical Deconvolution (MiSFIT).
  • (Constrained, regularized) Mean Apparent Propagator MRI (MAP-MRI/MAPL).
  • Free-water elimination.
  • Denoising of Diffusion Weighted Images.
  • Representation of scalar maps, color-by-orientation, DTI glyphs, or ODF fields.

The toolbox is designed pursuing computational performance, so that large databases can be processed within a reasonable time to perform group studies, connectomics, atlasing or IA training afterwards. This is attained by coding the key parts of the algorithms as (efficiently) multi-threaded C/C++ mex code, and exploiting advanced BLAS/LAPACK optimizations when possible.

Authors:

     Antonio Tristán Vega, Santiago Aja-Fernández, Guillem París.

     Laboratorio de Procesado de Imagen. Universidad de Valladolid

     Spain

In case you use the package for your own research, we ask you to kindly cite it as:

     Antonio Tristán-Vega, Santiago Aja-Fernández and Guillem París. "dMRI-Lab: advanced diffusion MRI with Matlab" [Online resource] https://www.lpi.tel.uva.es/dmrilab January 2022. Universidad de Valladolid. Spain

Getting started:

  1. Download the code from https://github.com/atriveg/dmrimatlab.

  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);
    

    or simply:

     >> setup__DMRIMatlab_toolbox;
    

    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 changes).

  4. Download the test data used for demo files and tests by running [YOU ONLY NEED TO (SUCCESSFULLY) RUN THIS COMMAND ONCE]:

     >> download_dmritestdata
    
  5. 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).

  6. 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.

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

Cite As

Antonio Tristán-Vega, Santiago Aja-Fernández and Guillem París. "dMRI-Lab: advanced diffusion MRI with Matlab" [Online resource] https://www.lpi.tel.uva.es/dmrilab March 2024. Universidad de Valladolid. Spain

MATLAB Release Compatibility
Created with R2022b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

AMURA

HYDI-DSI

HYDI-DSI/utils

MAPL

MiSFIT

MiSFIT/experimental

MiSFIT/utils

MiSFIT/utils/experimental

examples

freewater

gradients

graphics

hot

io

io/3rdparty/Nifti

io/3rdparty/Slicer-4.5/Extensions-24973/MatlabBridge/lib/Slicer-4.5/cli-modules/commandserver

io/3rdparty/Slicer-4.5/Extensions-24973/MatlabModules

logo

maths/laguerre

maths/legendre

maths/polyhedra

maths/sh

mexcode

noise

sh

tensor

tests

utils

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.8

Now the MAP-MRI/MAPL module is able to reconstruct the Ensemble Average Propagator (EAP) and the Orientation Distribution Function (ODF)

1.0.7

Added MAP-MRI/MAPL module. Improved quadratic programming for HYDI-DSI

1.0.6

Improved performance of multi-threaded mex files. Multi-threading is now available for all platforms (Linux, Win64, MAC)

1.0.5

Demo for DT-MRI processing

1.0.4

Added bibliographic notes

1.0.3

Added auto-download of test data

1.0.2

Changed readme

1.0.1

Changed logo

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.