Literature DB >> 24616892

Detection of epileptic seizure event and onset using EEG.

Nabeel Ahammad1, Thasneem Fathima1, Paul Joseph1.   

Abstract

This study proposes a method of automatic detection of epileptic seizure event and onset using wavelet based features and certain statistical features without wavelet decomposition. Normal and epileptic EEG signals were classified using linear classifier. For seizure event detection, Bonn University EEG database has been used. Three types of EEG signals (EEG signal recorded from healthy volunteer with eye open, epilepsy patients in the epileptogenic zone during a seizure-free interval, and epilepsy patients during epileptic seizures) were classified. Important features such as energy, entropy, standard deviation, maximum, minimum, and mean at different subbands were computed and classification was done using linear classifier. The performance of classifier was determined in terms of specificity, sensitivity, and accuracy. The overall accuracy was 84.2%. In the case of seizure onset detection, the database used is CHB-MIT scalp EEG database. Along with wavelet based features, interquartile range (IQR) and mean absolute deviation (MAD) without wavelet decomposition were extracted. Latency was used to study the performance of seizure onset detection. Classifier gave a sensitivity of 98.5% with an average latency of 1.76 seconds.

Entities:  

Mesh:

Year:  2014        PMID: 24616892      PMCID: PMC3925519          DOI: 10.1155/2014/450573

Source DB:  PubMed          Journal:  Biomed Res Int            Impact factor:   3.411


1. Introduction

Epilepsy is one of the most prevalent neurological disorders in human beings. It is characterized by recurring seizures in which abnormal electrical activity in the brain causes the loss of consciousness or a whole body convulsion. Patients are often unaware of the occurrence of seizure due to the random nature of them which may increase the risk of physical injury. Studies show that 4-5% of the total world population has been suffering from epilepsy [1]. Electroencephalogram is one of the important tools for diagnosis and analysis of epilepsy. Electroencephalogram is the recorded representation of electrical activity produced by firing of neuron within the brain along the scalp. For recording of EEG, electrodes will be pasted at some key points on the patient's head. Electrodes pick up the signals and will be recorded in a recording device through wires which are connected to electrodes. The “10-20” system is the internationally recognized method to apply the location of electrodes in EEG recording. The “10-20” refers to the fact that actual distances between electrodes are either 10% or 20% of front-back or right-left distance of the skull [2-4]. As complete visual analysis of EEG signal is very difficult, automatic detection is preferred. Fourier transform has been most commonly used in early days of processing of EEG signals. However as EEG signal is a nonstationary signal, Fourier analysis does not give accurate results [5-7]. Most effective time-frequency analysis tool for analysis of transient signal is wavelet transform [8-10]. The automated diagnosis of epilepsy can be subdivided into preprocessing, feature extraction, and classification. Seizure detection can be classified as either seizure onset detection or seizure event detection. In seizure onset detection the purpose is to recognize the starting of seizure with the shortest possible delay. The purpose of seizure event detection is to identify seizures with the highest possible accuracy [11-16]. For treatment of epilepsy, patients take antiepileptic drugs on daily basis. But about 25% of them again experience frequent seizures. For these patients, surgery is the most important and generally adopted treatment method. Surgery can be done only if epileptogenic focus is identified accurately. For this purpose different types of tracers are used as soon as seizure onset is detected. Hence the seizure onset detection is very important [1]. Seizure detection from EEG signal was started since 1980s. In 1982 Gotman proposed a remarkable work on seizure detection [5]. Khan and Gotman proposed a wavelet based method for classification of epileptic and nonepileptic data [17]. In 2005 wavelet transform method and short time Fourier transform method were compared to determine their accuracy to determine the epileptic seizures. They found that wavelet transform method gives better performance [18]. Übeyli suggested the combined neural network model for the classification using wavelet based features [12]. Their method gave good accuracy in Bonn University data. In 2011, Gandhi et al. made a comparative study of wavelet families for EEG signal classification [11]. Important features such as energy, entropy, and standard deviation at different subbands were computed using wavelet decomposition. Feature vector was used to model and train the probabilistic neural network and classification accuracies were evaluated for each of the wavelet families. The result obtained was compared with support vector machine classifier. An onset detection system was designed by Gotman and Saab in 2004. They achieved a median detection delay of 9.8 sec and sensitivity of 77.9% using scalp EEG. Shoeb and Guttag achieved 96% sensitivity and small detection delays [6]. Sorensen et al. achieved 78–100% sensitivity when using a matching pursuit algorithm and with 5–18 seconds delay in seizure onset detection [19]. The outline of this study is as follows. Section 2 explains about the materials and methods used in this study. It includes wavelet transforms used for EEG signal processing, parameters used for classification, linear classifier, terms used to describe the performance of the classifier, and description about databases. Section 3 includes results and discussions, and the last section gives the conclusion.

