Pipelines¶
SPM-based pipelines¶
Using T1w and T2w images¶
full SPM pipeline
, with the processing sequence:
Data preparation
(See Data preparation for more details)T1xT2BiasFieldCorrection
: iterative normalisation to template space
Using only a T1w image¶
full SPM T1 pipeline
, with the processing sequence:
Data preparation
(See Data preparation for more details)T1xT2BiasFieldCorrection
but the T1w replaces the T2wIterREGBET
: iterative normalisation to template spaceANTS non linear registration and FSL Apply XFM to tranform images to the template
ANTS-based pipelines¶
Using T1w and T2w images¶
full ANTS pipeline
, with the processing sequence :
Short data preparation
orLong single data preparation
orLong multi data preparation
(See Data preparation for more details)Brain extraction pipeline
debias pipeline
(similar toT1xT2BiasFieldCorrection
, but all steps are nipype nodes)extract brain pipeline
(using Atlax-Brex)
Brain segment from mask
:register pipeline
from template (NMT) to subject spacesegmentation pipeline
in subject space with Atropos
Using only T1w images¶
full ANTS T1 pipeline
, with the processing sequence :
Short data T1 preparation
(See Data preparation for more details)Brain extraction pipeline
extract brain pipeline
(using Atlax-Brex)
Brain segment from mask
:register pipeline
from template (NMT) to subject spacesegmentation pipeline
in subject space with Atropos
Data preparation¶
Short data preparation¶
Short data preparation corresponds to the pipelines where T1 and T2 images are averaged by modality from the beginning, and T2 is aligned to T1, then cropped or betcropped, and denoised.
The “auto”” version corresponds to short data preparation
with “betcrop” option (using T1xT2BET
)
The “manual” version corresponds to short data preparation
with “crop” option, and specify crop box in args for each subject in individual params
The version with crop are used in marmoset example, the version with betcrop is used in both macaque examples with SPM and ANTS
Long data preparation¶
In some cases, you may want some processing done prior to the alignement, if T1 and T2 are very different.
In this case, after aligning and averaging by modality (all T1s -> average_T1), you may crop, debias (N4) and denoise each image (average_T1 and average T2) indendantly before aligning average_T2 to average_T1 (long single data preparation
)
But in a very specific case, where the data of multiple sessions have been acquired with different settings (e.g. antenna contrast), you may have even all multiple modality data preprocessed (reorient, cropped, debiased, denoised) indendantly before being averaged and aligned by modality, and then av_T2 aligned to av_T1 (long multi data preparation
)
The short version is used for the baboon example, the long version has been tested on a data set with multiple T1s (not shown in examples).
Options¶
Reorient sub-pipeline¶
For all the preparation pipelines, it is possible to add at the beginning of the pipeline a “reorient” subpipelines by specifying An example can be found in macaque sphinx
Denoise and denoise_first¶
By default, denoising is done at the end of the preparation pipeline, on the cropped data. It is however possible to move the denoise at the beginning at the pipeline, with option denoise first. N.B.: This option is only available in long preparation (single and multi) so far