Fast Automated Interictal Spike Detection in iEEG/ECoG Recordings
Using Optimized Memory Access
Filip Kesner
1,2
, Jan Cimbalnik
2
, Irena Dolezalova
3
, Milan Brazdil
3
and Lukas Sekanina
1
1
Faculty of Information Technology, Brno University of Technology,
Brno, Czech Republic
2
International Clinical Research Center, Center of Biomedical Engineering,
St. Annes University Hospital, Brno, Czech Republic
3
1st Department of Neurology, St. Annes University Hospital and Medical Faculty,
Masaryk University, Brno, Czech Republic
1 MOTIVATION
Interictal spikes have been established as an impor-
tant biomarker in surface EEG and intracranial iEEG
recordings for some time (Staley et al., 2011). Spikes
are used for clinical practice and research of epilepsy,
ADHD and also in other areas (Barkmeier et al.,
2012a). Although the gold standard for interictal
spike detection has been and still mainly is a man-
ual evaluation, it has been shown that higher consis-
tency of results can be achieved by automated detec-
tion algorithm (Barkmeier et al., 2012b). Detection
algorithms can save enormous amount of work for re-
viewers and provide a faster data analysis for research
or even clinical practice.
2 OBJECTIVES
Computational efficiency is not so important when
recordings are processed from only a few channels
and a real-time detection is not necessary. Example of
those would be recordings from rodents (Ovchinnikov
et al., 2010). However, when processing intracranial
recordings from humans, in as much as 150 channels
with 5 kHz sampling rate, which are in average 30
minutes long, computational time requirements gain a
great deal of importance. While several terabytes (just
our institution) of such recordings are available for
processing, a detection algorithm has to be designed
to allow fast offline processing of intracranial record-
ings or even a real-time detection over at least hun-
dreds of channels simultaneously. In order to process
large signal data, the memory access is often a cru-
cial bottleneck for CPU processing, which puts high
requirements on effective cache utilization, to reduce
the access frequency to a slow main memory. The
goal of this paper is to propose an efficient spike de-
tection algorithm, particularly, the first level detector.
3 METHODS
3.1 Data Acquisition
Signal data which have been used for evaluation of
this detection algorithm were recorded from patients
suffering from pharmaco-resistant form of epilepsy.
The areas of brain where stereo electrodes have been
positioned vary through patients. This variability of
signal source is useful for algorithm testing, providing
a complex good-quality dataset. Signals have been
recorded approximately for 30 minutes each in 129 -
150 channels. Recordings also contain 6 non-iEEG
channels such as ECG, EOG, and calibration signals,
which can be omitted from processing. The recording
device records the data with 25 kHz sampling rate,
subsequently down-sampling them into 5 kHz range,
which is still relatively high, but it is necessary for
detection of other possible biomarkers, such as HFOs.
To illustrate the enormous size of such data
recordings, the channel size is expressed as:
channel size = 5000Hz*(30min * 60sec)* 4bytes
where the average recording file contains 150 such
channels, resulting into the file size of 5.4 GB, which
can be estimated by the following formula:
file size = 36MB * 150channels
Recordings of intracranial EEG are huge files and ter-
abytes of such data are available for processing (just
at our institution), which should be done by the pro-
posed algorithm for one 5 GB file in tens of seconds
instead of tens of minutes, as it has been done before.
3.2 Detection Algorithm
The detection algorithm has been designed to be mod-
ular, thus allowing the choice of how many modules
will be employed in detection. This approach en-
ables a direct implementation using the principles of
Kesner, F., Cimbalnik, J., Dolezalova, I., Brazdil, M. and Sekanina, L..
Fast Automated Interictal Spike Detection in iEEG/ECoG Recordings - {{\}it Using Optimized Memory Access}.
Copyright
c
2015 by SCITEPRESS – Science and Technology Publications, Lda. All rights reser ved