flair-linear - Affine registration of FLAIR images to the MNI standard space¶
This pipeline performs a set of steps in order to affinely align FLAIR images to the MNI space using the ANTs software package [Avants et al., 2014]. These steps include: bias field correction using N4ITK [Tustison et al., 2010]; affine registration to the MNI152NLin2009cSym template [Fonov et al., 2011, 2009] in MNI space with the SyN algorithm [Avants et al., 2008]; cropping of the registered images to remove the background.
If you only installed the core of Clinica, this pipeline needs the installation of ANTs on your computer. You can find how to install this software package on the third-party page.
Running the pipeline¶
The pipeline can be run with the following command line:
clinica run flair-linear [OPTIONS] BIDS_DIRECTORY CAPS_DIRECTORY
BIDS_DIRECTORYis the input folder containing the dataset in a BIDS hierarchy.
CAPS_DIRECTORYis the output folder containing the results in a CAPS hierarchy.
On default, cropped images (matrix size 169×208×179, 1 mm isotropic voxels) are
generated to reduce the computing power required when training deep learning models.
Use the option
--uncropped_image if you do not want to crop the image.
The arguments common to all Clinica pipelines are described in Interacting with clinica.
Do not hesitate to type
clinica run flair-linear --help to see the full
list of parameters.
Results are stored in the following folder of the CAPS
subjects/<participant_id>/<session_id>/flair_linear with the following outputs:
<source_file>_space-MNI152NLin2009cSym_res-1x1x1_FLAIR.nii.gz: FLAIR image affinely registered to the
<source_file>_space-MNI152NLin2009cSym_desc-Crop_res-1x1x1_FLAIR.nii.gz: FLAIR image registered to the
MNI152NLin2009cSymtemplate and cropped.
<source_file>_space-MNI152NLin2009cSym_res-1x1x1_affine.mat: affine transformation estimated with ANTs.
Describing this pipeline in your paper¶
Example of paragraph
These results have been obtained using the
flair-linear pipeline of Clinica
[Routier et al., 2021;
Wen et al., 2020].
More precisely, bias field correction was applied using the N4ITK method
[Tustison et al., 2010].
Next, an affine registration was performed using the SyN algorithm
[Avants et al., 2008]
from ANTs [Avants et al., 2014]
to align each image to the MNI space with the ICBM 2009c nonlinear symmetric template
[Fonov et al., 2011,
(Optional) The registered images were further cropped to remove the background
resulting in images of size 169×208×179, with 1 mm isotropic voxels.
Easily access the papers cited on this page on Zotero.