Topographic EEG Power Mapping and Machine Learning-Based Seizure Detection Using Real and Synthetic SSIM-MSE Features

  • Ghansyamkumar Rathod Department of Electronics and Communication, Chandubhai S Patel Institute of Technology, Charotar University of Science and Technology, Gujarat, India https://orcid.org/0000-0001-9613-2988
  • Hardik Modi Department of Electronics and Communication, Chandubhai S Patel Institute of Technology, Charotar University of Science and Technology, Gujarat, India https://orcid.org/0000-0002-1847-4234
Keywords: Topographic Power Map, Epilepsy, Electroencephalography, Machine Learning

Abstract

The neural activities of the brain can show abnormalities and misfiring due to seizures. The ionic activity of the brain can be converted into electrical activity, which can be observed on the human scalp using electroencephalography (EEG). The spatial patterns of brain activity can be analyzed using topographic maps generated from EEG signals. In this study, topographic power maps with seizure and normal states of the brain were generated, and the features of the image were named structural similarity index (SSIM) and mean square error (MSE). The data utilized in this study were obtained from a publicly available dataset from the Children's Hospital Boston (CHB) in association with the Massachusetts Institute of Technology (MIT). Topographic images of the bipolar montages showed a clear difference between seizure and non-seizure brain states, along with the affected areas of the brain regions. Synthetic Features were generated to mimic real data for training the ML models. The major tested machine learning models, gradient boosting, decision tree, and k-nearest neighbors, provided the highest accuracy of 99.34% and an F-score of 0.996 when evaluated using real and generated data. The generalizability of the model was confirmed using 5-fold cross-validation. Overall, this study provides an EEG power-based topographic power image generation along with reliable feature extraction to train ML models for detecting epileptic seizures. The proposed methodology not only enhances the interpretability of EEG spatial patterns but also offers potential for integration into biomedical wearable devices for real-time seizure monitoring and intervention, along with the identification of the type of seizure.

Downloads

Download data is not yet available.

Author Biography

Hardik Modi, Department of Electronics and Communication, Chandubhai S Patel Institute of Technology, Charotar University of Science and Technology, Gujarat, India

Associate Professor, Electronics and Communication Department

References

Benzaid A, Djemili R, Arbateni K. Seizure detection using nonlinear measures over EEG frequency bands and deep learning classifiers. Computer Methods in Biomechanics and Biomedical Engineering. 2024;28(13):1-17. doi:10.1080/10255842.2024.2356634

Bai L, Litscher G, Li X. Epileptic Seizure Detection Using Machine Learning: A Systematic Review and Meta-Analysis. Brain Sciences. 2025;15(6):634. doi:10.3390/brainsci15060634

Tran LV, Tran HM, Le TM, Huynh TTM, Tran HT, Dao SVT. Application of Machine Learning in Epileptic Seizure Detection. Diagnostics. 2022;12(11):2879. doi:10.3390/diagnostics12112879

Hassan F, Hussain SF, Qaisar SM. Epileptic Seizure Detection Using a Hybrid 1D CNN-Machine Learning Approach from EEG Data. Journal of Healthcare Engineering. 2022;2022:1-16. doi:10.1155/2022/9579422

Zeng W, Shan L, Su B, Du S. Epileptic seizure detection with deep EEG features by convolutional neural network and shallow classifiers. Front Neurosci. 2023;17. doi:10.3389/fnins.2023.1145526

Pekmezci M, Genc Y. Evaluation of SSIM loss function in RIR generator GANs. Digital Signal Processing. 2024;154:104685. doi:10.1016/j.dsp.2024.104685

Sharma D. Image Quality Assessment Metrics for Hyperspectral Image Compression Algorithms. In: ; 2024:1-5. doi:10.1109/ic3tes62412.2024.10877577

Habashi AG, Azab AM, Eldawlatly S, Aly GM. Generative adversarial networks in EEG analysis: an overview. J NeuroEngineering Rehabil. 2023;20(1). doi:10.1186/s12984-023-01169-w

Bhat R, Nanjundegowda R. A Review on Comparative Analysis of Generative Adversarial Networks’ Architectures and Applications. Journal of Robotics and Control. 2024;6(1):53-64. doi:10.18196/jrc.v6i1.24160