2. Materials and Methods

2.1. Wavelet Transform

Wavelet transform is the representation of a time function in terms of simple, fixed building blocks termed as wavelets. These building blocks are a family of functions which are derived from a single generating function called mother wavelets using translation and dilation operations. The main advantage of wavelet transform is that it has varying window size, being broad at low frequency and narrow at high frequency. It leads to an optimal time-frequency resolution in all frequency ranges. By performing spectral analysis using wavelet transform, EEG signals consisting of many data points can be compressed into few features [20-23]. The wavelet transform can be categorized into continuous and discrete types. Continuous wavelet transform is defined as where x(t) represents the analyzed signal and a and b represent the scaling factor (dilation/compression coefficient) and translation along time axis (shifting coefficient), respectively. The superscript asterisk denotes the complex conjugation. Ψ(·) is obtained by scaling the wavelet at time b and scale a: where Ψ(t) represents the wavelet. In continuous WT, the scaling and translation parameters “a” and “b” change continuously. However, calculating wavelet coefficients for every possible scale can represent a considerable effort and result in a vast amount of data. Therefore discrete wavelet transform is commonly used. The wavelet transform can be thought of as an extension of classic Fourier transform. Instead of working on a single scale (time or frequency), it works on a multiscale basis. Multiresolution decomposition of a signal x[n] is schematically shown in Figure 1.
Figure 1

Subband decomposition of discrete wavelet transform implementation.

Each stage of this scheme consists of two digital filters and two down samplers. The first filter g[·] is high pass in nature and the second h[·] is its mirror version which is low pass in nature. The downsampled outputs of first high-pass and low-pass filters provide the detail D1 and approximation A1, respectively. The first approximation A1 is further decomposed and this process is continued up to the level we required as shown in Figure 1.

2.2. Parameters for Feature Extraction

The EEG signals, which contain many data points, can be compressed into few features that can discriminate between different classes. The features used include some wavelet based features and some statistical features without wavelet decomposition. (1) Wavelet Based Features. Energy, entropy, standard deviation, mean, maximum, and minimum were used as parameters after wavelet decomposition. The energy at each decomposition level was calculated as The entropy at each decomposition level was calculated as where i = 1,2,…, l is wavelet decomposition level from 1 to l and N is the number of coefficients of detail or approximation at each decomposition level. The standard deviation at each decomposition level was calculated using the following equation: where μ is the mean and is given by (2) Statistical Features without Wavelet Decomposition. In latency study of seizure detection two statistical features: IQR and MAD, were computed over raw data. IQR (interquartile range) is a measure of statistical dispersion. It is the difference between upper quartile (Q 3) and lower quartile (Q 1): MAD (mean absolute deviation) is the mean of absolute deviation from mean.

2.3. Classifier

