/** \page Doc_Mensia_AdvViz_UseCases Use-cases We describe in this section of the documentation several use-cases, typical and concrete examples of EEG analysis that are enlighted by the Mensia Advanced Visualization Toolset. \section Doc_Mensia_AdvViz_UseCases_1 EEG Signal analysis This detailed example uses the basic OpenViBE signal processing boxes to perform elementary real-time analysis, and the Mensia Advanced Visualization Toolset to display the results: - Raw and filtered EEG - Spectrum, time-frequency map - 2D and 3D topographies You can find this scenario in the provided sample set, the scenario file name is \textit{UseCase-1-EEG-signal-analysis.mxs}. \subpage Doc_Mensia_AdvViz_UseCases_SignalAnalysis \section Doc_Mensia_AdvViz_UseCases_2 Event-Related Potentials analysis This use-case is focused on the ERP extraction and visualization, applied to P300 speller data. The Mensia Advanced Visualization boxes allows concurrent and comparative displays (e.g. target versus non-target potentials), and synchronized replay capabilities You can find this scenario in the provided sample set, the scenario file name is \textit{UseCase-2-ERP-analysis.mxs}. \subpage Doc_Mensia_AdvViz_UseCases_ERPAnalysis \page Doc_Mensia_AdvViz_UseCases_SignalAnalysis Use-case 1: EEG Signal analysis \section Doc_Mensia_AdvViz_UseCases_SignalAnalysis_Intro Introduction This use-case is a simple yet concrete example of real-time EEG analysis usually performed with OpenViBE. The scenario covers the use of oscilloscope, bitmaps, bars and topographic views to display signal, spectrum, and band power. \section Doc_Mensia_AdvViz_UseCases_SignalAnalysis_Scenario The scenario The signal used is a motor imagery session, where the participant performed right and left hand motor imagery trials. For more details, please refer to the official documentation of the OpenViBE motor-imagery bci scenarios, provided with the official release of the software. We chose these data for demonstration purpose only as it is a file provided with the official release of openvibe, and should be available for you anyway. \subsection Doc_Mensia_AdvViz_UseCases_SignalAnalysis_Scenario_Filtering Signal filtering We first remove artifacts using temporal filters, especially the common 50Hz noise coming from the electrical installation. The EEG amplifier used for the record we read here is a Mindmedia NeXuS 32b, with one reference channel put on Nz (nose). The Reference Channel box applies this spatial filter to further remove noises. We then use a \ref Doc_BoxAlgorithm_ContinuousOscilloscope to display the filtered signal. \image html UseCase1_1.png "Denoising the signal before display" \image latex UseCase1_1.png "Denoising the signal before display" width=8cm \subsection Doc_Mensia_AdvViz_UseCases_SignalAnalysis_Scenario_Spectrum Spectral analysis A first pipeline computes two surface Laplacian filters around C3 and C4, the center of the two motor cortices. We then compute the spectrum using FFT, up to 32 Hz, and display it using \ref Doc_BoxAlgorithm_InstantBars (spectrum levels) and \ref Doc_BoxAlgorithm_StackedBitmapHorizontal (time-frequency map). \image html UseCase1_2.png "Spectral analysis over filtered data" \image latex UseCase1_2.png "Spectral analysis over filtered data" width=8cm \subsection Doc_Mensia_AdvViz_UseCases_SignalAnalysis_Scenario_Topo Topographic display We compute in a parallel pipeline the alpha band power, averaged over several epochs, and visualize it over the scalp through \ref Doc_BoxAlgorithm_2DTopography and \ref Doc_BoxAlgorithm_3DTopography. \image html UseCase1_3.png "Topographic display of the alpha band power over the scalp" \image latex UseCase1_3.png "Topographic display of the alpha band power over the scalp" width=8cm \section Doc_Mensia_AdvViz_UseCases_SignalAnalysis_Result Result Here is the online visualization when we play this scenario on the provided data. \image html UseCase1_6.png "Signal display" \image latex UseCase1_6.png "Signal display" width=10cm \image html UseCase1_4.png "Spectrum visualization" \image latex UseCase1_4.png "Spectrum visualization" width=10cm \image html UseCase1_5.png "2D and 3D Topographies" \image latex UseCase1_5.png "2D and 3D Topographies" width=10cm */