Zhong L, Wan J, Wu J, et al. Temporal and spatial dynamic propagation of electroencephalogram by combining power spectral and synchronization in childhood absence epilepsy. Front Neuroinform. 2022;16(122). doi:10.3389/fninf.2022.962466

Skaria S, Savithriamma SK. Automatic classification of seizure and seizure-free EEG signals based on phase space reconstruction features. J Biol Phys. 2024;50(2):181-196. doi:10.1007/s10867-024-09654-6

Awais M, Belhaouari SB, Kassoul K. Graphical Insight: Revolutionizing Seizure Detection with EEG Representation. Biomedicines. 2024;12(6):1283. doi:10.3390/biomedicines12061283

Deepa B, Ramesh K. Epileptic seizure detection using deep learning through min max scaler normalization. ijhs. Published online May 24, 2022:10981-10996. doi:10.53730/ijhs.v6ns1.7801

Aslam MH, Usman SM, Khalid S, et al. Classification of EEG Signals for Prediction of Epileptic Seizures. Applied Sciences. 2022;12(14):7251. doi:10.3390/app12147251

Kode H, Elleithy K, Almazaydeh L. Epileptic Seizure Detection in EEG Signals Using Machine Learning and Deep Learning Techniques. IEEE Access. 2024;12:80657-80668. doi:10.1109/access.2024.3409581

Riccio C, Martone A, Zazzaro G, Pavone L. Training Datasets for Epilepsy Analysis: Preprocessing and Feature Extraction from Electroencephalography Time Series. Data. 2024;9(5):61. doi:10.3390/data9050061

Prasanna J, Subathra MSP, Mohammed MA, Damaševičius R, Sairamya NJ, George ST. Automated Epileptic Seizure Detection in Pediatric Subjects of CHB-MIT EEG Database-A Survey. JPM. 2021;11(10):1028. doi:10.3390/jpm11101028

Alturki FA, Aljalal M, Abdurraqeeb AM, Alsharabi K, Al-Shamma’A AA. Common Spatial Pattern Technique With EEG Signals for Diagnosis of Autism and Epilepsy Disorders. IEEE Access. 2021;9:24334-24349. doi:10.1109/access.2021.3056619

Park B, Jeong C, Ok J, Kim TI. Materials and Structural Designs toward Motion Artifact-Free Bioelectronics. Chem Rev. 2024;124(10):6148-6197. doi:10.1021/acs.chemrev.3c00374

Maddirala AK, Veluvolu KC. SSA with CWT and k-Means for Eye-Blink Artifact Removal from Single-Channel EEG Signals. Sensors. 2022;22(3):931. doi:10.3390/s22030931

Dong L, Zhao L, Zhang Y, et al. Reference Electrode Standardization Interpolation Technique (RESIT): A Novel Interpolation Method for Scalp EEG. Brain Topogr. 2021;34(4):403-414. doi:10.1007/s10548-021-00844-2

Hirata A, Niitsu M, Phang CR, et al. High-resolution EEG source localization in personalized segmentation-free head model with multi-dipole fitting. Phys Med Biol. 2024;69(5):055013. doi:10.1088/1361-6560/ad25c3

Choi K, Chong K. Modified Inverse Distance Weighting Interpolation for Particulate Matter Estimation and Mapping. Atmosphere. 2022;13(5):846. doi:10.3390/atmos13050846

Gong R, Roth RW, Chang AJ, et al. EEG Ictal Power Dynamics, Function-Structure Associations, and Epilepsy Surgical Outcomes. Neurology. 2024;102(12). doi:10.1212/wnl.0000000000209451

Onakpojeruo EP, Mustapha MT, Ozsahin DU, Ozsahin I. A Comparative Analysis of the Novel Conditional Deep Convolutional Neural Network Model, Using Conditional Deep Convolutional Generative Adversarial Network-Generated Synthetic and Augmented Brain Tumor Datasets for Image Classification. Brain Sciences. 2024;14(6):559. doi:10.3390/brainsci14060559

Zhang Z, Liu Y, Zhong SH. GANSER: A Self-Supervised Data Augmentation Framework for EEG-Based Emotion Recognition. IEEE Trans Affective Comput. 2023;14(3):2048-2063. doi:10.1109/taffc.2022.3170369

