Skip to main content

Advertisement

Log in

An automated classification of EEG signals based on spectrogram and CNN for epilepsy diagnosis

  • Published:
Analog Integrated Circuits and Signal Processing Aims and scope Submit manuscript

Abstract

Epilepsy disease is one of the most prevalent neurological disorders caused by malfunction of large symptoms number of neurons. That’s lead us to propose an automated approach to classify Electroencephalography (EEG) signals of the aforementioned pathology. To realize an efficient seizures detection the output of our classification is divided into three classes; normal, pre-ictal and ictal class. In fact, we propose to use the Short-Time Fourier Transform (STFT) as a non-stationary signal processing technique to extract useful information from the EEG signals. After that, we transform the STFT into a spectrogram image which will be used as an input in the classification process. In this context, we developed a deep convolutional neural network (CNN) model capable to efficiently detect and classify epilepsy seizures based on the EEG spectrogram images. It should be noted that the database used in this work is the publicly available EEG data set of Bonn University. In order to evaluate the performance of the proposed classification method several metrics are calculated, such as; sensitivity, specificity, accuracy and precision. The experimental results prove that the proposed method is a powerful tool in classifying EEG signals with a high average accuracy rate of 98.22%.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6

Similar content being viewed by others

References

  1. World Health Organization. « Epilepsy » [En ligne] https://www.who.int/news-room/fact- sheets/detail/epilepsy/ (Updated June 2019).

  2. Sairamya, N. J., George, T., Ponraj, D. N., & Subathra, M. S. P. (2018). Automated detection of epileptic seizure using histogram of oriented gradients for analysing time frequency images of EEG signals. CCIS., 828, 932–943.

    Google Scholar 

  3. Vidyaratne, L. S., & Iftekharuddin, K. M. (2017). Real-time epileptic seizure detection using EEG. IEEE Transactions on Neural Systems and Rehabilitation Engineering., 25(11), 2146–2156.

    Article  Google Scholar 

  4. Alotaiby, T. N., Alshebeili, S. A., Alshawi, T., et al. (2014). EEG seizure detection and prediction algorithms: A survey. EURASIP Journal on Advances Signal Processing., 2014, 183.

    Article  Google Scholar 

  5. Tzallas AT, Tsipouras MG, Tsalikakis DG, Karvounis EC, AstrakasL,Konitsiotis S, et al. Automated epileptic seizure detection methods: a review study. In: Epilepsy-Histological, Electroencephalographic and Psychological Aspects. I oannia: In Tech (2012). P 75–98.

  6. Ahmad, M.Z.; Saeed, M.; Saleem, S.; Kamboh, A.M. Seizure detection using EEG: A survey of different techniques. In Proceedings of the International Conference on Emerging Technologies (ICET), Islamabad, Pakistan, 18–19 October 2016; pp. 1–6.

  7. Y. Wang, S. Liang, F. Shaw, Y. Huang and Y. Chen, "An energy efficient real-time seizure detection method in rats with spontaneous temporal lobe epilepsy," 2013 IEEE Symposium on Computational Intelligence, Cognitive Algorithms, Mind, and Brain (CCMB), Singapore, 2013, pp. 29-35.

  8. Srinivasan, V., Eswaran, C., & Sriraam, N. (2005). Artificial neural network based epileptic detection using time-domain and frequency-domain features. Journal of Medical Systems, 29(6), 647–660.

    Article  Google Scholar 

  9. S. Mousavi, M. Niknazar, and B. V. Vahdat, “Epileptic seizure detection using ar model on eeg signals,” in 2008 Cairo International Biomedical Engineering Conference. IEEE, 2008, pp. 1–4.

  10. S. Ramakrishnan, A. S. Muthanantha Murugavel and P. Saravanan, "Epileptic EEG Signal Classification using Multi-class Convolutional Neural Network," 2019 International Conference on Vision Towards Emerging Trends in Communication and Networking (ViTECoN), Vellore, India, 2019, pp. 1–5.

  11. Tzallas, A. T., Tsipouras, M. G., & Fotiadis, D. I. (2007). Automatic Seizure detection based on time- frequency analysis and artificial neural networks. Computational Intelligence and Neuroscience, 2007, 1–13.

    Article  Google Scholar 

  12. Acharya, U. R., Fujita, H., Sudarshan, V. K., Bhat, S., & Koh, J. E. (2015). Application of entropies for automated diagnosis of epilepsy using EEG signals: A review. Knowledge-Based Systems, 88, 85–96.

    Article  Google Scholar 

  13. Ghosh-Dastidar, S., Adeli, H., & Dadmehr, N. (2007). Mixed-band wavelet-Chaos-neural net- work methodology for epilepsy and epileptic seizure detection. IEEE Transactions on Biomedical Engineering, 54(9), 1545–1551.

    Article  Google Scholar 

  14. Chen G, Xie W, Bui TD, Krzyz˙ak A. Automatic Epileptic Seizure Detection in EEG Using Non subsampled Wavelet–Fourier Features. Journal of Medical and Biological Engineering. 2017; 37(1):123–131.

  15. Subasi, A., Kevric, J., & Canbaz, M. A. (2019). Epileptic seizure detection using hybrid machine learning methods. Neural Computing and Applications, 31(1), 317–325.

    Article  Google Scholar 

  16. Zhang, T., & Chen, W. Z. (2017). LMD based features for the automatic seizure detection of EEG signals using SVM. IEEE Transactions on Neural Systems and Rehabilitation Engineering, 25(8), 1100–1108.

    Article  Google Scholar 

  17. Jiang, Y. (2017). Seizure classification from EEG signals using transfer learning, semi- supervised learning and TSK fuzzy system. IEEE Transactions on Neural Systems and Rehabilitation Engineering, 25(12), 2270–2284.

    Article  Google Scholar 

  18. Acharya, U. R., Oh, S. L., Hagiwara, Y., Tan, J. H., & Adeli, H. (2018). Deep convolutional neural net- work for the automated detection and diagnosis of seizure using EEG signals. Computers in Biology and Medicine., 100, 270–278.

    Article  Google Scholar 

  19. R. Yuvaraj, J. Thomas, T. Kluge and J. Dauwels, "A deep Learning Scheme for Automatic Seizure Detection from Long-Term Scalp EEG," 2018 52nd Asilomar Conference on Signals, Systems, and Computers, Pacific Grove, CA, USA, 2018, pp. 368–372.

  20. T. T. Chowdhury, A. Hossain, S. A. Fattah and C. Shahnaz, "Seizure and Non-Seizure EEG Signals Detection Using 1-D Convolutional Neural Network Architecture of Deep Learning Algorithm," 2019 1st International Conference on Advances in Science, Engineering and Robotics Technology (ICASERT), Dhaka, Bangladesh, 2019, pp. 1–4.

  21. M. Mustafa, M. N. Taib, S. Lias, Z. H. Murat and N. Sulaiman, "EEG spectrogram classification employing ANN for IQ application," 2013 The International Conference on Technological Advances in Electrical, Electronics and Computer Engineering (TAEECE), Konya, 2013, pp. 199–203.

  22. Andrzejak, R. G., Lehnertz, K., Mormann, F., Rieke, C., David, P., & Elger, C. E. (2001). Indications of nonlinear deterministic and finite-dimensional structures in time series of brain electrical activity: Dependence on recording region and brain state. Physical Review E., 64(6), 61907–61907.

    Article  Google Scholar 

  23. S¸engür A, Guo Y, Akbulut Y. Time–frequency texture descriptors of EEG signals for efficient detection of epileptic seizure. Brain Informatics. 2016; 3(2):101-108.

  24. J. Wang, G. Yu, L. Zhong, W. Chen and Y. Sun, "Classification of EEG signal using convolutional neural networks," 2019 14th IEEE Conference on Industrial Electronics and Applications (ICIEA), Xi'an, China, 2019, pp. 1694–1698.

  25. Martis, R. J., Acharya, U. R., Tan, J. H., et al. (2012). Application of empirical mode decomposition (EMD) for automated detection of epilepsy EEG signals. International Journal of Neural Systems., 22(06), 1250027–1250027.

    Article  Google Scholar 

  26. Bhattacharyya, A., Pachori, R. B., Upadhyay, A., & Acharya, U. R. (2017). Tunable-Q Wavelet transform based multiscale entropy measure for automated classification of epileptic EEG signals. Appl. Sci., 7, 385.

    Article  Google Scholar 

  27. Yuan, Y., Xun, G., Jia, K., & Zhang, A. (2019). A Multi-View Deep Learning Framework for EEG Seizure Detection. IEEE Journal of Biomedical and Health Informatics., 23(1), 83–94.

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Badreddine Mandhouj.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Mandhouj, B., Cherni, M.A. & Sayadi, M. An automated classification of EEG signals based on spectrogram and CNN for epilepsy diagnosis. Analog Integr Circ Sig Process 108, 101–110 (2021). https://doi.org/10.1007/s10470-021-01805-2

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10470-021-01805-2

Keywords

Navigation