1
|
Sadad T, Safran M, Khan I, Alfarhood S, Khan R, Ashraf I. Efficient Classification of ECG Images Using a Lightweight CNN with Attention Module and IoT. Sensors (Basel) 2023; 23:7697. [PMID: 37765754 PMCID: PMC10537152 DOI: 10.3390/s23187697] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [What about the content of this article? (0)] [Affiliation(s)] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Subscribe] [Scholar Register] [Received: 08/03/2023] [Revised: 09/02/2023] [Accepted: 09/04/2023] [Indexed: 09/29/2023]
Abstract
Cardiac disorders are a leading cause of global casualties, emphasizing the need for the initial diagnosis and prevention of cardiovascular diseases (CVDs). Electrocardiogram (ECG) procedures are highly recommended as they provide crucial cardiology information. Telemedicine offers an opportunity to provide low-cost tools and widespread availability for CVD management. In this research, we proposed an IoT-based monitoring and detection system for cardiac patients, employing a two-stage approach. In the initial stage, we used a routing protocol that combines routing by energy and link quality (REL) with dynamic source routing (DSR) to efficiently collect data on an IoT healthcare platform. The second stage involves the classification of ECG images using hybrid-based deep features. Our classification system utilizes the "ECG Images dataset of Cardiac Patients", comprising 12-lead ECG images with four distinct categories: abnormal heartbeat, myocardial infarction (MI), previous history of MI, and normal ECG. For feature extraction, we employed a lightweight CNN, which automatically extracts relevant ECG features. These features were further optimized through an attention module, which is the method's main focus. The model achieved a remarkable accuracy of 98.39%. Our findings suggest that this system can effectively aid in the identification of cardiac disorders. The proposed approach combines IoT, deep learning, and efficient routing protocols, showcasing its potential for improving CVD diagnosis and management.
Collapse
Affiliation(s)
- Tariq Sadad
- Department of Computer Science, University of Engineering & Technology, Mardan 23200, Pakistan; (T.S.); (I.K.); (R.K.)
| | - Mejdl Safran
- Department of Computer Science, College of Computer and Information Sciences, King Saud University, P.O. Box 51178, Riyadh 11543, Saudi Arabia;
| | - Inayat Khan
- Department of Computer Science, University of Engineering & Technology, Mardan 23200, Pakistan; (T.S.); (I.K.); (R.K.)
| | - Sultan Alfarhood
- Department of Computer Science, College of Computer and Information Sciences, King Saud University, P.O. Box 51178, Riyadh 11543, Saudi Arabia;
| | - Razaullah Khan
- Department of Computer Science, University of Engineering & Technology, Mardan 23200, Pakistan; (T.S.); (I.K.); (R.K.)
| | - Imran Ashraf
- Department of Information and Communication Engineering, Yeungnam University, Gyeongsan 38541, Republic of Korea;
| |
Collapse
|
2
|
Mao J, Li Z, Li S, Li J. A Novel ECG Signal Denoising Algorithm Based on Sparrow Search Algorithm for Optimal Variational Modal Decomposition. Entropy (Basel) 2023; 25:e25050775. [PMID: 37238530 DOI: 10.3390/e25050775] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [What about the content of this article? (0)] [Affiliation(s)] [Abstract] [Key Words] [Grants] [Track Full Text] [Subscribe] [Scholar Register] [Received: 03/13/2023] [Revised: 05/07/2023] [Accepted: 05/09/2023] [Indexed: 05/28/2023]
Abstract
ECG signal processing is an important basis for the prevention and diagnosis of cardiovascular diseases; however, the signal is susceptible to noise interference mixed with equipment, environmental influences, and transmission processes. In this paper, an efficient denoising method based on the variational modal decomposition (VMD) algorithm combined with and optimized by the sparrow search algorithm (SSA) and singular value decomposition (SVD) algorithm, named VMD-SSA-SVD, is proposed for the first time and applied to the noise reduction of ECG signals. SSA is used to find the optimal combination of parameters of VMD [K,α], VMD-SSA decomposes the signal to obtain finite modal components, and the components containing baseline drift are eliminated by the mean value criterion. Then, the effective modalities are obtained in the remaining components using the mutual relation number method, and each effective modal is processed by SVD noise reduction and reconstructed separately to finally obtain a clean ECG signal. In order to verify the effectiveness, the methods proposed are compared and analyzed with wavelet packet decomposition, empirical mode decomposition (EMD), ensemble empirical mode decomposition (EEMD), and the complete ensemble empirical mode decomposition with adaptive noise (CEEMDAN) algorithm. The results show that the noise reduction effect of the VMD-SSA-SVD algorithm proposed is the most significant, and that it can suppress the noise and remove the baseline drift interference at the same time, and effectively retain the morphological characteristics of the ECG signals.
Collapse
Affiliation(s)
- Jiandong Mao
- School of Electrical and Information Engineering, North Minzu University, North Wenchang Road, Yinchuan 750021, China
- Key Laboratory of Atmospheric Environment Remote Sensing of Ningxia Province, North Wenchang Road, Yinchuan 750021, China
| | - Zhiyuan Li
- School of Electrical and Information Engineering, North Minzu University, North Wenchang Road, Yinchuan 750021, China
- Key Laboratory of Atmospheric Environment Remote Sensing of Ningxia Province, North Wenchang Road, Yinchuan 750021, China
| | - Shun Li
- School of Electrical and Information Engineering, North Minzu University, North Wenchang Road, Yinchuan 750021, China
- Key Laboratory of Atmospheric Environment Remote Sensing of Ningxia Province, North Wenchang Road, Yinchuan 750021, China
| | - Juan Li
- School of Electrical and Information Engineering, North Minzu University, North Wenchang Road, Yinchuan 750021, China
- Key Laboratory of Atmospheric Environment Remote Sensing of Ningxia Province, North Wenchang Road, Yinchuan 750021, China
| |
Collapse
|
3
|
Cheema A, Singh M, Kumar M, Setia G. Combined empirical mode decomposition and phase space reconstruction based psychologically stressed and non-stressed state classification from cardiac sound signals. Biomed Signal Process Control 2023. [DOI: 10.1016/j.bspc.2023.104585] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [What about the content of this article? (0)] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 01/25/2023]
|
4
|
Edwin Dhas D, Suchetha M. Dual phase dependent RLS filtering approach for baseline wander removal in ECG signal acquisition. Biomed Signal Process Control 2022. [DOI: 10.1016/j.bspc.2022.103767] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [What about the content of this article? (0)] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 11/02/2022]
|
5
|
Arefnezhad S, Eichberger A, Frühwirth M, Kaufmann C, Moser M, Koglbauer IV. Driver Monitoring of Automated Vehicles by Classification of Driver Drowsiness Using a Deep Convolutional Neural Network Trained by Scalograms of ECG Signals. Energies 2022; 15:480. [DOI: 10.3390/en15020480] [Citation(s) in RCA: 7] [Impact Index Per Article: 3.5] [Reference Citation Analysis] [What about the content of this article? (0)] [Abstract] [Track Full Text] [Subscribe] [Scholar Register] [Indexed: 01/09/2023]
Abstract
Driver drowsiness is one of the leading causes of traffic accidents. This paper proposes a new method for classifying driver drowsiness using deep convolution neural networks trained by wavelet scalogram images of electrocardiogram (ECG) signals. Three different classes were defined for drowsiness based on video observation of driving tests performed in a simulator for manual and automated modes. The Bayesian optimization method is employed to optimize the hyperparameters of the designed neural networks, such as the learning rate and the number of neurons in every layer. To assess the results of the deep network method, heart rate variability (HRV) data is derived from the ECG signals, some features are extracted from this data, and finally, random forest and k-nearest neighbors (KNN) classifiers are used as two traditional methods to classify the drowsiness levels. Results show that the trained deep network achieves balanced accuracies of about 77% and 79% in the manual and automated modes, respectively. However, the best obtained balanced accuracies using traditional methods are about 62% and 64%. We conclude that designed deep networks working with wavelet scalogram images of ECG signals significantly outperform KNN and random forest classifiers which are trained on HRV-based features.
Collapse
|
6
|
Kozlowski M, Singh S, Ramage G, Rodriguez-Villegas E. Effects of denoising strategies on R-wave detection in ECG analysis. Annu Int Conf IEEE Eng Med Biol Soc 2021; 2021:373-376. [PMID: 34891312 DOI: 10.1109/embc46164.2021.9629495] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [What about the content of this article? (0)] [Abstract] [MESH Headings] [Track Full Text] [Subscribe] [Scholar Register] [Indexed: 06/13/2023]
Abstract
The use of ECG in cardiovascular health monitoring is well established. The signal is collected using specialised equipment, capturing the electrical discharge properties of the human heart. This produces a well-structured signal trace, which can be characterised through its peaks and troughs. The signal can then be used by clinicians to diagnose cardiac disorders. However, as with any measuring equipment, the ECG output signal can experience deterioration resulting from noise. This can happen due to environmental interference, human issues or measuring equipment failure, necessitating the development of various denoising strategies to reduce, or remove, the noise. In this paper, we study typically occurring types of noise and implement popular strategies used to rectify them. We also show, that the given strategy's denoising potential is directly related to R-wave detection, and provide best strategies to apply when faced with specific noise type.
Collapse
|
7
|
闫 惠, 莫 思, 黄 华, 刘 彦. [Research on high-efficiency electrocardiogram automatic classification based on autoregressive moving average model fitting]. Sheng Wu Yi Xue Gong Cheng Xue Za Zhi 2021; 38:848-857. [PMID: 34713652 PMCID: PMC9927429 DOI: 10.7507/1001-5515.202101054] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [What about the content of this article? (0)] [Affiliation(s)] [Abstract] [Key Words] [MESH Headings] [Subscribe] [Scholar Register] [Received: 01/15/2021] [Revised: 07/08/2021] [Indexed: 11/03/2022]
Abstract
The automatic detection of arrhythmia is of great significance for the early prevention and diagnosis of cardiovascular diseases. Traditional arrhythmia diagnosis is limited by expert knowledge and complex algorithms, and lacks multi-dimensional feature representation capabilities, which is not suitable for wearable electrocardiogram (ECG) monitoring equipment. This study proposed a feature extraction method based on autoregressive moving average (ARMA) model fitting. Different types of heartbeats were used as model inputs, and the characteristic of fast and smooth signal was used to select the appropriate order for the arrhythmia signal to perform coefficient fitting, and complete the ECG feature extraction. The feature vectors were input to the support vector machine (SVM) classifier and K-nearest neighbor classifier (KNN) for automatic ECG classification. MIT-BIH arrhythmia database and MIT-BIH atrial fibrillation database were used to verify in the experiment. The experimental results showed that the feature engineering composed of the fitting coefficients of the ARMA model combined with the SVM classifier obtained a recall rate of 98.2% and a precision rate of 98.4%, and the F 1 index was 98.3%. The algorithm has high performance, meets the needs of clinical diagnosis, and has low algorithm complexity. It can use low-power embedded processors for real-time calculations, and it's suitable for real-time warning of wearable ECG monitoring equipment.
Collapse
Affiliation(s)
- 惠君 闫
- 四川大学 电气工程学院(成都 610065)School of Electrical Engineering, Sichuan University, Chengdu 610065, P.R.China
| | - 思特 莫
- 四川大学 电气工程学院(成都 610065)School of Electrical Engineering, Sichuan University, Chengdu 610065, P.R.China
| | - 华 黄
- 四川大学 电气工程学院(成都 610065)School of Electrical Engineering, Sichuan University, Chengdu 610065, P.R.China
| | - 彦 刘
- 四川大学 电气工程学院(成都 610065)School of Electrical Engineering, Sichuan University, Chengdu 610065, P.R.China
| |
Collapse
|
8
|
Malhotra V, Sandhu MK. Electrocardiogram Signals Denoising Using Improved Variational Mode Decomposition. J Med Signals Sens 2021; 11:100-107. [PMID: 34268098 PMCID: PMC8253313 DOI: 10.4103/jmss.jmss_17_20] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [What about the content of this article? (0)] [Affiliation(s)] [Abstract] [Key Words] [Download PDF] [Figures] [Subscribe] [Scholar Register] [Received: 02/29/2020] [Revised: 04/22/2020] [Accepted: 05/24/2020] [Indexed: 11/04/2022]
Abstract
Background: Electrocardiogram (ECG) plays a vital role in the analysis of heart activity. It can be used to analyze the different heart diseases and mental stress assessment also. Various noises, such as baseline wandering, muscle artifacts and power line interface disturbs the information within the ECG signal. To acquire correct information from ECG signal, these noises should be removed. Methods: In the proposed work, the improved variational mode decomposition (IVMD) method for the removal of noise in ECG signals is used. In the proposed method, the weighted signal amplitude integrated over the timeframe of the ECG signal varies the window size during decomposition. Raw ECG data are extracted from 10 subjects and ECG data are also taken from the MIT BIH database for the proposed method. Results: The performance comparison of traditional variational mode decomposition (VMD) and the proposed technique is also calculated using mean square error, percentage root mean square difference, signal to noise ratio and correlation coefficient. The extracted highest signal to noise ratio (SNR) value of acquired ECG signals using traditional VMD is 42db whereas highest value of signal to noise ratio (SNR) using improved VMD (IVMD) is 83db. Conclusion: The proposed IVMD technique represented better performance than traditional VMD for denoising of ECG signals.
Collapse
Affiliation(s)
- Vikas Malhotra
- Department of Electronic and Communication Engineering, University School of Engineering and Technology, Rayat Bahra University, Mohali, Punjab, India
| | - Mandeep Kaur Sandhu
- Department of Electronic and Communication Engineering, University School of Engineering and Technology, Rayat Bahra University, Mohali, Punjab, India
| |
Collapse
|
9
|
Rahul J, Sora M, Sharma LD. A novel and lightweight P, QRS, and T peaks detector using adaptive thresholding and template waveform. Comput Biol Med 2021; 132:104307. [PMID: 33765449 DOI: 10.1016/j.compbiomed.2021.104307] [Citation(s) in RCA: 13] [Impact Index Per Article: 4.3] [Reference Citation Analysis] [What about the content of this article? (0)] [Affiliation(s)] [Abstract] [Key Words] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 11/24/2020] [Revised: 02/26/2021] [Accepted: 02/27/2021] [Indexed: 10/21/2022]
Abstract
Accurate detection of key components in an electrocardiogram (ECG) plays a vital role in identifying cardiovascular diseases. In this work, we proposed a novel and lightweight P, QRS, and T peaks detector using adaptive thresholding and template waveform. In the first stage, we proposed a QRS complex detector, which utilises a novel adaptive thresholding process followed by threshold initialisation. Moreover, false positive QRS complexes were removed using the kurtosis coefficient computation. In the second stage, the ECG segment from the S wave point to the Q wave point was extracted for clustering. The template waveform was generated from the cluster members using the ensemble average method, interpolation, and resampling. Next, a novel conditional thresholding process was used to calculate the threshold values based on the template waveform morphology for P and T peaks detection. Finally, the min-max functions were used to detect the P and T peaks. The proposed technique was applied to the MIT-BIH arrhythmia database (MIT-AD) and the QT database for QRS detection and validation. Sensitivity (Se%) values of 99.81 and 99.90 and positive predictivity (+P%) values of 99.85 and 99.94 were obtained for the MIT-AD and QT database for QRS complex detection, respectively. Further, we found that Se% = 96.50 and +P% = 96.08 for the P peak detection, Se% = 100 and +P% = 100 for the R peak detection, and Se% = 99.54 and +P% = 99.68 for the T peak detection when using the manually annotated QT database. The proposed technique exhibits low computational complexity and can be implemented on low-cost hardware, since it is based on simple decision rules rather than a heuristic approach.
Collapse
Affiliation(s)
- Jagdeep Rahul
- Department of Electronics & Communication Engineering, Rajiv Gandhi University, India.
| | - Marpe Sora
- Department of Computer Science & Engineering, Rajiv Gandhi University, India
| | | |
Collapse
|
10
|
|
11
|
Abstract
Cardiac signal processing is usually a computationally demanding task as signals are heavily contaminated by noise and other artifacts. In this paper, an effective approach for peak point detection and localization in noisy electrocardiogram (ECG) signals is presented. Six stages characterize the implemented method, which adopts the Hilbert transform and a thresholding technique for the detection of zones inside the ECG signal which could contain a peak. Subsequently, the identified zones are analyzed using the wavelet transform for R point detection and localization. The conceived signal processing technique has been evaluated, adopting ECG signals belonging to MIT-BIH Noise Stress Test Database, which includes specially selected Holter recordings characterized by baseline wander, muscle artifacts and electrode motion artifacts as noise sources. The experimental results show that the proposed method reaches most satisfactory performance, even when challenging ECG signals are adopted. The results obtained are presented, discussed and compared with some other R wave detection algorithms indicated in literature, which adopt the same database as a test bench. In particular, for a signal to noise ratio (SNR) equal to 6 dB, results with minimal interference from noise and artifacts have been obtained, since Se e +P achieve values of 98.13% and 96.91, respectively.
Collapse
|
12
|
Affiliation(s)
- Santanu Sahoo
- Department of Electronics and Communication Engineering, Siksha “O” Anusandhan University, Odisha, India
| | - Monalisa Mohanty
- Department of Electronics and Communication Engineering, Siksha “O” Anusandhan University, Odisha, India
| | - Suresh Behera
- Department of Cardiology, IMS and SUM Hospital, Siksha “O” Anusandhan University, Odisha, India
| | - Sukanta Kumar Sabut
- Department of Electronics Engineering, DY Patil Ramrao Adik Institute of Technology, Navi Mumbai, India
| |
Collapse
|