Gao M, Liu R, Mao J. Noise Robustness Low-Rank Learning Algorithm for Electroencephalogram Signal Classification. Front Neurosci. 2021;15. doi:10.3389/fnins.2021.797378

Sara U, Akter M, Uddin MS. Image Quality Assessment through FSIM, SSIM, MSE and PSNR—A Comparative Study. JCC. 2019;07(03):8-18. doi:10.4236/jcc.2019.73002

Aayesha A, Qureshi MB, Afzaal M, Qureshi MS, Fayaz M. Machine learning-based EEG signals classification model for epileptic seizure detection. Multimed Tools Appl. 2021;80(12):17849-17877. doi:10.1007/s11042-021-10597-6

Nti IK, Nyarko-Boateng O, Aning J. Performance of Machine Learning Algorithms with Different K Values in K-fold CrossValidation. IJITCS. 2021;13(6):61-71. doi:10.5815/ijitcs.2021.06.05

Rimal Y, Sharma N, Paudel S, Alsadoon A, Koirala MP, Gill S. Comparative analysis of heart disease prediction using logistic regression, SVM, KNN, and random forest with cross-validation for improved accuracy. Sci Rep. 2025;15(1). doi:10.1038/s41598-025-93675-1

Ayman U, Zia MS, Okon OD, et al. Epileptic Patient Activity Recognition System Using Extreme Learning Machine Method. Biomedicines. 2023;11(3):816. doi:10.3390/biomedicines11030816

Janiukstyte V, Owen TW, Chaudhary UJ, et al. Normative brain mapping using scalp EEG and potential clinical application. Sci Rep. 2023;13(1). doi:10.1038/s41598-023-39700-7

Zhang S, Liu P, Mao X, Sun L. EEG topomap-based Identification scheme. In: ; 2021:287-293. doi:10.1109/iaecst54258.2021.9695816

Nilsson J, Akenine-Möller T. Understanding SSIM. Published online June 24, 2020. doi:10.48550/arxiv.2006.13846

Reznik Y. Another look at SSIM image quality metric. ei. 2023;35(8):305-7. doi:10.2352/ei.2023.35.8.iqsp-305

Zhang S, Sun L, Mao X, Yang Y. EEG data augmentation for Personal Identification Using SF-GAN. In: ; 2022:1-6. doi:10.1109/cvidliccea56201.2022.9824276

Wang Z, Liu F, Shi S, et al. Automatic epileptic seizure detection based on persistent homology. Front Physiol. 2023;14(12). doi:10.3389/fphys.2023.1227952

Chung YG, Cho A, Kim H, Kim KJ. Single-channel seizure detection with clinical confirmation of seizure locations using CHB-MIT dataset. Front Neurol. 2024;15. doi:10.3389/fneur.2024.1389731

Shen M, Yang F, Wen P, Song B, Li Y. A real-time epilepsy seizure detection approach based on EEG using short-time Fourier transform and Google-Net convolutional neural network. Heliyon. 2024;10(11):e31827. doi:10.1016/j.heliyon.2024.e31827

Ali E, Angelova M, Karmakar C. Epileptic seizure detection using CHB-MIT dataset: The overlooked perspectives. R Soc Open Sci. 2024;11(5). doi:10.1098/rsos.230601

Abou-Abbas L, Henni K, Jemal I, Mezghani N. Generative AI with WGAN-GP for boosting seizure detection accuracy. Front Artif Intell. 2024;7. doi:10.3389/frai.2024.1437315

Zhu R, Pan WX, Liu JX, Shang JL. Epileptic seizure prediction via multidimensional transformer and recurrent neural network fusion. J Transl Med. 2024;22(1). doi:10.1186/s12967-024-05678-7

Published
2026-04-11
How to Cite
[1]
G. Rathod and H. Modi, “Topographic EEG Power Mapping and Machine Learning-Based Seizure Detection Using Real and Synthetic SSIM-MSE Features”, j.electron.electromedical.eng.med.inform, vol. 8, no. 2, pp. 622-637, Apr. 2026.
Section
Medical Engineering