Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2017 Feb 3:11:12.
doi: 10.3389/fnins.2017.00012. eCollection 2017.

BLINKER: Automated Extraction of Ocular Indices from EEG Enabling Large-Scale Analysis

Affiliations

BLINKER: Automated Extraction of Ocular Indices from EEG Enabling Large-Scale Analysis

Kelly Kleifges et al. Front Neurosci. .

Abstract

Electroencephalography (EEG) offers a platform for studying the relationships between behavioral measures, such as blink rate and duration, with neural correlates of fatigue and attention, such as theta and alpha band power. Further, the existence of EEG studies covering a variety of subjects and tasks provides opportunities for the community to better characterize variability of these measures across tasks and subjects. We have implemented an automated pipeline (BLINKER) for extracting ocular indices such as blink rate, blink duration, and blink velocity-amplitude ratios from EEG channels, EOG channels, and/or independent components (ICs). To illustrate the use of our approach, we have applied the pipeline to a large corpus of EEG data (comprising more than 2000 datasets acquired at eight different laboratories) in order to characterize variability of certain ocular indicators across subjects. We also investigate dependence of ocular indices on task in a shooter study. We have implemented our algorithms in a freely available MATLAB toolbox called BLINKER. The toolbox, which is easy to use and can be applied to collections of data without user intervention, can automatically discover which channels or ICs capture blinks. The tools extract blinks, calculate common ocular indices, generate a report for each dataset, dump labeled images of the individual blinks, and provide summary statistics across collections. Users can run BLINKER as a script or as a plugin for EEGLAB. The toolbox is available at https://github.com/VisLab/EEG-Blinks. User documentation and examples appear at http://vislab.github.io/EEG-Blinks/.

Keywords: EEG; EEGLAB; artifact; big data; blink duration; eye blinks; human behavior; machine learning.

PubMed Disclaimer

Figures

Figure 1
Figure 1
Steps used by the BLINKER software to extract blink properties from time series. Each step is described in a separate subsection of the Methods and materials.
Figure 2
Figure 2
Output of BLINKER software showing various blink landmarks. The figure overlays three different time-series (an independent component, an EEG channel, and an upper vertical EOG channel, respectively) corresponding to the time of the blink. The green crosses mark the leftBase and rightBase, respectively. The green horizontal line marks the half-zero duration. The dotted black lines represent the best linear fits to the upStroke and downStroke of the blink, respectively. The thin vertical line is the perpendicular from the tentPeak to the zero line.
Figure 3
Figure 3
Distributions of maximum blink amplitudes for the upper vertical EOG channel of three different datasets. The green line shows the histogram for all potential blinks, and the thick light gray line shows the histogram for blinks whose R2 values are at least 0.90 (good). The medium gray line shows the histogram for blinks whose R2 values are at least 0.95 (better), and the black line shows the histogram of blinks with R2 values of at least 0.98 (best). The magenta line shows the histogram of blinks selected by BLINKER. (A) Dataset has a typical distribution of blinks with a few very large amplitude non-blink artifacts. (B) Dataset has a significant number of low-amplitude non-blink eye movements well-separated from normal blink amplitudes. (C) Dataset has a significant number of non-blink eye movements with moderate R2 values and amplitude distribution that overlaps with the normal blink amplitude distribution.
Figure 4
Figure 4
BLINKER channel selection for different datasets. Dots show positions of candidate channels. Labeled channels were selected. Channels labeled in red were picked for only 1 dataset. (A) 64-channel ARL-BCIT driving collection (also has 4 EOG channels). (B) 256-channel ARL-BCIT driving collection (also has 4 EOG channels). (C) 34-channel ARL-Shoot data (also has 4 EOG channels). (D) 32-channel NCTU-LK driving data collection.
Figure 5
Figure 5
Distribution of blink durations for the four collections. Top panel shows a quantile plot against the normal distributions of the average half-zero blink duration for each dataset. The red dotted lines represent the best-fit normal distributions for the each of the four collections. Bottom panel shows the histogram of individual half-zero blink durations for each collection.
Figure 6
Figure 6
ANOVA analysis of blink rate for ARL-Shoot. (A) Top panel shows the distribution of average dataset blink rate for each of the 14 subjects (A through N) over the 9 tasks. The bottom panel shows the same distributions when each average is divided by the average of the dataset blink rates for no-math tasks. (B) Left panel compares the distributions of dataset average blink rates, grouping the math and no-math tasks for all subjects. The right panel shows the same distributions after dividing the dataset average blink rates by the subject's average no-math blink rate.
Figure 7
Figure 7
An output by BLINKER of blink 15 of a specific ARL-BCIT dataset over-plotted with landmarks manually extracted from video: First eyelid movement (red circle), eyelid at top of pupil moving downward (red x), at eyelid reversal (red cross), eyelid at top of pupil moving upward (red square), and last detectable eyelid movement (red diamond). The x-axis label shows the frames and times in seconds of the leftBase point and point of blink maximum amplitude, respectively.
Figure 8
Figure 8
Sample output from the BLINKER group display for the first and last datasets from Table 5. (A) A miss with two closely spaced candidates intermixed with a saccade. (B) A miss with a leading saccade. (C) A miss with a leading saccade. (D) A falsely detected blink that was a saccade.

Similar articles

Cited by

References

    1. Akerstedt T., Gillberg M. (1990). Subjective and objective sleepiness in the active individual. Int. J. Neurosci. 52, 29–37. 10.3109/00207459008994241 - DOI - PubMed
    1. Andreu-Perez J., Solnais C., Sriskandarajah K. (2015). EALab (Eye Activity Lab): a MATLAB Toolbox for variable extraction, multivariate analysis and classification of eye-movement data. Neuroinformatics 14, 51–67. 10.1007/s12021-015-9275-4 - DOI - PubMed
    1. Anund A., Fors C., Hallvig D., Åkerstedt T., Kecklund G. (2013). Observer rated sleepiness and real road driving: an explorative study. PLoS ONE 8:e64782. 10.1371/journal.pone.0064782 - DOI - PMC - PubMed
    1. Bell A. J., Sejnowski T. J. (1995). An information-maximization approach to blind separation and blind deconvolution. Neural Comput. 7, 1129–1159. 10.1162/neco.1995.7.6.1129 - DOI - PubMed
    1. Benedetto S., Pedrotti M., Minin L., Baccino T., Re A., Montanari R. (2011). Driver workload and eye blink duration. Transport. Res. Part F Traffic Psychol. Behav. 14, 199–208. 10.1016/j.trf.2010.12.001 - DOI