The extracted features should be distinguished between normal and deviating cases. In classification stage all the features will be given to a classifier. In seizure detection problem this step is the classification between normal and epileptic EEG. In the present study linear classifier is used for classification. In a linear classifier the classification is achieved by making a decision based on the value of linear combination of features. If the input features to the classifier are a real vector then the output score is where is a real vector of weights and f is a function that converts the dot product of two vectors into the desired output. The weight vector is computed using a set of labeled training samples. Often f is simple function that maps all the values above a certain threshold to the first class and all other values to the second class. A more complex f might give the probability that items belong to certain class. A linear classifier is often used where speed of classification is an issue [9]. (1) Performance of Classifier in Seizure Event Detection. Specificity, sensitivity, and accuracy are used for determining the performance of classifiers. They are defined as (2) Performance of Classifier in Seizure Onset Detection. In seizure onset detection, performance of the detector is described by latency and sensitivity. Latency is the delay between the actual seizure onset and onset detected by the detector. If the value of latency is close to 0 the detector will have a good performance and if its value is far from 0 it will have poor performance.

2.4. EEG Data Sets Used

(1) Data Set for Seizure Event Detection. Bonn University data is used for the study of seizure event detection. The recording was done using standard 10-20 electrode placement system. The complete data sets consist of five sets each containing 100 channels which is named from A to E. Sets A and B consist of EEG segments taken from surface EEG recording carried out on five healthy volunteers. Volunteers were relaxed in an awaken state with eyes open (A) and eyes closed (B), respectively. Sets C, D, and E were taken from EEG archive of presurgical diagnosis. Segments in set D were recorded from the epileptogenic zone. Set C is recorded from hippocampal formation of opposite hemisphere of brain. Sets C and D contain only activity measured during seizure-free intervals. Set E contains only seizure activity [24]. Data is recorded within 128-channel amplifier system and digitized at 173.61 Hz sampling rate and 12 bit A/D resolution. To select the EEG signal of desired band a band-pass filter having a pass band of 0.53–40 Hz (12 dB/oct) was used. It was cut out from continuous multichannel EEG recordings after visual inspection for artifacts due to muscle activity or eye movement. (2) Data Set for Seizure Onset Detection. CHB-MIT scalp EEG database is used for study of latency. It was collected from Boston Children's Hospital. The database consists of EEG recordings with intractable seizures recorded from pediatric subjects. Sampling rate of all signals is 256 samples per second with a resolution of 16 bit. For recording the international 10-20 system of EEG electrode positions and nomenclature were used [6]. Table 1 gives a brief overview of database used for latency study.
Table 1

An overview of CHB-MIT database.

PatientAge GenderNumber of seizures
111F7
211M3
314F6
422M4
57F5
61.5F3
714.5F3
83.5M5
910F4
103M4
1112F3
122F40
133F11
149F8
1516M18
167F10
1712F3
1818F6
1919F3
206F8
2113F4
229F3
236F7
2416
The EEG data set of each patient is segmented to records of typically one hour long. Records that contain seizure and that do not contain seizure are called seizure records and nonseizure records, respectively.

3. Results and Discussion

3.1. Seizure Event Detection

In the present study the data sets A, D, and E have been used. The data used has been already gone through the preprocessing steps. One channel consists of total 4096 samples. For one channel 16 rectangular windows were formed which consists of 256 discrete data. (1) Feature Extraction Using Discrete Wavelet Transform. Selection of appropriate wavelet and the number of decomposition levels are very important in the analysis of signals using wavelet transform. The number of decomposition levels is chosen based on the dominant frequency components of the signal. The level of decomposition is chosen such that the frequencies required for classification of the signal are retained in the wavelet coefficients. In the present study the number of decomposition levels was chosen to be 4. Thus the EEG signals were decomposed into the details D1–D4 and one final approximation A4. The smoothening features of Daubechies wavelets of order 2 made it more suitable to detect changes of EEG signals [9]. Therefore, the wavelet coefficients were computed using Daubechies wavelets of order 2. The wavelets coefficients were computed using MATLAB software package. For each EEG segment, the detail wavelet coefficients at first, second, third, and fourth levels and approximation wavelet coefficients at fourth level were computed. In this study only D3, D4 and A4 are used because these coefficients represents the frequency ranges of interest [12]. The approximation coefficients at fourth level and detail wavelet coefficients at third and fourth levels of first frame of data set E are shown in Figures 2, 3, and 4, respectively.
Figure 2

