https://github.com/hgresseau/asl-processing-with-ants
Guide to perform cerebral blood flow (CBF) processing on an arterial spin labelling (ASL) image with ANTs and FSL. The required codes are provided and explained.
https://github.com/hgresseau/asl-processing-with-ants
ants blood-flow-imaging code coding fsl matlab mri-analysis mri-data terminal
Last synced: 4 months ago
JSON representation
Guide to perform cerebral blood flow (CBF) processing on an arterial spin labelling (ASL) image with ANTs and FSL. The required codes are provided and explained.
- Host: GitHub
- URL: https://github.com/hgresseau/asl-processing-with-ants
- Owner: hgresseau
- Created: 2025-05-12T13:52:11.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-05-23T16:37:20.000Z (5 months ago)
- Last Synced: 2025-06-26T11:02:03.902Z (4 months ago)
- Topics: ants, blood-flow-imaging, code, coding, fsl, matlab, mri-analysis, mri-data, terminal
- Language: MATLAB
- Homepage:
- Size: 232 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Overview
This repository contains documentation and scripts (Matlab, Linux (Shell)) to perform cerebral blood flow (CBF) processing on arterial spin labelling (ASL) MRI data using FSL and ANTs.# CBF Processing š§
### What is ASL? š¤
Arterial spin labelling (ASL) is a non-invasive MRI technique widely used in neurodegenerative research (including Alzheimer's) to quantify blood flow (also referred to as perfusion). [1, 2, 3] It measures the amount of blood volume (mL) that flows through 100 grams of tissue per unit time (measured in minutes). [4, 5] This technique makes use of the intrinsic magnetic spin property of hydrogen nuclei found in the water molecules within the blood. [6, 7] An ASL acquisition begins by sending rapid short radiofrequency (RF) pulses in the water molecules in the arteries in the neck [Image 1] to alter their spin orientation by a predefined āflip angleā called the alpha or the excitation angle. This process hence ālabelsā the blood-water, allowing it to act as an endogenous tracer that will travel to the brain to replace non-labeled blood-water.##
**Image 1** Visualization of the process through which blood-water from the arteries in the neck is labeled by an RF pulse (A), travels upwards in the head (B), where it is imaged for analysis (C). [8]
##
As blood-water travels upward, two images are taken subsequent of one another: one with labeling (called the TAG image), and one without labeling (called the Control image). The time between each image is referred to as the time of repetition (TR) or repetition time, which is a predefined interval during which a three-dimensional brain image (volume) is acquired, where a unit cube is defined as a voxel (3D). For reference, a pixel is the 2-dimensional counterpart of a voxel.
Additionally, the time between the labelling of the blood-water, and the measurement of the MRI signal is referred to as the time of echo (TE), or echo time. Since different tissues allow the labeled blood-water to relax at different rates, acquiring images at two distinct echo times (TE1 and TE2) allows for enhanced contrast between tissues.
After acquisition, the TAG image is subtracted from the Control image to remove signal contributions from static tissue (such as the skull and scalp), isolating the small contributions from the labeled blood-water (which is only around 0.5% to 1.5%) that has reached the imaging region. (9) This subtraction yields a perfusion-weighted image, which can be further processed to directly quantify cerebral blood flow (CBF) [see Image 2].
##
**Image 2** Visualization of the subtraction of the TAG image from the Control image. This results in a perfusion-weighted image, which is an indirect measure of cerebral blood flow (CBF).
##
ā”ļø A ***very good*** introductory source worth taking the time to go through: https://pubmed.ncbi.nlm.nih.gov/37492666/.
### What is CBF, and why it's important? š§
Cerebral blood flow (CBF) is a measure of blood volume (mL) delivery to 100 grams of tissue per unit time (minutes) used to quantify perfusion. [4,5] ASL imaging reveals that CBF often serves as an early physiological biomarker for various neurodegenerative diseases such as Alzheimer's, and potentially COVID-19. [1, 2, 3] In fact, existing literature supports the use of ASL as an effective method for quantifying changes in CBF, with reduced perfusion recognized as a defining characteristic of early-stage AD. As such, CBF may serve as a potential early physiological biomarker to qualify and quantify changes in cognition, and in brain structure and function that were seemingly induced by the disease.Generating a CBF map may help with:
ā Identifying regions of interest (ROIs) with changes in perfusion.
ā Quantifying changes in brain structure at certain ROIs.
ā Indicating the presence of a disease/vius/infection (neurodegenerative or even COVID-19).
## Pipeline Overview: 8-Step Process š©āš»
**1.** [DICOM to NIfTI Conversion](https://github.com/hgresseau/ASL-Processing/tree/f41e7a80507452d9fded6480ad077ee6b55bbd94/Data-Preparation)
- Goal: Preparing the data for CBF processing.**2.** [Preprocessing the ASL image](https://github.com/hgresseau/ASL-Processing/tree/0628f6f867770f637a77e0dd631b3f3df72bdf61/Preprocessing)
- Goal: Preparing the ASL image by correcting for head movements, and by removing non-brain tissues (e.g., skull, scalp).**3.** [Extracting Resting-State Volumes](https://github.com/hgresseau/ASL-Processing/tree/0628f6f867770f637a77e0dd631b3f3df72bdf61/Preprocessing)
- Goal: Selecting the initial resting-state volumes (3D image + time) (no gas manipulation or other intervention).**4.** [Surround Subtraction](https://github.com/hgresseau/ASL-Processing/tree/0628f6f867770f637a77e0dd631b3f3df72bdf61/Preprocessing)
- Goal: Isolating the perfusion signal.**5.** [Quality Control (QC) and Visual Inspection](https://github.com/hgresseau/ASL-Processing/tree/0628f6f867770f637a77e0dd631b3f3df72bdf61/Preprocessing)
- Goal: Removing volumes with too many artifacts and abnormalities.**6.** [Running BASIL for Perfusion Estimation](https://github.com/hgresseau/ASL-Processing/tree/0628f6f867770f637a77e0dd631b3f3df72bdf61/Preprocessing)
- Goal: Estimating the perfusion maps.**7.** [CBF Quantification](https://github.com/hgresseau/ASL-Processing/blob/0ddf50cde2abeca0cf08caa9f0c9f3c27de83b8d/CBF-Processing)
- Goal: Calculating and imaging CBF (CBF maps).**8.** Post-Processing
- Goal: Further refinement of the image.ā”ļø **Great** Source (readings, videos, tutorials): https://asl-docs.readthedocs.io/en/latest/analysis_guide.html.
### What's Needed? š”
- Terminal* (BASH [Unix Shell])
- FSL* (fslview or fsleyes) (install here: https://fsl.fmrib.ox.ac.uk/fsl/oldwiki/)
- MATLAB**Note: For students in Dr. Gauthier's lab, ask Dr. Gauthier for more details, including access.
##
#### References š
1. Roher, A. E., Debbins, J. P., Malek-Ahmadi, M., Chen, K., Pipe, J. G., Maze, S., ... & Beach, T. G. (2012). Cerebral blood flow in Alzheimerās disease. Vascular health and risk management, 599-611.
2. Goldsmith, H. S. (2022). Alzheimerās disease: a decreased cerebral blood flow to critical intraneuronal elements is the cause. Journal of Alzheimerās Disease, 85(4), 1419-1422.
3. Ciacciarelli, A., Sette, G., Giubilei, F., & Orzi, F. (2020). Chronic cerebral hypoperfusion: An undefined, relevant entity. Journal of clinical neuroscience, 73, 8-12.
4. Sen, S., NewmanāNorlund, R., Riccardi, N., Rorden, C., NewmanāNorlund, S., Sayers, S., ... & Logue, M. (2023). Cerebral blood flow in patients recovered from mild COVIDā19. Journal of Neuroimaging, 33(5), 764-772.
5. Kim, W. S., Ji, X., Roudaia, E., Chen, J. J., Gilboa, A., Sekuler, A., ... & MacIntosh, B. J. (2023). MRI assessment of cerebral blood flow in nonhospitalized adults who selfāisolated due to COVIDā19. Journal of Magnetic Resonance Imaging, 58(2), 593-602.
6. Felix Lugauer and Jens Wetzl. (2018). Medical Imaging Systems: An Introductory Guide. Chapter 6: Magnetic Resonance Imaging. URL: https://www.ncbi.nlm.nih.gov/books/NBK546152/
7. Chappel, M., Okell, T., Jenkinson, M. Short introduction to MRI Physics for Neuroimaging. URL: https://www.fmrib.ox.ac.uk/primers/appendices/mri_physics.pdf
8. FerrƩ, J. C., Bannier, E., Raoult, H., Mineur, G., Carsin-Nicol, B., & Gauvrit, J. Y. (2013). Arterial spin labeling (ASL) perfusion: techniques and clinical use. Diagnostic and interventional imaging, 94(12), 1211-1223.
9. Petcharunpaisan, S., Ramalho, J., & Castillo, M. (2010). Arterial spin labeling in neuroimaging. World journal of radiology, 2(10), 384.### Contributors š
**Sanami, Safa**. PhD in Physics, Quantitative Physiological Imaging Lab**Gresseau, Hendrale**. BSc in Honours Physics, Concentration: Biophysics.