Abstract
Although atrial fibrillation (AF) Arrhythmia is highly prevalent within a wide range of populations with major associated risks and due to its episodic occurrence, its recognition remains a challenge for doctors. This paper aims to present and experimentally validate a new efficient approach for the detection and classification of this cardiac anomaly using multiple Electrocardiogram (ECG) signals. This work consists of applying Stockwell transform (ST) with compact support kernel (ST-CSK) for ECG time-frequency analysis. The estimation of the atrial activity (AA) is then achieved after analyzing P-waves of the ECG signals for each heartbeat. ECG signals segmentation allows characterizing the AA by making use of its (t, f) flatness, (t, f) flux, energy concentration and heart rate variability. The features matrix is employed as an input of the support vector machines (SVM) working in binary and asymmetrical mode with an embedded reject option. The proposed algorithm is trained and then tested using different ECG sources namely two databases provided by PhysionNet (MIT-BIH Arrhythmia, MIT-BIH Atrial Fibrillation) and recorded ECG signals using MySignals HW development platform with raspberry Pi 3 model B\(+\). The used method has achieved \(98.46\%\) and \(97.81\%\) as sensitivity and specificity, respectively. The obtained results confirm that the proposed approach represents a promising tool for Atrial Fibrillation Episodes (AFE) recognition with significant separability between Normal atrial activity and atrial activity with AF even under real and clinical conditions.
Similar content being viewed by others
References
Berkaya SK, Uysal AK, Gunal ES, Ergin S, Gunal S, Gulmezoglu MB (2018) A survey on ecg analysis. Biomed Signal Process Control 43:216–235
Long B, Robertson J, Koyfman A, Maliel K, Warix JR (2018) Emergency medicine considerations in atrial fibrillation. Am J Emerg Med 36(6):1070–1078
Kirchhof P, Benussi S, Kotecha D, Ahlsson A, Atar D, Casadei B, Castella M, Diener HC, Heidbuchel H, Hendriks J et al (2016) 2016 ESC guidelines for the management of atrial fibrillation developed in collaboration with EACTS. Eur J Cardio-thorac Surg 50(5):e1–e88
Altay YA, Kremlev AS, Margun AA (2019) ECG signal filtering approach for detection of P, QRS, T waves and complexes in short single-lead recording. In: 2019 IEEE conference of Russian young researchers in electrical and electronic engineering (EIConRus), IEEE, pp 1135–1140
Gupta V, Mittal M, Mittal V (2020) Chaos theory: an emerging tool for arrhythmia detection. Sens Imaging 21(1):1–22
Panigrahy D, Sahu P (2018) P and T wave detection and delineation of ECG signal using differential evolution (de) optimization strategy. Australas Phys Eng Sci Med 41(1):225–241
Wang Y, Wang L, Chen X, Zhu W (2016) P wave detection and delineation based on distances transform. In: 2016 IEEE Trustcom/BigDataSE/ISPA, IEEE, pp 2197–2201
Hossain MB, Bashar SK, Walkey AJ, McManus DD, Chon KH (2019) An accurate QRS complex and P wave detection in ECG signals using complete ensemble empirical mode decomposition with adaptive noise approach. IEEE Access 7:128869–128880
Andersen RS, Peimankar A, Puthusserypady S (2019) A deep learning approach for real-time detection of atrial fibrillation. Expert Syst Appl 115:465–473
Costandy RN, Gasser SM, El-Mahallawy MS, Fakhr MW, Marzouk SY (2020) P-wave detection using a fully convolutional neural network in electrocardiogram images. Appl Sci 10(3):976
Corino VD, Laureanti R, Ferranti L, Scarpini G, Lombardi F, Mainardi LT (2017) Detection of atrial fibrillation episodes using a wristband device. Physiol Meas 38(5):787
Fallet S, Lemay M, Renevey P, Leupi C, Pruvot E, Vesin JM (2019) Can one detect atrial fibrillation using a wrist-type photoplethysmographic device? Med Biol Eng Comput 57(2):477–487
Zidelmal Z, Hamil H, Moukadem A, Amirou A, Ould-Abdeslam D (2017) S-transform based on compact support kernel. Digital Signal Process 62:137–149
Meddah K, Talha MK, Bahoura M, Zairi H (2019) FPGA-based system for heart rate monitoring. IET Circuits Devices Syst 13(6):771–782
Yakut O, Solak S, Bolat ED (2015) Implementation of a web-based wireless ecg measuring and recording system. In: 17th international conference on medical physics and medical sciences, Istanbul, 9:815–818
Stockwell RG, Mansinha L, Lowe R (1996) Localization of the complex spectrum: the S transform. IEEE Trans Signal Process 44(4):998–1001
Stockwell RG (2007) A basis for efficient representation of the S-transform. Digital Signal Process 17(1):371–393
Rahul J, Sora M, Sharma LD (2020) Exploratory data analysis based efficient QRS-complex detection technique with minimal computational load. Phys Eng Sci Med 43(3):1049–1067
Adnane M, Jiang Z, Choi S (2009) Development of QRS detection algorithm designed for wearable cardiorespiratory system. Comput Methods Progr Biomed 93(1):20–31
Cohen L (1989) Time-frequency distributions-a review. Proc IEEE 77(7):941–981
Zabihi M, Rad AB, Katsaggelos AK, Kiranyaz S, Narkilahti S, Gabbouj M (2017) Detection of atrial fibrillation in ecg hand-held devices using a random forest classifier. In: 2017 computing in cardiology (CinC), IEEE, pp 1–4
Smoleń D (2017) Atrial fibrillation detection using boosting and stacking ensemble. In: 2017 computing in cardiology (CinC), IEEE, pp 1–4
Couceiro R, Carvalho P, Henriques J, Antunes M, Harris M, Habetha J (2008) Detection of atrial fibrillation using model-based ECG analysis. In: 2008 19th international conference on pattern recognition, IEEE, pp 1–5
Healey J, Logan B (2006) Atrial fibrillation detection method and apparatus. US Patent App. 11/146,745
Boon KH, Khalil-Hani M, Malarvili M, Sia CW (2016) Paroxysmal atrial fibrillation prediction method with shorter HRY sequences. Comput Methods Progr Biomed 134:187–196
Ghodrati A, Marinello S (2008) Statistical analysis of rr interval irregularities for detection of atrial fibrillation. In: 2008 computers in cardiology, IEEE, pp 1057–1060
Censi F, Corazza I, Reggiani E, Calcagnini G, Mattei E, Triventi M, Boriani G (2016) P-wave variability and atrial fibrillation. Sci Rep 6(1):1–7
Xu X, Wei S, Ma C, Luo K, Zhang L, Liu C (2018) Atrial fibrillation beat identification using the combination of modified frequency slice wavelet transform and convolutional neural networks. J Healthc Eng. https://doi.org/10.1155/2018/2102918
Boashash B, Azemi G, Khan NA (2015) Principles of time-frequency feature extraction for change detection in non-stationary signals: applications to newborn EEG abnormality detection. Pattern Recognit 48(3):616–627
Sejdić E, Djurović I, Jiang J (2009) Time-frequency feature representation using energy concentration: an overview of recent advances. Digital Signal Process 19(1):153–183
Vapnik V (1995) The nature of statistical learning theory. Search PubMed 8:188
Grandvalet Y, Rakotomamonjy A, Keshet J, Canu S (2008) Support vector machines with a reject option. Adv Neural Inf Process Syst 21:537–544
Asgari S, Mehrnia A, Moussavi M (2015) Automatic detection of atrial fibrillation using stationary wavelet transform and support vector machine. Comput Biol Med 60:132–142
Ladavich S, Ghoraani B (2015) Rate-independent detection of atrial fibrillation by statistical modeling of atrial activity. Biomed Signal Process Control 18:274–281
García M, Ródenas J, Alcaraz R, Rieta JJ (2016) Application of the relative wavelet energy to heart rate independent detection of atrial fibrillation. Comput Methods Progr Biomed 131:157–168
Faust O, Shenfield A, Kareem M, San TR, Fujita H, Acharya UR (2018) Automated detection of atrial fibrillation using long short-term memory network with rr interval signals. Comput Biol Med 102:327–335
Kumar M, Pachori RB, Acharya UR (2018) Automated diagnosis of atrial fibrillation ECG signals using entropy features extracted from flexible analytic wavelet transform. Biocybern Biomed Eng 38(3):564–573
He R, Wang K, Zhao N, Liu Y, Yuan Y, Li Q, Zhang H (2018) Automatic detection of atrial fibrillation based on continuous wavelet transform and 2d convolutional neural networks. Front Physiol 9:1206
Xia Y, Wulan N, Wang K, Zhang H (2018) Detecting atrial fibrillation by deep convolutional neural networks. Comput Biol Med 93:84–92
Maršánová L, Němcová A, Smíšek R, Vítek M, Smital L (2019) Advanced P wave detection in ECG signals during pathology: evaluation in different arrhythmia contexts. Sci Rep 9(1):1–11
Erdenebayar U, Kim H, Park JU, Kang D, Lee KJ (2019) Automatic prediction of atrial fibrillation based on convolutional neural network using a short-term normal electrocardiogram signal. J Korean Med Sci 34(7):e64
Kalidas V, Tamil LS (2019) Detection of atrial fibrillation using discrete-state Markov models and random forests. Comput Biol Med 113:103386
Zhang H, He R, Dai H, Xu M, Wang Z (2020) SS-SWT and SI-CNN: an atrial fibrillation detection framework for time-frequency ECG signal. J Healthc Eng. https://doi.org/10.1155/2020/7526825
Hsieh CH, Li YS, Hwang BJ, Hsiao CH (2020) Detection of atrial fibrillation using 1d convolutional neural network. Sensors 20(7):2136
Czabanski R, Horoba K, Wrobel J, Matonia A, Martinek R, Kupka T, Jezewski M, Kahankova R, Jezewski J, Leski JM (2020) Detection of atrial fibrillation episodes in long-term heart rhythm signals using a support vector machine. Sensors 20(3):765
Lown M, Brown M, Brown C, Yue AM, Shah BN, Corbett SJ, Lewith G, Stuart B, Moore M, Little P (2020) Machine learning detection of atrial fibrillation using wearable technology. PLoS ONE 15(1):e0227401
Petmezas G, Haris K, Stefanopoulos L, Kilintzis V, Tzavelis A, Rogers JA, Katsaggelos AK, Maglaveras N (2021) Automated atrial fibrillation detection using a hybrid CNN-LSTM network on imbalanced ECG datasets. Biomed Signal Process Control 63:102194
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no conflict of interest.
Ethical approval
This article does not contain any studies with human or animal subjects performed by any of the authors.
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
Hamil, H., Zidelmal, Z., Azzaz, M.S. et al. AF episodes recognition using optimized time-frequency features and cost-sensitive SVM. Phys Eng Sci Med 44, 613–624 (2021). https://doi.org/10.1007/s13246-021-01005-2
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s13246-021-01005-2