Approximation coefficient at fourth decomposition level of data set E (first frame of first channel).

Figure 3

Detail wavelet coefficient at fourth decomposition level of data set E (first frame of first channel).

Figure 4

Detail wavelet coefficients at third decomposition level of data set E (first frame of first channel).

Tables 2, 3, and 4 show the extracted features of first frames of data sets A, D, and E, respectively.
Table 2

Extracted features of first frame of data set A.

Extracted featuresD3D4A4
Maximum75.7695 120.0146192.677
Minimum−92.3744−105.366−172.499
Mean1.60222.170334.4130
Standard deviation41.186560.346996.4623
Entropy4.522e + 055.47e + 051.77e + 06
Energy5.6e + 046.199e + 041.79e + 05
Table 3

Extracted features of first frame of data set D.

Extracted featuresD3D4A4
Maximum44.3488.24320.44
Minimum−30.926 −89.15−175.76
Mean1.65−2.6394.15
Standard deviation19.443.6354126.3
Entropy1.258e + 043.24e + 044.3e + 05
Energy8.2e + 042.7e + 054.5e + 06
Table 4

Extracted features of first frame of data set E.

Extracted featuresD3D4A4
Maximum1524.40001420.1001639.200
Minimum−1508.9000−117.0000−1917.600
Mean65.5614−77.2298281.4010
Standard deviation716.0870614.26151138.500
Entropy2.38e + 088.9e + 072.39e + 08
Energy1.7e + 076.9e + 062.39e + 08
(2) Classification Using Linear Classifier. A linear classifier has been trained such that it gives an output of 0 for normal EEG, 1 for set E, and 2 for set D. The calculated features were given to this classifier. Out of total 16 frames 10 frames were used for training the classifier and the rest 6 frames were used for testing. Output of linear classifier has been shown in Table 5.
Table 5

Confusion matrix of linear classifier output.

Testing setSet ASet DSet E
Set A514860
Set D1354569
Set E945456
Table 6 shows the classification accuracies of linear classifier. Accuracy has been explained in terms of specificity, sensitivity, and total classification accuracy. Total classification accuracy achieved is 84.2%.
Table 6

Classification accuracies.

Statistical parametersDb2
Specificity85.6%
Sensitivity (set D)76%
Sensitivity (set E)91%

Total classification accuracy84.2%
Some other researchers also worked on the same database. Übeyli [12] used wavelet based features along with a combination of neural network classifiers. Song and Liò [25] used sample entropy as feature and back propagation and extreme learning machine classifiers. Though the two works reported better accuracy in classification, these classifications are computationally rigorous. At the same time the present work uses the simple linear classifier.

3.2. Seizure Onset Detection

In CHB-MIT database the duration of each seizure is different. Each seizure was divided into frames of 1 second. Wavelet decomposition at four levels was done using Daubechies wavelet of order 2 for every frame. Six wavelet based features: maximum, minimum, mean, standard deviation, energy, and entropy, were computed for three wavelet coefficients, A4, D4, and D3 of last two levels of decomposition. Along with these features, two statistical features IQR and MAD were calculated for each channel of each frame without wavelet decomposition. Hence there are total 20 features for each channel of each epoch. For each epoch a vector of 23∗20 dimension was formed because each epoch is having 23 channels. Since a seizure is having T such epochs a feature vector was formed by placing them vertically and forming a feature vector of (23∗T)∗20 dimension. This feature vector is for seizure EEG signal. In the same procedure as discussed above feature vector for normal EEG signal was calculated. Classification was done using linear classifier to differentiate between seizure and normal EEG. Normal and seizure epochs were labeled using 0 and 1, respectively. Minimum of 60% of seizures were used for training and the remaining for testing for classification of each patient. Details about the number of seizures used for training and testing are described in Table 7. For example in the case of patient number 24, ten seizures were used for training and 6 for testing.
Table 7

Number of seizures used for training and testing.

