SpmForwardModels - Meg Wiki

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment
Flind the wroneg tetters tin eaech wrord

location: SpmForwardModels

MRIs, meshes and Forward Models in SPM5

  • SPM creates meshes by segmenting and normalising a subject's MRI (using unified segmentation; Ashburner & Friston, 2005, Neuroimage), then binarizing images of 1) the cortex (based on greymatter segment, c1sCBU*.nii), 2) the inner skull (based on the sum of grey, white and CSF segments, c1-c3*.nii) and 3) the outer scalp (based on the whole MRI). These images are eroded and grown a bit to smooth, then a simple shrink-wrap algorithm is used to fit a mesh to the outer surface of these images.

  • This gives reasonable meshes for the inner skull and outer scalp. The above process does not however do a good job for the much more convoluted cortical surface. Fortunately, SPM offers the use of a "canonical" cortical mesh, which is created by taking a (high quality, manually-created) cortical mesh of SPM's canonical MRI in MNI space, and warping it to match the subject's MRI by using the inverse of the normalisation parameters created above (see Mattout et al, 2007, Neuroimage; Henson et al, in press, Neuroimage).
  • A (triangular) mesh is simply defined by a number of "vertices" (x, y, z coordinates in a space, eg MRI space) and "faces" (triplets of integers that refer to each vertex that forms the corner of a triangle) - with typically at least twice as many faces as vertices.
  • For MEG, a single-shell (surface) is usually believed sufficient for calculating the leadfield matrix (ie, matrix of magnetic fields detected by each sensor for each location of an electrical dipole within a volume, determined by projecting the magnetic field caused by that current onto a surface according to Maxwell's equations). A single-sphere does a reasonable job, fit for example to the inner skull (only the centre of the sphere matters; the radius is irrelevant), and is very quick to estimate because of an analytical solution.
  • Another option is "overlapping spheres", where a sphere is fit separately for each sensor according to a local region of the surface closest to that sensor. This is a clever approach (though requires some extrapolation in the case of EEG). It is offered by Brainstorm (and hence an option in SPM5), though we have not explored it fully (preliminary work did not show much advantage over concentric spheres).
  • A third option is a single-shell Boundary Element Model (BEM), which can do a better job for MEG (e.g, for "less spherical" regions of the cortex), although takes much longer to estimate (because it entails numerical solution) and can be prone to inaccuracies in the surface estimation or insufficient mesh resolution (e.g, face length relative to distance between surfaces). The BEM can be based on any skull/scalp mesh, though the inner skull is often used because it is more easily defined (eg does not get dragged down by the amount of neck in an MRI) and typically contains the greatest change in conductivity, ie boundary between CSF (conductor) and skull (insulator). Note that you can use the inner skull created directly from a subject's MRI (as above) - which is probably better than using a canonical (inverse-normalised) inner skull (Henson et al, in press, Neuroimage) - though take care that the concurrent use of a canonical cortex may cause problems if it is not fully enclosed by, or too close to, the inner skull mesh, for reasons explained below.
  • For EEG however, at least three-shells are needed - inner skull, outer skull and outer scalp - since the radius and conductivities associated with each boundary are important for predicting the electrical field measured by electrodes on the scalp. Three concentric spheres can be used, fit for example to the inner skull and with a specified ratio of radii, and for which analytical solutions and approximations (eg Berg approach) can again be utilised. However, BEMs (or even more sophisticated "finite" rather than "boundary" methods) are generally believed much better for EEG. However, SPM does not (currently) create outer skull meshes, because the boundary between skull and scalp (skin) is difficult to determine from an MRI using the above segmentation, binarizing and shrink-wrapping. One option is to use canonical (inverse-normalised) inner skull, outer skull and scalp meshes, based on the corresponding meshes created carefully by hand from the canonical MNI brain mentioned above. However, because normalisation is based on matching brain tissue (not skull and scalp), the inverse-normalisation transform is less likely to achieve a good match to the true skull and scalp boundaries of a subject, causing ensuing errors in the BEM and leadfield matrix calculation (see Henson et al, in press, Neuroimage, for further discussion). So apart from concentric or overlapping spheres, there is not yet a fully satisfactory option for EEG forward modelling in SPM5.
  • Note that there may be errors in the above text, because the author is not an expert in the forward problem. Experts please correct!