= Volume source estimation = ''Authors: Francois Tadel, John C Mosher'' The default approach for the source estimation in Brainstorm is to limit the source space to the cortex surface. This choice is motivated by the assumption that most of the activity we record in MEG and EEG comes from the cerebral cortex. Constraining the source reconstruction to a surface works well when this assumption is verified, and the results we obtain are much easier to review than a full volume. However, when studying the activity from deeper regions of the brain or when processing recordings from patients with serious anatomical abnormalities, this cortical constraint is not always adapted. This tutorial explains how to construct a grid of dipoles that samples the full brain volume. <> == Compute a volume head model == The example below uses the protocol TutorialIntroduction created in the [[http://neuroimage.usc.edu/brainstorm/Tutorials#Get_started|introduction tutorials]]. * Select the protocol TutorialIntroduction. Go to the view "Functional data (sorted by subjects)". * In the imported Run01, right-click on the channel file > '''Compute head model '''> '''MRI volume'''. <
><
> {{attachment:gridOptions.gif||height="420",width="673"}} * '''Generate from cortex surface''': Creates a grid that samples the brain volume in an adaptive way, denser at the surface (we expect a higher spatial resolution close to the sensors), and sparser at the center of the brain. This grid is created with following algorithm: * Start with a brain envelope with a given number of vertices ('''Initial number of vertices'''). * Shrink the previous layer, and downsample it by a given factor (option '''Downsampling factor'''). * Repeat this operation ['''Number of layers'''] times, or until there are no more vertices. * '''Regular grid''': Creates a regular grid with one grid point every few millimeters (option Grid resolution) in the three directions (x,y,z). * '''Load from a file/variable''': If you already have a grid of points you would like to use, you can import it from a file or a Matlab variable (only one field, [N,,points,,x3] values). * '''Use template grid''': This option is only available when a template source grid has been defined on the default anatomy. For more information, see the tutorial [[http://neuroimage.usc.edu/brainstorm/Tutorials/CoregisterSubjects#Volume_source_models|Group analysis: Subject coregistration]]. * '''Preview''': For each combination of parameters, you can see the total number of grid points at the bottom of the option window. Click on [Preview] to see the grid. The screen captures below show an adaptive grid (left) and a regular grid (right). <
><
> {{attachment:grid.gif||height="259",width="652"}} * Leave all the intial options and click [OK]. A new head model is computed. <
><
> {{attachment:treeHeadmodel.gif}} == Compute sources == * Make sure your new volume head model is selected as the default one (displayed in green). * Right-click on this head model > '''Compute sources [2016]''' > Unconstrained '''dSPM'''. <
><
> {{attachment:dspm.gif}} * Note that only the '''Unconstrained''' dipole orientation is available. In the previous tutorials, the source space was the cortical surface, and we were able to use the normals to this surface to constrain the model. For a random grid of points, we cannot privilege one orientation more than another. Three orthogonal dipoles will be defined at each point of the grid. * Right-click on the dSPM sources for the Deviant average > '''Cortical activations'''. <
><
> {{attachment:treeSource.gif}} * The two menus '''Display on MRI (3D)''' and '''Display on MRI (MRI Viewer)''' were already introduced in the tutorial [[http://neuroimage.usc.edu/brainstorm/Tutorials/SourceEstimation#Display:_MRI_Viewer|Source estimation]]. You can use the sliders in the Surface tab to adjust the display. The bilateral response in the auditory cortices is very clear starting from 60ms.<
><
> {{attachment:mri3d.gif||width="240px"}} {{attachment:mriViewer.gif||width="320px"}} == Volume scouts == The regions of interest on the surface were introduced in the tutorial [[Tutorials/Scouts|Scouts]]. In a similar way, we can also create regions of interests from the volume sources. In this context, a scout is a subset of the the grid of points used to estimate the sources. We cannot create them in the default atlas "User scouts", which is reserved to scouts created directly on the cortex surface. * Right-click on the dSPM sources for the Deviant average > '''Display on MRI (3D)'''. * Go to '''60ms''' and in the Surface tab, set the amplitude threshold to '''20%'''. * From the scout tab: menu Atlas > New atlas > '''Volume scouts'''. {{attachment:atlas_volume.gif||height="245",width="670"}} * Note that this volume atlas will be valid only for this grid of sources. If you compute another volume head model with a different grid, this atlas won't be available. To help you keep track of this, the name of the new atlas includes the number of grid points (eg. "Volume scouts 15004"). * You can start drawing scouts with the 3D figure: Click on the button '''[Create scout]''', then click on one of the slices to define the center of your scout. The interface detects the coordinates of the point you clicked in the MRI and finds the closest point in the source grid. * To be able to select the region you want, you need to '''move the slices''' before creating the scout: right-click and move the mouse in the direction of the slice, or use the sliders in the section Resect in the Surface tab. * '''Grow''' the ROI with the buttons in the Scout tab ([<<], [<], [>], [>>]) and rename it (double-click). * Create two scouts for the left and right primary auditory cortices: '''A1L''', '''A1R'''. <
><
> {{attachment:scouts_3d.gif||height="282",width="578"}} * Display the scouts time series (first button in the Scout toolbar). With the option "'''Values:Absolute'''" selected, the values are averaged separately for the three orientations (x,y,z), then the norm of these three orientations is displayed: sqrt(x^2^+y^2^+z^2^).<
><
> {{attachment:scouts_ts.gif||height="221",width="482"}} * If you select the option "'''Values:Relative'''", you can observe the amplitude along the three orientations separately instead of the norm. <
><
> {{attachment:scouts_relative.gif||height="222",width="523"}} <>