Abstract
Automatic seizure detection and classification of seizures, as well as identification of pre-ictal activity in the electroencephalogram (EEG), are extremely important in clinical research. This decreases the time it takes to identify seizures and, as a result, improves seizure activity prediction. We propose a computer-aided method to detect the pre-ictal and ictal activity from a multichannel EEG signal. Three pre-processing techniques that are applied to EEG time-domain signals to generate an image database are proposed here. This image database is given as input to the machine learning algorithm for classification. Conversion of a time domain EEG signal to an image is accomplished by extracting EEG signal features such as correlation coefficient, short-time Fourier transform (spectrogram), and mutual information. The processed EEG waveform, which is represented as images, is used to train a convolutional neural network (CNN). The CNN classifies input signals into three classes—Seizure, Normal and Pre-ictal. We used the transfer learning method, which uses Alexnet, a pre-trained CNN architecture, for image training and classification. After training on the Spectrogram, Mutual Information, and Correlation coefficient image representations of the EEG signals, we have obtained a validation accuracy of 99.33%, 95.33%, and 97.5%, respectively.
Similar content being viewed by others
References
World Health Organization, Epilepsy: a public health imperative (2019)
S. Sakhavi, C. Guan, S. Yan, Learning temporal information for brain-computer interface using convolutional neural networks. IEEE Trans. Neural Netw. Learn. Syst. 29(11), 5619–5629 (2018). https://doi.org/10.1109/TNNLS.2018.2789927
A. Puce, M.S. Hämäläinen, A review of issues related to data acquisition and analysis in EEG/MEG studies. Brain Sci. 7(6), 58 (2017)
S. Noachtar, J. Rémi, The role of EEG in epilepsy: a critical review. Epilep. Behav. 15(1), 22–33 (2009)
Piastra, M. Carla et al., A comprehensive study on electroencephalography and magnetoencephalography sensitivity to cortical and subcortical sources. Human Brain Map. 42.4, 978–992 (2021)
P. Bashivan et al., Learning representations from EEG with deep recurrent-convolutional neural networks. arXiv preprint arXiv:1511.06448 (2015)
S. Sengupta et al., A review of deep learning with special emphasis on architectures, applications and recent trends. Knowl. Based Syst. 194, 105596 (2020)
G. Dong, H. Liu (eds.), Feature Engineering for Machine Learning and Data Analytics (CRC Press, 2018)
O. Koteluk et al., How do machines learn? artificial intelligence as a new era in medicine. J. Person. Med. 11(1), 32 (2021)
A. Krizhevsky, I. Sutskever, G.E. Hinton, Imagenet classification with deep convolutional neural networks. Adv. Neural Inform. Process. Syst. 25, 1097–1105 (2012)
R.G. Andrzejak et al., Indications of nonlinear deterministic and finite-dimensional structures in time series of brain electrical activity: dependence on recording region and brain state. Phys. Rev. E 64(6), 061907 (2001)
H.K. Kwok, D.L. Jones, Improved instantaneous frequency estimation using an adaptive short-time Fourier transform. IEEE Trans. Sig. Process. 48(10), 2964–2972 (2000)
V. Gerla et al., P01-Comparison of short-time Fourier transform and continuous wavelet transform for frequency analysis of sleep EEG. Clin. Neurophysiol. 129(4), e14 (2018)
H. Chen et al., Deep convolutional neural network with Scalogram for audio scene modeling. Interspeech. (2018)
H. Díaz, F. Maureira, F. Cordova, Time series of closed and open eyes EEG conditions reveal differential characteristics in the temporality of linear and non-linear analysis domain. Proc. Comput. Sci. 139, 570–577 (2018)
A. Schlögl, C. Neuper, G. Pfurtscheller, Estimating the mutual information of an EEG-based brain-computer interface 3–8 (2002)
U. Melia et al., Mutual information measures applied to EEG signals for sleepiness characterization. Med. Eng. Phys. 37(3), 297–308 (2015)
J. Schmidhuber, Deep learning in neural networks: an overview. Neural Netw. 61, 85–117 (2015)
A. Vedaldi, L. Karel, in Proceedings of the 23rd ACM international conference on Multimedia. Matconvnet: convolutional neural networks for matlab (2015)
K. Simonyan, Z. Andrew, Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556 (2014)
C. Szegedy, et al., in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. Going Deeper with Convolutions (2015)
K. He, et al., in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. Deep Residual Learning for Image Recognition (2016)
R. Tibor Schirrmeister, et al., Deep learning with convolutional neural networks for decoding and visualization of eeg pathology. arXiv e-prints: arXiv-1708 (2017)
C. Goutte, E. Gaussier, A Probabilistic Interpretation of Precision, Recall and F-Score, with Implication for Evaluation (European conference on information retrieval, Springer, Berlin, Heidelberg, 2005)
R.U. Acharya et al., Deep convolutional neural network for the automated detection and diagnosis of seizure using EEG signals. Comput. Biol. Med. 100, 270–278 (2018)
S. Roy, I. Kiral-Kornek, S. Harrer, in Conference on Artificial Intelligence in Medicine in Europe. ChronoNet: A Deep Recurrent Neural Network for Abnormal EEG Identification. (Springer, Cham, 2019)
Y. Yuan et al., A multi-view deep learning framework for EEG seizure detection. IEEE J. Biomed. Health Inform. 23(1), 83–94 (2018)
S. Wang, EEG detection and de-noising based on convolution neural network and Hilbert-Huang transform. et al., 10th International Congress on Image and Signal Processing (BioMedical Engineering and Informatics (CISP-BMEI), IEEE, 2017), pp. 2017
Y. Yuan, et al., A multi-view deep learning framework for EEG seizure detection. IEEE J. Biomed. Health Inform. 23.1, 83–94 (2018)
Funding
None.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no conflict of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Cleatus, T.S., Thungamani, M. Epileptic Seizure Detection using Spectral Transformation and Convolutional Neural Networks. J. Inst. Eng. India Ser. B 103, 1115–1125 (2022). https://doi.org/10.1007/s40031-021-00693-4
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s40031-021-00693-4