BrainStorm


GUI Help

COORDINATE SYSTEMS IN BRAINSTORM

BrainStorm uses three types of coordinate systems, MRI Coordinate System (MCS), Cube coordinate system (CCS), and Subject Coordinate System (SCS).

MCS and CCS are introduced to deal with the volume of MRI data, and impose conventions on the orientation of the MRI scan (see table). Their difference is that the former is in engineering units (mm), and the later is in voxel units (integers).

We define two types of SCS, based on CTF and Neuromag conventions (see table). When processing MEG or EEG data, all structures (sensor locations, tessellated surfaces, and MRI scans) should be translated on the same SCS coordinate system.

MEG data

For MEG data, the sensor locations typically are already in CTF or Neuromag format, so no further processing is required. The users can then use the Tessellation Alignment Tool and the MRI Viewer to transform surfaces and MR volumes into SCS (the same format, CTF or Neuromag, as the sensors). This transformation requires the definition of 3 fiducials by the user: Nasion, Right Ear, and Left Ear.

EEG data

For EEG data, the user has the additional task of translating the sensor (channel) locations into the same SCS coordinate system as the surfaces and MRI volume. The overall procedure is as follows: First, choose the SCS coordinate system of preference: CTF or Neuromag? It makes no difference, choose any.

Note: It make no difference whichever system you choose, just make sure to consistently use the same one for channels/surfaces/MR volume. Both vendors are for MEG data, however we actually use their conventions to define a coordinate system. We understand it is counter-intuitive to require MEG vendors to use EEG data, but it is only for the coordinate system. You can complete an EEG study without any use of MEG data, we only need the specification of the coordinate system. However, if both MEG and EEG data are available for the same subject, choose the appropriate coordinate system for both data.

Surfaces and MR volumes are transformed into a common coordinate system, as described in the MEG case. Use the Tessellation Alignment Tool to transform the channels into the proper coordinate system, by pressing 'Align Channels'.

Coordinate Systems Definitions

System Name Origin axis X
direction and range
axis Y
direction and range
axis Z
direction and range
units
MRI Coordinate System (MCS) back, left,bottom corner (as viewed by the subject) rom Left of the brain to the Right of the brain
Range: [0 Ny]
from Posterior of the brain to Anterior of the brain. Range: [0 Nx] from bottom of the brain to the to top of the brain
range: [0 Nz]
Engineering (mm)
Cube Coordinate System (CCS) back, left,bottom corner (as viewed by the subject) from Left of the brain to the Right of the brain
Range:[1 Nj]
from Posterior of the brain to Anterior of the brain. Range:[1 Ni] from bottom of the brain to the to top of the brain
range:[1 Nk]
integer index (voxels)
Subject Coordinate System (SCS)
NEUROMAG
intersection of the line L through Left Right preauricular points and a plane orthogonal to L and passing through the Nasion point. from the Origin towards the Right pre-auricular (exactly through)
from the Origin towards the Nasian(exactly through) From the origin towards the top of the head Engineering
Subject Coordinate System (SCS)
CTF
midway on the line joining two pre-auricular points from the Origin towards the Nasian(exactly through) from the Origin towards the Left pre-auricular in the plane defined by (NAS,LPA,RPA) and orthogonal to X axis From the origin towards the top of the head Engineering

TRANSFORMATION

BrainStorm creates a Subject Coordinate System (SCS), for CTF or Neuromag data according to the user's choice, from MRI Coordinate System (MCS) by using the following affine transformation:

where R is the rotation matrix and T is the transformation vector and they are stored inside the SCS structure in *subjectimage.mat file under the subject folder. Hint: Type uiload in the Matlab command prompt and load the proper *subjectimage.mat file and see the variables under the SCS structure.

See mri2scs and scs2mri for detailed information about transformations from MCS to SCS and SCS to MCS.


MRI Viewer

Window List

CUBE COORDINATE SYSTEM (CSS)
CUBE COORDINATE SYSTEM (CSS)