@@ -126,6 +126,14 @@ in a multiscale, mutual-information based, nonlinear registration scheme.
126126In particular, spatial normalization is done using the `ICBM 2009c Nonlinear
127127Asymmetric template (1×1×1mm) <http://nist.mni.mcgill.ca/?p=904> `_ [Fonov2011 ]_.
128128
129+ .. figure :: _static/T1MNINormalization.svg
130+ :scale: 100%
131+
132+ Animation showing T1w to MNI normalization
133+
134+ Cost function masking during spatial normalization
135+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136+
129137When processing images from patients with focal brain lesions (e.g. stroke, tumor
130138resection), it is possible to provide a lesion mask to be used during spatial
131139normalization to MNI-space [Brett2001 ]_.
@@ -137,11 +145,12 @@ in the same space and resolution as the T1 image, and follow the naming conventi
137145(e.g. ``sub-001_T1w_label-lesion_roi.nii.gz ``).
138146This file should be placed in the ``sub-*/anat `` directory of the BIDS dataset
139147to be run through ``fmriprep ``.
148+ Because lesion masks are not currently part of the BIDS specification, it is also necessary to
149+ include a ``.bidsignore `` file in the root of your dataset directory. This will prevent
150+ `bids-validator <https://github.com/bids-standard/bids-validator#bidsignore >`_ from complaining that your dataset not BIDS valid, which prevents
151+ ``fmriprep `` from running. Your ``.bidsignore `` file should include the following line::
140152
141- .. figure :: _static/T1MNINormalization.svg
142- :scale: 100%
143-
144- Animation showing T1w to MNI normalization
153+ *lesion_roi.nii.gz
145154
146155
147156Longitudinal processing
0 commit comments