Inverse Solutions Display

 

If you don't know how to get this display on the first hand, please read this topic first . Also note that very often Inverse Solutions will be nicknamed IS.

You can compute the inverse matrices here , or compute the results of inverse solutions from EEG (or frequency) files.

Buttons

Display modes:

Mouse

Menus

Edit
Search
Regularization
Options

Technical points

How do I get this display?
How do I compute the Inverse Solutions matrices?
Matrix results: scalar of vectorial
Time Averaging
Time Sequence
Time Animation
Combining 2D IS and 3D IS
Changing the color of the MRI
Interpolating between solution points
Solution points distribution

Inverse Solutions Display - Buttons

Display modes

Your display will depend mainly on these 5 buttons. Most of the time their effects combine together to provide some rich output, so knowing their roles is fundamental to get the most of this display!

Show Inverse Solution on 2D clipping planes 

The IS will be drawn in 2D (flat) on the current clipping planes , the values seen are the ones intersecting those planes.

The button cycles between 3 states:

 

See an example, on top of a single MRI clipping plane (you can set all 3 planes if you wish):

Be aware that if no clipping planes are set, there will be nothing to see!

However, you can have a clipping plane selected without any MRI rendering . This will draw only the IS, as f.ex.:

Finally, note that the coloring only occurs where the MRI mask provided has non-null values .

Show Inverse Solution in 3D 

Display the IS values in 3D.

There are 4 states for this mode:

 

See an example, on top of a single MRI clipping plane:


The "Berries" display is the fastest, and it gives a good idea of where the sources are.

The "Potatoes" display is a little slower, and it gives an exact 3D isosurface, which can be intersected by other 3D objects (clipping planes, other windows...). The drawback is that it only plots the outer surface of the IS, and you can not differentiate between all these "potatoes" which one is the strongest.

The "Onions" display is the slowest one, as it is indeed a serie of isosurfaces, set with different cutting values, and drawn transparently. It has the advantage over the "Potatoes" display that you can see "through" the first isosurface. So you can tell which "potato" is the most important, on first sight (see in the examples above, the potatoes below the clipping plane are not so strong). The "onions" are also 3D objects that can intersect with others (clipping planes, other windows...).

Show Inverse Solution as 3D vectors 

If the results of the IS is vectorial, this will display each of the vectors in 3D .

The small sphere stands for the origin of the vector (i.e. the solution point location of the IS), and the length / width / coloring of the vector will vary according to the strength of the vector.

The usual Brightness / Contrast tuning also applies here, and you might have to highly increase the brightness, or to zoom in, if you want to clearly distinguish each vector!

 

See a (zoomed in) example:

Show MRI 

You can change the way the current MRI is displayed (see here to change the MRI color and properties).

This button is a more convenient way (and faster) to linking the MRI window into the IS one.

The modes availables are exactly the same as the ones from the MRI display .

 

See some examples, with the IS in the 3D "Potatoes" mode :


Show Solution Points 

You can add the solution points location in your display.

This button is a more convenient way (and faster) to linking the Solution Points window into the IS one.

The button cycles between 3 states:

 

See an example, with the IS in the 3D "Potatoes" mode :

Regions Of Interest 

This button is enabled if a .rois file is available in the link many file , and the dimension of the rois is equal to the number of solution points .

Pressing this button will cycle within all possible rois listed in the link many file. Once a roi is active, the IS computation is run as usual, then the results are averaged for each region at a time. All the solution points of a given region will then receive the same averaged value, so the display will appear as big chunks of equal values (this is normal).

 

See an example, without and with rois, while using the Berries display . We can see on the second picture that all the solution points beloging to a given region have the same value / color!

You might be interested to learn how to create the rois file , too?

Clipping planes 

Set the active clipping planes.

See the equivalent MRI related topic , plus the 2D IS topic, if you want to see the IS on these planes.

Slice mode 

Switch to a serie of slices, either in the Coronal, Transverse or Sagittal planes.

Visit the equivalent MRI related topic .

 

See an example:

Each view is a serie of 2D intersecting planes, on which the IS is always drawn in 2D , exactly the same way as here.

In each view, the last MRI drawn has a different orientation, as to figure out where the slices (the grey lines) come from. Moreover, you can still change the appearance of this MRI and which IS is drawn on it.

You can still rotate the slices, if the orientation does not suit you...

Show Min / Max 

Same behavior as the MRI Max feature , except that it works on the Inverse Solution values instead.

Note that the Min is only available if the current Inverse Matrix can produce scalar value results.

 

See an example, either with 2D IS or 3D IS :

Find Min / Max positions 

Same behavior as the MRI Find Max feature, except that it works on the Inverse Solution values instead.

Note that this is independent from displaying the min / max positions.

 

If both the Min and Max values are available, they can only be shown at once in the Slice mode display , f.ex.:

In all the other displays, the absolute greatest one will be used to set the clipping plane, f.ex.:

You can still shift the clipping planes by hand, but each time you will release the mouse, Cartool will go back to the automatic positionning. This is done on purpose, so you can explore the other slices to check for some other sweet spots.

Brightness 

Changing the brightness has a slightly different effect according to wether you are in a 2D IS or in a 3D IS mode.

Contrast 

Changing the contrast has a slightly different effect according to wether you are in a 2D IS or in a 3D IS mode.

Color auto scaling 

The color auto scaling has a slightly different effect according to wether you are in a 2D IS or in a 3D IS mode.

Color modes 

You have 2 series of color modes available, and Cartool automatically choose the serie according to the type of IS matrix . These matrices being able to produce either signed or non-signed results.

Within the selected serie, you can of course switch between different color modes (for the Inverse Solutions), similarly to the Potentials.

Reset Regularization 

See here.

Previous Regularization 

See here.

Next Regularization 

See here.

Find optimal Regularization 

See here.

Switch to another Inverse matrix 

The link file can contain more than one Inverse Solution matrix . This is a very convenient way to test different models, each model having its own brightness and contrast values stored.

The name of the current IS is written in the top-right part of the window.

Switch to another MRI 

The link file will usually contain more than one MRI file . By cycling between these MRIs you can focus your message either on the grey matter, the full brain or the full head.

F.ex. the same 3D "onions" IS on top of two different MRIs (of the same head):

Inverse Solutions Display - Mouse

See the general mouse actions, and especially the brightness and contrast control and the polling function .

Inverse Solutions Display - Menus

Edit menu

Search menu

Regularization menu

Options menu

Inverse Solutions Display - Technical points

How do I get this display?

This display is actually automatically generated when enough files have been linked together, and therefore share enough informations.

There are two cases concerning the files:

First case:

 

Cartool will multiply the IS matrix with each time frames of each EEG files, in real-time.

Second case:

 

The multiplication of the IS matrix and the EEG data has been done somewhere else (f.ex. with the File Calculator ), and the result is stored in a RIS file. This is usually faster to work with, but it lacks suppleness, as the data are computed once for all.

It can be very useful, though, if you want to compute the inverse solutions with your own recipe.

Important points:

 

Recommended readings: the fabulous Linking Files story, and the ignominous " Windows in Slavery " tale.

How do I compute Inverse Solutions matrices?

Either from the Cartool toolbox, or from third-party applications.

Matrix results: scalar or vectorial

According to the model underneath the IS matrix you are using , the results at each solution points location can either be some signed scalar values, or vectors (direction plus intensity of the source). This is wired into the matrix and can not be changed by Cartool!

It has the following consequences:

Time Averaging 

This is the same as the basic Time Averaging .

Note however the potential effect of changing the Averaging precedence , which can lead to different results.

Time Sequence 

This is the same as the basic Time Sequence .

See a few typical examples here, with the relevant parameters also specified:

 

 

Time Animation 

This is the same as the basic Time Animation .

At the moment, the smoother animation will be by using the highly optimized Slice Mode!

Combining 2D IS and 3D IS

This is a possible, but not very useful, combination. That is why most of the time, unless you really want it, Cartool makes 2D and 3D IS exclusive (you can still force them together, though).

The 2D IS applies only on the clipping planes or the slices, so it is more restricted view than the 3D IS. When you turn on the 3D IS, then the 2D IS is switched off, because it does not bring more informations, and increase the display time. However you can bring it back by clicking again on the 2D IS button, which gives you both the planar and the 3D IS:

Finally, also note that switching off the 3D IS will re-activate the 2D IS back.

 

Changing the color of the MRI

All the color options within the IS display only apply to the Inverse Solutions themselves.

Changing the MRI coloring (changing the brightness, or the color mode f.ex.) is done very simply by switching to the related MRI window, and do your changes there. The results are shown in real-time, so you can easily tune your IS display:

A good hint: if you want only to change the brightness / contrast of the MRI , you don't even need to make the window active ("clicking" on it). It is enough to use the right-click above the MRI window .

 

Interpolating between solution points

The Solution Points are actually a sub-sampling of the brain grey matter . To fill the spaces between the SPs, some kind of interpolation is therefore needed.

A 4 Nearest Neighbors (4NN) method is used, due to its nice visual output.

Note that the interpolation is restricted to the content of the grey mask .

  

Solution points distribution

The solution points, according to which IS model is used, can either be placed with a regular interval spacing, or arbitrarily distributed among the grey matter voxels.

In fact, you shouldn't care that much about this, Cartool does it best to handle both cases. However, in case of non-regular solution points , the 3D IS isosurface rendering is noticeably slower, because it is computed in the full grey matter space. The regular grid case, on the other hand, use this property to compute the isosurface on a downsampled version of the grey matter MRI .

See an example of regularly and non-regularly distributed solution points (this is not a perspective distortion):