Digitize EEG Sensors and Head Shape

Getting Started

The Brainstorm Digitize application allows for a connection to a Polhemus device and collection of digitized head points and/or EEG sensor locations.

The connection to the device is made via a serial port connection. This can be accomplished using a direct serial connection or with a USB-to-Serial cable connection to the host computer.

polhemus.png

Figure 1. Polhemus system with two receivers and one transmitter

typical_polhemus_setup.png

Figure 2. Typical Polhemus setup

The application is designed for two receivers (i.e. the stylus and reference) one transmitter.

The stylus is used by the operator to point to the desired position for collection

The reference is fixed to the subject’s head, typically with glasses or headband. While the subject’s head can move during the collection, the reference sensor should not move from the starting position relative to the head.

The transmitter is fixed behind the subject, typically to a non-metal chair or table. The orientation is shown here, with X+ pointing up and Y+ point to the right.

transmitter.png

Figure 3. Transmitter orientation

****Care should be taken when setting up this system to ensure accurate collection. Thorough testing should be performed using known head coordinates (phantom) to determine accuracy.

The head coordinate system used in the Digitize application is based on the CTF head coordinate system, see /CoordinateSystems.

To start the Digitize application, start Brainstorm. Then select ‘Digitize’ from the File Menu.

bst_menu_digitize.png

Figure 4. Starting Digitize

The Brainstorm GUI will be hidden during the use of the Digitize application and will reappear after exiting Digitize.

The Digitize GUI

gui_noeeg_digitize.png

Figure 5. Digitize GUI

This application allows you collect:

The collection can performed by:

If an error is made during collection:

When complete the coordinates can be save in a variety of formats including CTF (*.pos), megDraw (*.eeg) or tab-delimited ASCII text.

Edit Settings

Settings for the serial connection and point collection can be adjusted using the ‘Edit settings’ menu option from the Digitize File Menu and may vary for each user.

gui_editsettings_digitize.png

Figure 6. Edit Settings

edit_settings_digitize.png

Figure 7. Edit settings dialog

Serial port name – this is the name of the serial port that is connected to the Polhemus, for example COM1 (Windows), ttyS1 (Linux).

Baud rate – this the baud rate of the connection. The default is 9600.

Byte count – this is the number of bytes that will be collected for each point and sent to the host computer.

Number of times to collect the three fiducials – these collections will occur at the beginning of the session and will be averaged together to compute the transformation to the head coordinate system.

Beep – this will generate a beep sound with each point collection (this is often helpful to realize a button press on the stylus when there is one operator).

EEG Montages

eeg_settings_digitize.png

Figure 8. Edit EEG settings

There are three options for EEG sensors:

eegmontage_example_digitize.png

EEG settings should be adjusted for each session. Custom montages that are imported are stored in the brainstorm preferences and are available on subsequent sessions.

The Coordinates list on the left panel of the GUI displays the labels of the points which have been selected for collection. This is vary depending on the number of times the fiducials are collected and the number of EEG sensors to be defined. The head shape points are not listed since this will vary depending on the individual need.

example_eeg_digitize.png

Figure 10. Example EEG setups

Collection

Collect the required number of Anatomical Fiducials

error_fiducials_digitize.png

Figure 11. Collect fiducials, error message

Collect the required number of EEG points

eeg_collection_digitize.png

Figure 12. Collect EEG

Collect the desired number of head shape points

headshape_collection_digitize.png

Figure 13. Collect head shape

Export points to text file

All points are automatically saved in the brainstorm channel file

[ATTACH]

Figure 14. Export point to text file

Tutorials/TutDigitize (last edited 2012-08-02 10:57:04 by grumio)