Warping the anatomy templates

Authors: Francois Tadel, John C Mosher

The best results for source localization are obtained with an individual anatomy of each subject, that are processed to extract the cortex and the scalp surface. Unfortunately, scanning a subject in an MRI costs in time and money, and may not be available for the source analysis. You can use a template anatomy (ICBM152, Colin27 or other), but for subjects with head shapes that are very different from the template the localization errors can be large.

For this purpose, Brainstorms offers an intermediate solution: Creating a pseudo-individual anatomy based on the head points that were digitized before the MEG/EEG acquisition. These points really represent the shape of the head of the subject, they can be used to scale and deform the template MRI and surfaces.

Prepare the anatomy template

The anatomical landmarks (NAS, LPA, RPA) defined when digitizing the head shape must be the same as the ones used in the default anatomy of the protocol (Colin27, ICBM152, FSAverage). By default, the LPA/RPA points are defined at the junction between the tragus and the helix, as represented with the red dot in the Coordinates systems page.

If you want to use an anatomy template but used a different convention when digitizing the position of these points, you have to modify the default positions of the template with the MRI Viewer.

Prepare the subject

We are going to test this feature with the protocol TutorialIntroduction (from the introduction tutorials).

Edit the initial MRI/MEG registration

The warping process is very sensitive to the initial position of the head points relatively to the scalp surface. You really want to make sure that the alignment is correct before running the deformation of the default anatomy, and fix it if necessary.

Warping anatomy

Right-click on the channel file > Digitized head points > Warp > Deform default anatomy to fit these points.

You get two questions asked: First the method to use:

If you have some misplaced points in your list of digitized head points, you can skip these outliers in the deformation and get a smoother results. Unless you have a lot of bad points or very few points, you can leave this default to 2% of the points.

Go in the Anatomy view of the protocol (first button on top of the database explorer). All the files from the default anatomy, MRI and surfaces, have been deformed to fit the head points from the channel file of SubjectWarp.

The following figures represent the anatomy before (left) and after (right). Don't worry about the alien shape of the head: the parts of the head shape that are poorly deformed (the lower part of the head) are the regions where there were no head points. What matters is the shape of the cortical surface, which looks really good in this case.

You can do a final check to verify that the generated surfaces match the head points. Right-click on the channel file > MRI registration > Check.





Feedback: Comments, bug reports, suggestions, questions
Email address (if you expect an answer):


Tutorials/TutWarping (last edited 2016-08-02 20:18:00 by FrancoisTadel)