Patient numberTotal number of seizuresNumber of seizures used for trainingNumber of seizures used for testing
1752
2321
3642
4431
5532
6532
7321
8532
9431
10431
11321
12402416
131183
14853
1518117
161064
17321
18642
19321
20853
21431
22321
23743
2416106
Classifier will declare a seizure in an epoch if at least 60% of channels show value of 1 as output. Latency and sensitivity were used to describe the performance of classifier. Figure 5 shows the mean latency of each patient. From the graph it is clear that zero latency is achieved in the case of patients 3, 7, 8, 12, and 17. The average latency was found to be 1.76 seconds. Figure 6 shows the sensitivity of the detector. All the seizures except one seizure in patient 14 have been detected. An average sensitivity of 98.5% has been achieved. Figure 7 shows the false detection percentage which is near zero for 13 patients.
Figure 5

Mean latency of each patient.

Figure 6

Sensitivity of the detector.

Figure 7

False detection percentage of each patient.

The comparison of results with that reported by Shoeb and Guttag [6] on the same database shows improvement in terms of sensitivity from 96% to 98.5% and average latency from 4.2 seconds to 1.76 seconds. Even though the false positive rate shows no improvement, the latency and sensitivity show much improvement.

4. Conclusion

In this work automatic detection methods of epileptic seizure event and onset have been proposed. In the case of seizure event detection Bonn University data has been decomposed with Daubechies wavelet of order 2 and six features such as maximum, minimum, mean, standard deviation, energy, and entropy were computed over the wavelet coefficients at third and fourth levels. Classification has been done using linear classifier and a total accuracy of 84.2% has been achieved. In the case of seizure onset detection, CHB-MIT database has been used. Along with features used in seizure event detection, interquartile range and mean absolute deviation have been extracted. Latency and sensitivity are used to study the performance of the linear classifier. A sensitivity of 98.5% has been achieved with an average latency of 1.76 seconds.
  11 in total

1.  Comparison of STFT and wavelet transform methods in determining epileptic seizure activity in EEG signals for real-time application.

Authors:  M Kemal Kiymik; Inan Güler; Alper Dizibüyük; Mehmet Akin
Journal:  Comput Biol Med       Date:  2005-10       Impact factor: 4.589

2.  Automatic epileptic seizure onset detection using matching pursuit: a case study.

Authors:  Thomas L Sorensen; Ulrich L Olsen; Isa Conradsen; Jonas Henriksen; Troels W Kjaer; Carsten E Thomsen; Helge B D Sorensen
Journal:  Annu Int Conf IEEE Eng Med Biol Soc       Date:  2010

3.  Detection of seizures from small samples using nonlinear dynamic system theory.

Authors:  I Yaylali; H Koçak; P Jayakar
Journal:  IEEE Trans Biomed Eng       Date:  1996-07       Impact factor: 4.538

4.  Indications of nonlinear deterministic and finite-dimensional structures in time series of brain electrical activity: dependence on recording region and brain state.

Authors:  R G Andrzejak; K Lehnertz; F Mormann; C Rieke; P David; C E Elger
Journal:  Phys Rev E Stat Nonlin Soft Matter Phys       Date:  2001-11-20

5.  A proposed diagnostic scheme for people with epileptic seizures and with epilepsy: report of the ILAE Task Force on Classification and Terminology.

Authors:  J Engel
Journal:  Epilepsia       Date:  2001-06       Impact factor: 5.864

6.  Analysis of EEG records in an epileptic patient using wavelet transform.

Authors:  Hojjat Adeli; Ziqin Zhou; Nahid Dadmehr
Journal:  J Neurosci Methods       Date:  2003-02-15       Impact factor: 2.390

7.  Wavelet based automatic seizure detection in intracerebral electroencephalogram.

Authors:  Y U Khan; J Gotman
Journal:  Clin Neurophysiol       Date:  2003-05       Impact factor: 3.708

8.  Higher Order Spectral (HOS) analysis of epileptic EEG signals.

Authors:  C K Chua; V Chandran; Rajendra Acharya; C M Lim
Journal:  Conf Proc IEEE Eng Med Biol Soc       Date:  2007

9.  Automatic recognition of epileptic seizures in the EEG.

