[TUTORIAL UNDER CONSTRUCTION: NOT READY FOR PUBLIC USE]


FEM tensors estimation with BrainSuite

Authors: Takfarinas Medani, Francois Tadel, Anand Joshi and Richard Leahy

In this tutorial, we describe the estimation of realistic conductivity tensors of living brain tissues using the BrainSuite software. These results are used in FEM forward modeling, as described in the tutorials: FEM with DUNEuro and FEM median nerve example.

The realistic tensors are estimated from the Diffusion-Weighted Images (DWI): Brainstorm calls the BrainSuite software to compute the diffusion tensors on each brain MRI voxel (DTI), then Effective Medium Approach (EMA) is applied to estimate the conductivity tensors for each element of a tetrahedral FEM mesh. This is particularly interesting for the modeling the anisotropy of the white matter.

BrainSuite is also used for other purposes in Brainstorm, particularly the T1 MRI segmentation, as documented in this tutorial: MRI segmentation: BrainSuite.

Download and installation

Requirements

Install Brainsuite

  1. Download the latest version of BrainSuite from http://forums.brainsuite.org/download/.

  2. Install it on your computer by following the instructions in BrainSuite's quick start installation guide.

  3. You will be using BrainSuite Diffusion Pipeline (BDP), so you need to install a compatible MATLAB Runtime (2019b for BrainSuite 21a).

  4. In Brainstorm, menu File > Edit preferences > Enter the BrainSuite installation folder:

    brainsuiteInstall.gif

Download the dataset

Import the anatomy

T1 MRI

Diffusion imaging

This computes the This requires BrainSuite to be installed on your computer, with the bdp program available in the system path.

Conductivity tensor generation from DTI

The Effective Medium Approach is applied to convert the diffusion tensors to the conductivity tensors.

www.pnas.org/content/98/20/11697

FEM mesh head model

This step requires the FEM mesh of the head model. You can generate the FEM head model from the MRI data as explained on this page.

For the following, we used the SimNibs FEM mesh generation. The following figure shows the FEM mesh obtained with the SimNibs method using the T1 MRI.

[ATTACH] [ATTACH]

Note that this mesh is obtained only from the T1, the use of the T2 is highly recommended if it's available, as recommended in the FEM mesh tutorial.

Computation of FEM mesh tensors

Once the FEM mesh and the DTI tensors are available in the Brainstorm database, the next step for the FEM tensors can be performed by the following:

- Right-click on the FEM mesh - Compute FEM tensors

[ATTACH]

Brainstorm checks the available tissues in the FEM head model and displays the following panel

[ATTACH]

This panel lists the tissues available in the FEM head model and assigns a default value of the conductivity for each compartment. Users can change these values to their own if needed.

DTI values can be used to generate conductivity tensors for the white matter (and in some cases for the grey matter). Please, note that the DWI can be used only for the brain tissues and not for the outers compartments (skull and skin)

In this tutorial (and in most cases) we select the white matter. Select the WM anisotropy and keep all the other tissues as isotropic, then these additional options appear asking for the method to use.

[ATTACH]

The available methods are:

- Effective Medium approach (EMA)

- Effective Medium approach with volume constraints (EMA + VC)

- Simulated or the artificial anisotropy

Only the two first methods require the DTI. More information about these methods can be found on these references [ref1][ref2] and in our main paper [link]

In this tutorial, we use the method "EMA + VC", where the final tensors are constrained to fits the volume of the equivalent isotropic tensor volume.

Visulation of FEM mesh tensors

Once the FEM tensors are successfully computed, they are stored in the FEM head node. By right-clicking on the FEM head, new menu items are added that gives the possibilities to display the FEM tensors either as ellipsoids or as vectors in the direction of the main eigenvector.

[ATTACH]

The tensors can be displayed either on the FEM mesh or overlaid on the MRI. The following figures show an example of the obtained tensors displayed on the white matter.

[ATTACH] [ATTACH]

On the left, the tensors as a line on the direction of the main eigenvector. On the right, the tensors displayed as ellipsoids. The orientation of the tensor is color-coded as follows: red for right-left, green for anterior-posterior, and blue for superior-inferior.

Note that the quality of the tensors depends on the DWI data and the number of acquisition direction.

Users can also display the tensors on specific tissues, for example on the white matter (left figure) or overlay on the MRI (right figure).

[ATTACH] [ATTACH]

Recommendation

In the case where the user wants to use generate isotropic tensors, then the DTI is not required. For that case, keep all the options to 'isotropic', the recommended display is the 'Ellipsoids', and the final shape will be a sphere (isotropic direction). In the case where more than one FEM head model is in the database, the highlighted one in the green color will be used.

Advanced

Simulated conductivity tensor

In the case where the DWI is not available, or in the case where the users desire to evaluate the effect of the conductivity change on the head model, the artificial conductivity can be used.

Users can reach this option by following this tutorial and select the third method in this panel. [ATTACH]

Two approaches are integrated within Brainstorm. Either Wang's constraint or the volume's constraint (Wolters). The common feature between these methods is the ratio between the transversal and longitudinal conductivity ratio.

A common example is the skull anisotropy simulation, where the longitudinal conductivity can be higher than the transversal conductivity, the ratio can vary from 2 to 10 [ref]. In this tutorial, we keep all the tissue as isotropic, except the skull, we use a ratio of 0.1 and select the volume constraint. The following figures show the results of this example.

"eigenvalues parallel (longitudinal) and perpendicular (transverse) to the fiber directions" for 1:10 anisotropy (transverse:longitudinal)

[ATTACH] [ATTACH]

Troubleshooting

To be completed soon and linked to BrainSuite website

References

===TODO===

Check the error in the simnibs mesh in X direction and overlay on mri check the error with the brain2mesh Correct the ratio from integer to float check the meaning of transversal/longitidunal in the code add an interactive way yo change the size of the tensor.. important correct the name of the simulated method, correct the EMC and remove the VC and change the coefficcient

Tutorials/FemTensors (last edited 2021-08-17 14:08:05 by FrancoisTadel)