/app-ants-FA-registration

FA-based non linear ANTs registration of the tensor to the FMRIB58_FA_1mm.nii.gz template or the IITmean_FA template.

Primary LanguageShell

Abcdspec-compliant Run on Brainlife.io

app-ants-FA-registration

This App computes a non-linear registration of Diffusion Tensor Image Scalars in MNI space using the Advanced Normalization Tools (ANTs) algorithm. First, a non-linear warp is computed to register the Fractional Anisotropy (FA) image to the template image, which is the FMRIB58_FA_1mm.nii.gz or the IITmean_FA.nii.gz. Then, the same transformation is applied to all Diffusion Tensor Image Scalars.

Authors

Contributors

Funding Acknowledgement

brainlife.io is publicly funded and for the sustainability of the project it is helpful to Acknowledge the use of the platform. We kindly ask that you acknowledge the funding below in your publications and code reusing this code.

NSF-BCS-1734853 NSF-BCS-1636893 NSF-ACI-1916518 NSF-IIS-1912270 NIH-NIBIB-R01EB029272

Citations

We kindly ask that you cite the following articles when publishing papers and code using this code.

  1. Avants, B.B., Epstein, C.L., Grossman, M., Gee, J.C., 2008. Symmetric diffeomorphic image registration with cross-correlation: evaluating automated labeling of elderly and neurodegenerative brain. Med. Image Anal. 12 (1), 26–41. doi: 10.1016/j.media.2007.06.004.

  2. Avesani, P., McPherson, B., Hayashi, S. et al. The open diffusion data derivatives, brain data upcycling via integrated publishing of derivatives and reproducible open cloud services. Sci Data 6, 69 (2019). https://doi.org/10.1038/s41597-019-0073-y

Running the app

On Brainlife.io

You can submit this App online at https://doi.org/10.25663/brainlife.app.118 via the “Execute” tab.

Input:
Diffusion Tensor Image Scalars (tensor datatype). Up to now, supported scalars are: FA (Fractional Anisotropy), MD (Mean Diffusivity), RD (Radial Diffusivity), and AD (Axial Diffusivity).

Output:
Diffusion Tensor Image Scalars (tensor datatype) registered in MNI space.

Running locally

  1. git clone this repo.
  2. Inside the cloned directory, create config.json with something like the following content with paths to your input files:
{
   "fa":    "./tensor/fa.nii.gz",
   "md":    "./tensor/md.nii.gz",
   "rd":    "./tensor/rd.nii.gz",
   "ad":    "./tensor/ad.nii.gz",
} 
  1. Launch the App by executing main.
./main

Output

The main output of this App is the Diffusion Tensor Image Scalars (tensor datatype) registered in MNI space. A secondary output is the warp (and inverse-warp) computed to perform the registration.

Dependencies

This App only requires singularity to run. If you don't have singularity, you will need to install following dependencies:

MIT Copyright (c) 2020 Bruno Kessler Foundation (FBK)