Authors:  J Gotman
Journal:  Electroencephalogr Clin Neurophysiol       Date:  1982-11

10.  Statistics over features: EEG signals analysis.

Authors:  Elif Derya Ubeyli
Journal:  Comput Biol Med       Date:  2009-06-24       Impact factor: 4.589

View more
  11 in total

1.  BCI-Based Consumers' Choice Prediction From EEG Signals: An Intelligent Neuromarketing Framework.

Authors:  Fazla Rabbi Mashrur; Khandoker Mahmudur Rahman; Mohammad Tohidul Islam Miya; Ravi Vaidyanathan; Syed Ferhat Anwar; Farhana Sarker; Khondaker A Mamun
Journal:  Front Hum Neurosci       Date:  2022-05-26       Impact factor: 3.473

2.  A probabilistic approach for pediatric epilepsy diagnosis using brain functional connectivity networks.

Authors:  Saman Sargolzaei; Mercedes Cabrerizo; Arman Sargolzaei; Shirin Noei; Anas Eddin; Hoda Rajaei; Alberto Pinzon-Ardila; Sergio M Gonzalez-Arias; Prasanna Jayakar; Malek Adjouadi
Journal:  BMC Bioinformatics       Date:  2015-04-23       Impact factor: 3.169

3.  Automated epileptic seizures detection using multi-features and multilayer perceptron neural network.

Authors:  N Sriraam; S Raghu; Kadeeja Tamanna; Leena Narayan; Mehraj Khanum; A S Hegde; Anjani Bhushan Kumar
Journal:  Brain Inform       Date:  2018-09-03

4.  Real-time Inference and Detection of Disruptive EEG Networks for Epileptic Seizures.

Authors:  Walter Bomela; Shuo Wang; Chun-An Chou; Jr-Shin Li
Journal:  Sci Rep       Date:  2020-05-26       Impact factor: 4.379

5.  The impact of knowledge transfer performance on the artificial intelligence industry innovation network: An empirical study of Chinese firms.

Authors:  Guofeng Shi; Zhiyun Ma; Jiao Feng; Fujin Zhu; Xu Bai; Bingxiu Gui
Journal:  PLoS One       Date:  2020-05-18       Impact factor: 3.240

Review 6.  A Recent Investigation on Detection and Classification of Epileptic Seizure Techniques Using EEG Signal.

Authors:  Sani Saminu; Guizhi Xu; Zhang Shuai; Isselmou Abd El Kader; Adamu Halilu Jabire; Yusuf Kola Ahmed; Ibrahim Abdullahi Karaye; Isah Salim Ahmad
Journal:  Brain Sci       Date:  2021-05-20

7.  Wearable, Multimodal, Biosignal Acquisition System for Potential Critical and Emergency Applications.

Authors:  Chin-Teng Lin; Chen-Yu Wang; Kuan-Chih Huang; Shi-Jinn Horng; Lun-De Liao
Journal:  Emerg Med Int       Date:  2021-06-10       Impact factor: 1.112

Review 8.  Neural Connectivity in Epilepsy as Measured by Granger Causality.

Authors:  Robert Coben; Iman Mohammad-Rezazadeh
Journal:  Front Hum Neurosci       Date:  2015-07-14       Impact factor: 3.169

9.  Pannexin-1 Deficiency Decreases Epileptic Activity in Mice.

Authors:  Mark S Aquilino; Paige Whyte-Fagundes; Mark K Lukewich; Liang Zhang; Berj L Bardakjian; Georg R Zoidl; Peter L Carlen
Journal:  Int J Mol Sci       Date:  2020-10-12       Impact factor: 5.923

10.  Determinant of Covariance Matrix Model Coupled with AdaBoost Classification Algorithm for EEG Seizure Detection.

Authors:  Hanan Al-Hadeethi; Shahab Abdulla; Mohammed Diykh; Jonathan H Green
Journal:  Diagnostics (Basel)       Date:  2021-12-29
View more

北京卡尤迪生物科技股份有限公司 © 2022-2023.