DSMS and Online Algorithms



Fig. 14.1
Block diagram of the EEG-ECG based online seizure detection architecture



The data captured from the 
$$ N+1 $$
sensors (where N are the EEG electrodes plus one ECG channel) have been synchronized and transmitted as streams of multidimensional signals. Thus, the input to the illustrated in Fig. 14.1 architecture consists of time-synchronous streams of EEG and ECG signal samples. As shown in Fig. 14.1, in a first step the EEG, 
$$ {x}_{EEG}\in {\mathbb{R}}^N $$
, and ECG, 
$$ {x}_{ECG}\in \mathbb{R} $$
, signals are pre-processed. Pre-processing consists of frame blocking of the incoming streams to epochs of constant length w with constant time-shift s. Each epoch is a 
$$ \left(N+1\right)\times (w) $$
matrix, where N is the number of EEG electrodes and 
$$ N+1 $$
is the N-dimensional EEG signal appended by the ECG signal.

After pre-processing, the extracted epochs are in parallel processed by time-domain and frequency-domain feature extraction algorithms separately for the N-dimensional EEG and the 1-dimensional ECG signals. In particular, each of the N-dimensions of the EEG signal are processed by time-domain and frequency-domain feature extraction algorithms for EEG, while the ECG signal is processed by time-domain feature extraction algorithms (based on heart rate estimation) dedicated for electrocardiogram, as shown in the block diagram of Fig. 14.1. The extracted time-domain and frequency-domain features for the EEG, 
$$ {T}_{{}_{EEG}}^i\in {\mathbb{R}}^{\left|{T}_{EEG}\right|} $$
and 
$$ {F}_{{}_{EEG}}^i\in {\mathbb{R}}^{\left|{F}_{EEG}\right|} $$
, with 
$$ 1\le i\le N $$
, and the ECG signal, 
$$ {T}_{ECG}\in {\mathbb{R}}^{\left|{T}_{ECG}\right|} $$
, are afterwards concatenated to a single feature vector 
$$ V\in {\mathbb{R}}^{N\cdot \left(\left|{T}_{EEG}\left|+\right|{F}_{EEG}\right|\right)+\left|{T}_{ECG}\right|} $$
representing each epoch, as shown in Fig. 14.1. The extracted sequences of feature vectors, V, are short-time parametric representations of the EEG and ECG signals representing the time and spectral characteristics of the multimodal signals. This sequence of feature vectors is afterwards used as input to a classification model in order to assign a class label (seizure class or non-seizure class) to each of the vectors, i.e. to the corresponding time-intervals of the vectors.

During the training phase of the seizure detector, a dataset of feature vectors with known class labels (labeled manually by medical experts) is used to train a binary model M (two classes: seizure vs. non-seizure) using a classification algorithm f. At the test phase the existing seizure model, M, is used in order to decide for each epoch’s feature vector, V, the corresponding class using the same classification algorithm, f, as in the training phase. Thus, for each epoch i a binary label d i , i.e. seizure or not, is decided as:



$$ {d}_i=f\left({V}_i,M\right) $$

(1)
and the sequence of incoming EEG-ECG data is decomposed to time-intervals of seizure or clear (non-seizure) recordings. Post-processing of the automatically detected labels can be performed for improving the performance of the architecture.

During pre-processing the time-synchronized EEG and ECG recordings were frame blocked to epochs of 1-s length, without time-overlap between successive epochs. For each epoch, time-domain and frequency domain features were extracted separately for the each of the 21 EEG channels and the ECG channel.

In particular, each of the EEG channels was parameterized using the following features: time-domain features: minimum value, maximum value, mean, variance, standard deviation, percentiles (25 %, 50 %-median and 75 %), interquartile range, mean absolute deviation, range, skewness, kurtosis, energy, Shannon’s entropy, logarithmic energy entropy, number of positive and negative peaks, zero-crossing rate, and frequency-domain features: Sixth order autoregressive-filter (AR) coefficients, power spectral density, frequency with maximum and minimum amplitude, spectral entropy, delta-theta-alpha-beta-gamma band energy, discrete wavelet transform coefficients with mother wavelet function Daubechies 16 and decomposition level equal to eight, thus resulting to a feature vector of dimensionality equal to 55 for each of the 21 EEG channels, i.e. 1155 in total.

The ECG channel was parameterized using the following features: the heart rate absolute value and variability statistics of the heart rate, i.e. minimum value, maximum value, mean, variance, standard deviation, percentiles (25 %, 50 %-median and 75 %), interquartile range, mean absolute deviation, range, thus resulting to a feature vector of dimensionality equal to 12. The heart rate estimation was based on Shannon energy envelope estimation for R-peak detection algorithm, implemented as in [2]. The dimensionality of the overall feature vector V is 1155 + 12 = 1167.

Only gold members can continue reading. Log In or Register to continue

Stay updated, free articles. Join our Telegram channel

Oct 29, 2016 | Posted by in NEUROSURGERY | Comments Off on DSMS and Online Algorithms

Full access? Get Clinical Tree

Get Clinical Tree app for offline access