.. _flairproc: .. title:: FLAIR Fluid attenuated inversion recovery ============================================================ This module performs normalization of the T2/FLAIR images based on the gray and white matter modes. The image is then registered to nativepro, then mapped to fsnative, fsLR-5k, fsLR-32k, and fsaverage5 surfaces. .. figure:: ./03_sankey_proc_flair.png :align: center -proc_flair -------------------------------------------------------- .. admonition:: Prerequisites 🖐🏼 You need to run ``-proc_structural``, ``-proc_surf`` and ``-post_structural`` before this stage .. tabs:: .. tab:: Processing steps - GM and WM segmentation of flair - Bias field correction weighted by white matter - Get the mode for each tissue: GM and WM - Normalize intensities by peak of WM (mode). This normalization will center the peak of the WM mode intensity at ZERO. - Brain mask of the normalized flair - Registration of flair to `nativepro` - Map flair midthickness to fsLR-32k, fsLR-5k and fsaverage5 .. tab:: Usage **Terminal:** .. parsed-literal:: $ micapipe **-bids** **-sub** **-out** **-proc_flair** **Optional arguments:** ``-proc_flair`` has one optional argument; .. list-table:: :widths: 75 750 :header-rows: 1 :class: tight-table * - **Optional argument** - **Description** * - ``-flairScanStr`` ```` - String to manually identify the T2/FLAIR scan for processing (eg. anat/sub-001_.nii[.gz]) Default='FLAIR' .. tab:: Outputs Directories created or populated by **-proc_flair**: .. parsed-literal:: - /micapipe//maps - /micapipe//xfm Files generated by **-proc_flair**: .. parsed-literal:: - Registration ouputs stored in */micapipe//maps*: - __surf-fsaverage5_label-midthickness_flair.func.gii - __surf-fsaverage5_label-white_flair.func.gii - __surf-fsLR-32k_label-midthickness_flair.func.gii - __surf-fsLR-32k_label-white_flair.func.gii - __surf-fsLR-5k_label-midthickness_flair.func.gii - __surf-fsLR-5k_label-white_flair.func.gii - __surf-fsnative_label-midthickness_flair.func.gii - __surf-fsnative_label-white_flair.func.gii - _space-nativepro_map-flair.json - _space-nativepro_map-flair.nii.gz - Output stored in */micapipe//xfm* - _from-flair_to-nativepro_mode-image_desc-affine_0GenericAffine.mat