Fast processing and classification of epileptic seizures based on compressed EEG signals

IF 7 2区 医学 Q1 BIOLOGY
Achraf Djemal , Ahmed Yahia Kallel , Cherif Ouni , Rihem El Baccouch , Dhouha Bouchaala , Fatma Kammoun Feki , Chahnez Charfi Triki , Ahmed Fakhfakh , Olfa Kanoun
{"title":"Fast processing and classification of epileptic seizures based on compressed EEG signals","authors":"Achraf Djemal ,&nbsp;Ahmed Yahia Kallel ,&nbsp;Cherif Ouni ,&nbsp;Rihem El Baccouch ,&nbsp;Dhouha Bouchaala ,&nbsp;Fatma Kammoun Feki ,&nbsp;Chahnez Charfi Triki ,&nbsp;Ahmed Fakhfakh ,&nbsp;Olfa Kanoun","doi":"10.1016/j.compbiomed.2024.109346","DOIUrl":null,"url":null,"abstract":"<div><div>The diagnosis of epilepsy based on visual inspection of electroencephalogram (EEG) signals is inherently complex and prone to error, even for physicians, mainly due to the large number of signals involved and the variability between individuals. These same challenges make the development of portable epilepsy diagnostic systems for everyday use difficult. Key obstacles include the immense complexity of signal processing and the inherent ambiguity in accurately classifying disease. For these reasons, we propose in this paper the deployment of compressive sensing to condense EEG signals while preserving relevant information, allowing seizure classification based on systematically selected features of the reconstructed signals. Based on a dataset comprising EEG recordings from 13 epileptic patients with various seizure types, we explore the deployment of the discrete cosine transform (DCT) and random matrix multiplication for compression ratios ranging from 5% to 70%, balancing data reduction with signal fidelity. Following the extraction of relevant features, selection was performed based on mutual information and a correlation matrix to preserve only the most relevant features for analysis. For classification, following a comparison of adequate machine learning models, XGBoost is chosen as it realizes a classification accuracy of 98.78%. The CS method was implemented on an STM32 microcontroller and a Raspberry Pi for reconstruction and classification, to demonstrate feasibility as an embedded system. At 70% compression, significant improvements have been observed: 70% file size reduction, 84% decrease in transmission time (from 2518.532s to 400.392s), and substantial energy savings (e.g., from 11.5±0.707 mWh to 4.5±0.707 mWh for Patient 12). Thereby, the signal quality was maintained with PSNR of 16.15±3.98 and Pearson correlation coefficient of 0.68±0.15. The proposed system highlights the potential for efficient, portable, real-time epilepsy diagnosis systems that achieve precise and fully automated seizure classification.</div></div>","PeriodicalId":10578,"journal":{"name":"Computers in biology and medicine","volume":"184 ","pages":"Article 109346"},"PeriodicalIF":7.0000,"publicationDate":"2024-11-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers in biology and medicine","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0010482524014318","RegionNum":2,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"BIOLOGY","Score":null,"Total":0}
引用次数: 0

Abstract

The diagnosis of epilepsy based on visual inspection of electroencephalogram (EEG) signals is inherently complex and prone to error, even for physicians, mainly due to the large number of signals involved and the variability between individuals. These same challenges make the development of portable epilepsy diagnostic systems for everyday use difficult. Key obstacles include the immense complexity of signal processing and the inherent ambiguity in accurately classifying disease. For these reasons, we propose in this paper the deployment of compressive sensing to condense EEG signals while preserving relevant information, allowing seizure classification based on systematically selected features of the reconstructed signals. Based on a dataset comprising EEG recordings from 13 epileptic patients with various seizure types, we explore the deployment of the discrete cosine transform (DCT) and random matrix multiplication for compression ratios ranging from 5% to 70%, balancing data reduction with signal fidelity. Following the extraction of relevant features, selection was performed based on mutual information and a correlation matrix to preserve only the most relevant features for analysis. For classification, following a comparison of adequate machine learning models, XGBoost is chosen as it realizes a classification accuracy of 98.78%. The CS method was implemented on an STM32 microcontroller and a Raspberry Pi for reconstruction and classification, to demonstrate feasibility as an embedded system. At 70% compression, significant improvements have been observed: 70% file size reduction, 84% decrease in transmission time (from 2518.532s to 400.392s), and substantial energy savings (e.g., from 11.5±0.707 mWh to 4.5±0.707 mWh for Patient 12). Thereby, the signal quality was maintained with PSNR of 16.15±3.98 and Pearson correlation coefficient of 0.68±0.15. The proposed system highlights the potential for efficient, portable, real-time epilepsy diagnosis systems that achieve precise and fully automated seizure classification.
基于压缩脑电图信号的癫痫发作快速处理和分类。
基于脑电图(EEG)信号的视觉检查诊断癫痫本身就很复杂,而且容易出错,即使对医生来说也是如此,这主要是由于涉及大量信号和个体之间的差异性。这些同样的挑战使得开发日常使用的便携式癫痫诊断系统变得十分困难。主要障碍包括信号处理的巨大复杂性和准确分类疾病的内在模糊性。基于这些原因,我们在本文中提出采用压缩传感技术来压缩脑电信号,同时保留相关信息,以便根据系统选择的重建信号特征进行癫痫发作分类。基于由 13 名不同发作类型的癫痫患者的脑电图记录组成的数据集,我们探索了离散余弦变换 (DCT) 和随机矩阵乘法的应用,压缩率从 5% 到 70%,在数据减少和信号保真度之间取得了平衡。提取相关特征后,根据互信息和相关矩阵进行选择,只保留最相关的特征进行分析。在分类方面,在对各种机器学习模型进行比较后,选择了 XGBoost,因为它的分类准确率高达 98.78%。为了证明 CS 方法作为嵌入式系统的可行性,我们在 STM32 微控制器和 Raspberry Pi 上实现了重建和分类。在 70% 的压缩率下,我们观察到了显著的改进:文件大小减少了 70%,传输时间减少了 84%(从 2518.532 秒减少到 400.392 秒),并节省了大量能源(例如,患者 12 的能耗从 11.5±0.707 mWh 减少到 4.5±0.707 mWh)。因此,信号质量得以保持,PSNR 为 16.15±3.98,皮尔逊相关系数为 0.68±0.15。所提出的系统凸显了高效、便携、实时癫痫诊断系统的潜力,可实现精确、全自动的癫痫发作分类。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Computers in biology and medicine
Computers in biology and medicine 工程技术-工程:生物医学
CiteScore
11.70
自引率
10.40%
发文量
1086
审稿时长
74 days
期刊介绍: Computers in Biology and Medicine is an international forum for sharing groundbreaking advancements in the use of computers in bioscience and medicine. This journal serves as a medium for communicating essential research, instruction, ideas, and information regarding the rapidly evolving field of computer applications in these domains. By encouraging the exchange of knowledge, we aim to facilitate progress and innovation in the utilization of computers in biology and medicine.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信