EEG-Electrodes Positions Measurement System
Abstract
Electroencephalogram (EEG) is a physiological test that measures electric
potentials on various locations over the cortex. EEG is wildly used for
diagnostics of epilepsy and other brains related disorders. It is also the main
method in investigating brain activity in the field of brain-computer interface
(BCI).
This project presents an automatic method for detection, labeling and the 3D
location reconstruction of EEG electrodes in space. Our system will be based on
methods of computer vision. It will be low-cost and simple to construct and
provide solid results using several images captured by a monocular camera.
Solution
Outline
In this project we have designed a system that will produce a 3D reconstruction
of EEG electrodes position from several images captured by a monocular camera.
The block diagram of that system is presented below:
Electrodes detection:
Automatic detection using color filtering:
L*a*b color space was chosen (to minimize the influence of illumination)
Distribute
the n colors with maximum a-b distance
Define robust distance
function:
Mark electrodes with chosen
colors
Empiric threshold value
Reconstuction & optimization:
Minimize reprojection error of LS problem
Initialize
structure (inital camera matrix & correspondenses ) based on pinhole camera
model
An immplemnetation of SBA
using off the shelf “Bundler
Toolbox“ (by Noah Snavely -
https://phototour.cs.washington.edu/bundler/
)
Experiments and Results
At least four images are needed for a full scene reconstruction; the number of images that are needed for a full 64 electrode reconstruction is around 10-15.
All of the electrodes (manual selected) were successfully reconstructed with a low MSE
The running time of the process excluding the time of electrode selection/detection is approximately five seconds
Conclusions
Accurate 3D location of all EEG electrodes can be obtained using Computer Vision methods
Automatic detection can be obtained using color filtering
Error estimation can be
done using ground truth object (a chessboard in our case)
Downloads