Abstract
The cardiovascular system is a combination of the heart, blood and blood vessels. Cardiovascular diseases (CVD) are a key factor behind casualties worldwide among both women and men. About 9.4 million deaths occur due to high Blood Pressure (BP) only, out of which 51% deaths are due to strokes and 45% deaths are due to coronary heart diseases. The Electrocardiogram (ECG) represents the heart health condition of the subject, (patient) since it is acquired through electrical conduction, which appears in terms of P-QRS-T waves. But analysis of these waves is very tedious due to the existence of different noises/artifacts. Computer Aided Diagnosis (CAD) system is required in practical medical scenario for better and automated ECG signal analysis and to compensate for human errors. In general, implementation of a CAD system for ECG signal analysis requires; preprocessing, feature extraction and classification. In the existing literature, some authors have used time domain techniques which yield good performance for cleaned ECG signals i.e., without noise/artifact. Some authors have used frequency domain techniques later, but they suffer from the problem of spectral leakage making them unsuitable for real time/pathological datasets. The existing techniques from both these domains are not able to effectively analyze nonlinear behavior of ECG signals. These limitations have motivated this work where Continuous Wavelet Transform (CWT), Spectrogram and Autoregressive (AR) technique are used collectively for interpreting nonlinear and non-stationary features of the ECG signals. In this paper, both Massachusetts Institute of Technology-Beth Israel Hospital Arrhythmia database (MB Ar DB) and Real-time database (RT DB) have been used. Performance of the proposed method is compared with that of the previous studies on the basis of sensitivity (SE) and detection rate (D.R). The proposed technique yields SE of 99.90%, D.R of 99.81% & SE of 99.77%, D.R of 99.87% for MB Ar DB and RT DB, respectively. Therefore, the proposed technique showcases the possibility of an encouraging diagnostic tool for further improving the present situation of health informatics in cardiology labs/hospitals.
Similar content being viewed by others
Abbreviations
- CVD:
-
Cardiovascular Disease
- STFT:
-
Short-time Fourier Transform
- CWT:
-
Continuous Wavelet Transform
- MB Ar DB:
-
Massachusetts Institute of Technology-Beth Israel Hospital Arrhythmia Database
- RT DB:
-
Real-time Database
- CAD:
-
Computer Aided Diagnosis
- ECG:
-
Electrocardiogram
- SGDF:
-
Savitzky–Golay Digital Filtering
- KNN:
-
K-Nearest Neighbor
- AR:
-
Autoregressive
- TFA:
-
Time–Frequency Analysis
- EDM:
-
Euclidean Distance Metric
- PSD:
-
Power Spectral Density
- SE:
-
Sensitivity
- DR:
-
Detection Rate
- TP:
-
True Positive
- FP:
-
False Positive
- FN:
-
False Negative
- WHO:
-
World Health Organization
- SNR:
-
Signal to Noise Ratio
- RMSE:
-
Root Mean Square Error
- PRD:
-
Percent Root Mean Square Difference
- ACC:
-
Accuracy
- SPE:
-
Specificity
References
Kumar, M., et al.: An efficient automated technique for CAD diagnosis using flexible analytic wavelet transform and entropy features extracted from HRV signals. Expert Syst Appl (2016). https://doi.org/10.1016/j.eswa.2016.06.038
Martis, R.J., et al.: Current methods in electrocardiogram characterization. Comp Biol Med 48, 133–149 (2014)
Gupta, V., et al.: Performance evaluation of various pre-processing techniques for R-peak detection in ECG signal. IETE J Res (2020). https://doi.org/10.1080/03772063.2020.1756473
Sharma, L.D., Sunkaria, R.K.: Myocardial infarction detection and localization using optimal features based lead specific approach. IRBM 41, 58–70 (2020)
Gupta, V., et al.: R-peak detection using chaos analysis in standard and real time ECG databases. IRBM 40(6), 341–354 (2019)
Wong, N.D.: Epidemiological studies of CHD and the evolution of preventive cardiology. Nat Rev Cardiol 11, 276–289 (2014)
Sahoo, S., et al.: “Machine learning approach to detect cardiac arrhythmias in ecgsignals: a survey. IRBM (2019). https://doi.org/10.1016/j.irbm.2019.12.001
Kora, P., Kalva, S.R.: Improved Bat algorithm for the detection of myocardial infarction. SpringerPlus 4, 666 (2015). https://doi.org/10.1186/s40064-015-1379-7
Gupta, V., Mittal, M.: QRS complex detection using STFT, chaos analysis, and PCA in standard and real-time ECG databases. Series B, J The Inst Eng (India) (2019). https://doi.org/10.1007/s40031-019-00398-9
Gupta, V., Mittal, M.: Efficient R-peak detection in electrocardiogram signal based on features extracted using hilbert transform and burg method. J Inst Eng India Ser B (2020). https://doi.org/10.1007/s40031-020-00423-2
M.C. Helen, M. et al., “Changes in scale-invariance property of electrocardiogram as a predictor of hypertension,” International Journal of Medical Engineering and Informatics (IJMEI), Vol.12 No.3, pp.228 – 236, 2020.
Ripoll, V.J.R., et al.: Assessment of electrocardiograms with pretraining and shallow networks. J Comput Cardiol 4, 1061–1064 (2014)
Chandra, S., et al.: A comparative analysis of performance of several wavelet based ECG data compression methodologies. IRBM (2020). https://doi.org/10.1016/j.irbm.2020.05.004
Mary, M.C., et al.: Assessment of scale invariance changes in heart rate signal during postural shift. IETE J Res 1, 1604172 (2019)
Gupta, V., Mittal, M.: Dimension reduction and classification in ECG signal interpretation using FA & PCA: A Comparison. Jangjeon Mathemat Soc 21(4), 765–777 (2018)
Aouinet, A., Adnane, C.: Electrocardiogram denoised signal by discrete wavelet transform and continuous wavelet transform. Akramaouinet and cherifadnane. J Signal Proc Internat J (SPIJ) 8, 1–9 (2014)
Gupta V, and Mittal M., “Respiratory Signal Analysis using PCA, FFT and ARTFA,” 2016 International Conference on Electrical Power and Energy Systems (ICEPES), Maulana Azad National Institute of Technology, Bhopal, India, pp. 221–225 (2016).
Gupta, V., Mittal, M.: ECG (Electrocardiogram) signals interpretation using chaostheory. J Adv Res Dyn Cont Sys (JARDCS) 10(2), 2392–2397 (2018)
Rahhal, M.M.A., et al.: Deep learning approach for active classification of electrocardiogram signals. Internat J Inform Sci 345, 340–354 (2016)
Zhang, X.S., et al.: New approach to studies on ECG dynamics: extraction and analyses of QRS complex irregularity time series. J Med Biol Eng Comput 5, 467–473 (1997)
Subramanian, B., Ramasamy, A.: Investigation on the compression of electrocardiogram signals using dual tree complex wavelet transform. IETE J Res (2017). https://doi.org/10.1080/03772063.2016.1275988
Zhang, J., et al.: ECG signals denoising method based on improved wavelet threshold algorithm. IEEE Internat Conf 1, 1779–1784 (2016)
Yu, S.N., Chou, K.T.: Integration of independent component analysis and neural networks for ECG beat classification. J Expert Syst Appl 34, 2841–2846 (2008)
Krummen, D.E.: Accurate ECG diagnosis of atrial tachyarrhythmias using quantitative analysis: a prospective diagnostic and cost-effectiveness study. J Cardiov Electrophys 21, 11 (2010)
Annavarapu, A., Kora, P.: ECG-based atrial fibrillation detection using different orderings of conjugate symmetric-complex hadamard transform. Internat J Cardiov Acad 12, 151–154 (2016)
Aqil, M., et al.: ECG-waves: analysis and detection by continuous wavelet transform. J Telecommun J Electronic Computer Eng 9, 45–52 (2010)
Lin, C.: Heart Rate Variability Analysis using Windows and Wavelet Transform. Internat J Cardiol 109(1), 101–107 (2006)
Chen, S., et al.: Heartbeat classification using projected and dynamic features of ECG Signal. Biomed Signal Process Control 31, 165–173 (2017)
Gupta, V., Mittal, M.: Principal component analysis and factor analysis as an enhanced tool of pattern recognition. Int J Elec Electr Eng Telecoms 1(2), 73–78 (2015)
Kumar, M., et al.: Automated diagnosis of atrial fibrillation ECG signals using entropy features extracted from flexible analytic wavelet transform. Biocyber Bi Med Eng. (2018). https://doi.org/10.1016/j.bbe.2018.04.004
Alshebly, Y.S., Nafea, M.: Isolation of fetal ECG signals from abdominal ECG using wavelet analysis. IRBM (2019). https://doi.org/10.1016/j.irbm.2019.12.002
Chazal, P.D., et al.: Automatic classification of heartbeats using ECG morphology and heartbeat interval features. IEEE Trans Biomed Eng 51, 1196–1206 (2004)
Jonnagaddala, J., et al.: Coronary artery disease risk assessment from unstructured electronic health records using text mining. J Biomed Inform 58, 203–210 (2015)
Martínez, J.P., et al.: Wavelet based ECG delineator: evaluation on standard databases. IEEE Trans Biomed Eng 51, 570–581 (2004)
Robert, K., Colleen, E.C.: Basis and treatment of cardiac arrhythmias, 1st edn. Springer-Verlag, New York (2006)
Mokeddem, F., et al.: Study of murmurs and their impact on the heart variability. Internat J Med Eng Inform (IJMEI) 12(3), 291–301 (2020)
Webster, J.G.: Medical Instrumentation: application and design, 3rd edn. JohnWiley & Sons, London (2008)
Mortezaee, M., et al.: An improved SSA-based technique for EMG removal from ECG. IRBM 40, 62–68 (2019)
Kumar, M.: Identifying heart-brain interactions during internally and externally operative attention using conditional entropy. Biomed Signal Process Control 57, 101826 (2020). https://doi.org/10.1016/j.bspc.2019.101826
Acharya, U.R., et al.: A deep convolutional neural network model to classify heartbeats. Comput Biol Med 89, 389–396 (2017)
Gupta, V., et al.: R-peak detection based chaos analysis of ECG signal. Analog Integr Circ Sig Process 102, 479–490 (2020)
Xingyuan, W., Juan, M.: Wavelet-based hybrid ECG compression technique. Analog Integr Circ Sig Process 59(3), 301–308 (2009)
Gandhi, B., Raghava, N.S.: Fabrication techniques for carbon nanotubes based ECG electrodes: a review. IETE J Res (2020). https://doi.org/10.1080/03772063.2020.1768909
Daamouche, A., et al.: A wavelet optimization approach for ECG signal classification. Biomed Signal Process Control 7, 342–349 (2012)
Rahman, A.: A statistical designing approach to MATLAB based functions for the ECG signal preprocessing. Iran J Computer Sci (2019). https://doi.org/10.1007/s42044-019-00035-0
Chakraborty, M.: Quantitative assessment of arrhythmia using non-linear approach: a non-invasive prognostic tool. J Inst Eng India Ser B (2017). https://doi.org/10.1007/s40031-017-0307-3
Gupta, V., Mittal, M., Mittal, V.: Chaos theory: an emerging tool for arrhythmia detection. Sens Imaging. 21(10), 1–22 (2020). https://doi.org/10.1007/s11220-020-0272-9
Christov, I.I.: Real time electrocardiogram QRS detection using combine adaptive threshold. Biomed Eng Online 3, 28 (2004). https://doi.org/10.1186/1475-925X-3-28
Hamilton, P.S., Tompkin, W.J.: Quantitative investigation of QRS detection rules using MIT/BIH Arrhythmia database. IEEE Trans BME 33, 1157–1165 (1986)
Rao, K.D.: DWT based detection of r-peaks and data compression of ECG Signals. IETE J Res 43(5), 345–349 (1997)
Sahoo, S., et al.: Multiresolution wavelet transform based feature extraction and ECG classification to detect cardiac abnormalities. Measurement 108, 55–66 (2017)
Mittal, M.: A computationally efficient piecewise constant solution for system transfer function inversion using orthogonal functions. J Adv Res Dynam Control Syst 9, 2398–2404 (2018)
Mittal, V., Mittal, M.: Haar wavelet based numerical approach for computing system response to arbitrary excitations. J Adv Res Dynamical Control Syst 2, 2433–2439 (2018)
Valli, T., Mittal, M.: Analysis of Fractional Systems using Haar Wavelet. Int J Innov Technol Exploring Eng (IJITEE) 8(9), 455–459 (2019)
Rao, H., Rekha, S.: A 0.8-V, 5.51-dB DR, 100 Hz low-pass filter with low-power PTAT for bio-medical applications”. IETE J Res (2019). https://doi.org/10.1080/03772063.2019.1682074
Kora, P.: ECG based myocardial infarction detection using hybrid firefly algorithm. Comput Methods Programs Biomed (2017). https://doi.org/10.1016/j.cmpb.2017.09.015
He, R., et al.: A novel method for the detection of R-peaks in ECG based on K-Nearest Neighbors and Particle Swarm Optimization. EURASIP J Adv Sig Proc 82, 4 (2017). https://doi.org/10.1186/s13634-017-0519-3
Bilas, R., et al.: An improved online paradigm for screening of diabetic patients using RR-interval signals. J Mech Med Biol 16(1), 1640003 (2016)
Jain, S., et al.: QRS detection using adaptive filters: a comparative study. ISA Trans 66, 362–375 (2017)
Gupta V. and Mittal M., “A novel method of cardiac arrhythmia detection in electrocardiogram signal,” IJMEI, 2019 (in press).
Jothi, S.H., Prabha, K.H.: Fetal electrocardiogram extraction using adaptive neuro-fuzzy inference systems and undecimated wavelet transform. IETE J Res 58(6), 469–475 (2012)
Acharya, U.R., et al.: Automated identification of normal and diabetes heart rate signals using nonlinear measures. Comp Biol Med 43, 1523–1529 (2013)
Das, M.K., Ari, S.: Analysis of ECG signal denoising method based on S-transform. IRBM (2013). https://doi.org/10.1016/j.irbm.2013.07.012
Lin, C.C., et al.: A novel wavelet-based algorithm for detection of QRS complex. Appl Sci 12, 4 (2019)
Addison, P.S.: Wavelet transforms and the ECG: a review. PhysiolMeas 26, 155–199 (2005)
Ghaffari, A., et al.: A new mathematical based QRS detector using continuous wavelet transform. Comput Electr Eng 34, 81–91 (2008)
Free hospital cartoons. Available:Error! Hyperlink reference not valid. on 17 Dec. 2019.
Computer analysis free technology items. Available: www.all-free-download.com. (Accessed on 28 Oct 2019).
MP35 Biopac system-www.biopac.com.
Rajesh, K., Dhuli, R.: Classification of ECG heartbeats using nonlinear decomposition methods and support vector machine. J Comput Biol Med 87, 271–284 (2017)
Rangayyan, R.M.: Biomedical signal analysis: a case-study approach. Wiley-Interscience, New York (2001)
Gupta, V., Mittal, M.: R-Peak Detection in ECG Signal Using Yule-Walker and Principal Component Analysis. IETE J. Res. (2019). https://doi.org/10.1080/03772063.2019.1575292
Gupta, V., Mittal, M.: A novel method of cardiac arrhythmia detection in electrocardiogram signal. Internat J Med Eng Informs (IJMEI) 12, 18 (2020)
Luz, E.J.S., et al.: ECG-based heartbeat classification for arrhythmia detection: a survey. Comp Met Prog Biom 127, 144–164 (2016)
Physionet database/MIT-BIH Arrhythmia database/ (Accessed on Nov 22, 2017).
Giorgio, A., et al.: Improving ECG signal denoising using wavelet transform for the prediction of malignant arrhythmias. Internat J Med Eng Inform 12(2), 135–150 (2020)
Mostafi, M., et al.: Discrimination of signals phonocardiograms by using SNR report. Internat J Med Eng Inform (IJMEI) 11(4), 386–403 (2019)
Haque, Z.U., et al.: Analysis of ECG Signal Processing and Filtering Algorithms. Int J Adv Comp Sci Appl 10, 3 (2019). https://doi.org/10.14569/IJACSA.2019.0100370
Li, H., et al.: Novel ECG signal classification based on KICA nonlinear feature extraction. J Circuits Syst Signal Process (2004). https://doi.org/10.1007/s00034-015-0108-3
Gupta, V., et al.: Principal component and independent component calculation of ECG signal in different posture. AIP Conf Proc 1414, 102–108 (2011)
Nikan S. et al., “Pattern Recognition Application in ECG Arrhythmia Classification,” in Proceedings of the 10th International Joint Conference on Biomedical Engineering Systems and Technologies (BIOSTEC), pp. 48–56, 2017.
Priyadarshini, S.H., et al.: Processing of wrist pulse signals using linear and nonlinear techniques – a review. Internat J Eng Sci Computing 4, 7477–7482 (2016)
Bromba, M.U.A., Ziegler, H.: Application hint for Savitsky-golay digital smoothing filters. Anal Chem 53, 1583–1586 (1981)
Jha, C., Kolekar, M.H.: Empirical mode decomposition and wavelet transform based ECG data compression. Scheme (2020). https://doi.org/10.1016/j.irbm.2020.05.008
Guiñón JL. “Moving Average and Savitzki-Golay Smoothing Filters Using Mathcad,” International Conference on Engineering Education – ICEE, Coimbra, Portugal, pp.1–4, 2007.
http://www.robots.ox.ac.uk/~gari/teaching/cdt/A3/8_A3_BSP_Time_Freq.pdf.
Gupta, V., et al.: Auto-regressive time frequency analysis (ARTFA) of electrocardiogram (ECG) signal. Internat J Appl Eng Res 13(6), 133–138 (2019)
https://content.nexosis.com/blog/what-are-autoregressive-models.
Evaristo, R.M., et al.: Mathematical model with autoregressive process for electrocardiogram signals. J Commun Nonlinear SciNumerSimulat 57, 415–421 (2018)
https://dsp.stackexchange.com/questions/9518/what-are-autoregressive-coefficients.
Emresoy, M.K., Jaroudi, A.E.: Signal Proc 64, 157–165 (1998)
Rohini, R., et al.: A new paradigm for plotting spectrogram. J Inform Syst Commun 3, 158–161 (2012)
Vlad S, et al., “Efficient ECG Signal Parameters Extraction using Multiresolution Analysis,” International Conference on Advancements of Medicine and Health Care through Technology, Romania, 2009.
Gupta, V., Mittal, M.: KNN and PCA classifier with autoregressive modelling during different ECG signal interpretation. Procedia Computer Sci Elsevier 125, 18–24 (2018)
Acharya, U.R., et al.: Automated characterization and classification of coronary artery disease and myocardial infarction by decomposition of ECG signals: a comparative study. J Inform Sci 377, 17–29 (2017)
Saini, I., et al.: QRS detection using K-Nearest Neighbor algorithm (KNN) and evaluation on standard ECG databases. J Adv Res 4(4), 331–344 (2013)
Confusion matrix.https://towardsdatascience.com/taking-the-confusion-out-of-confusion-matrices-c1ce054b3d3e.
Acharya, U.R., et al.: Automatic identification of cardiac health using modeling techniques: a comparative study. J Inform Sci 178, 4571–4582 (2008)
Bogunovic N, Jovic A. “Processing and Analyisis of Biomedical Nonlinear Signals by Data Mining Methods,” IWSSIP 2010 - 17th International Conference on Systems, Signals and Image Processing, pp. 276–279, 2010.
Elhaj, F.A., et al.: Arrhythmia recognition and classification using combined linear and nonlinear features of ECG signals. J Computer Methods Programs Biomed 127, 52–63 (2016)
Marinho, L.B., et al.: A novel electrocardiogram feature extraction approach for cardiac arrhythmia classification. Fut Gen Comp Syst 97, 564–577 (2019)
Mukherjee, S., et al.: Malignant melanoma detection using multi layer preceptron with visually imperceptible features and PCA components from Med-Node dataset. Internat J Med Eng Inform (IJMEI) 12(2), 151–168 (2020)
Mehta, S.S., Lingayat, N.S.: Development of SVM based ECG pattern recognition technique. IETE J Res 54(1), 5–11 (2008)
Mehta, S.S., Lingayat, N.S.: SVM-based algorithm for recognition of QRS complexes in electrocardiogram. IRBM 29, 310–317 (2008)
Nayak, C., et al.: “An efficient QRS complex detection using optimally designed digital differentiator. Circuits Syst Signal Proc (2019). https://doi.org/10.1007/s00034-018-0880-y
Dasgupta, H.: Human age recognition by electrocardiogram signal based on artificial neural network. Sens Imaging 17(4), 1–15 (2016)
Jangra, M., et al.: ECG arrhythmia classification using modified visual geometry group network (mVGGNet). J Intel Fuzzy Syst 38, 3151–3165 (2020)
Gupta, V. and Mittal, M., “R-peak based Arrhythmia Detection using Hilbert Transform and Principal Component Analysis,” 2018 3rd International Innovative Applications of Computational Intelligence on Power, Energy and Controls with their Impact on Humanity (CIPECH). pp.116–119, doi:https://doi.org/10.1109/cipech.
Halder, B.: Classification of complete myocardial infarction using rule-based rough set method and rough set explorer system. IETE J Res (2019). https://doi.org/10.1080/03772063.2019.1588175
Sheetal, A., et al.: QRS detection of ECG signal using hybrid derivative and MaMeMi filter by effectively eliminating the baseline wander. Analog Integr Circ Sig Process 98(1), 1–9 (2019)
Narina, A., et al.: Investigating the performance improvement of HRV Indices in CHF using feature selection methods based on backward elimination and statistical significance. J Computers Biol Med 45, 72–79 (2014)
Rai, H.M., et al.: R-peak detection using daubechies wavelet and ecg signal classification using radial basis function neural network. J Inst Eng India Ser B 95(1), 63–71 (2014)
Phy, J.: Algorithm for detection the QRS complexes based on support vector machine. J Phy IOP Conf Series 929, 1–5 (2017)
Kaya, Y., et al.: Effective ECG beat classification using higher order statistic features and genetic feature selection. J Biomed Res 28, 7594–7603 (2017)
Kaya, Y., Pehlivan, H.: Classification of premature ventricular contraction in ECG. Int J Adv Com Sci Appl 6, 34–40 (2015)
Pan, J., Tompkins, W.J.: A real-time QRS detection algorithm. IEEE Trans Biomed Eng 32, 230–236 (1985)
Liu, X., et al.: A novel R-peak detection method combining energy and wavelet transform in electrocardiogram signal. J Biom Eng 26, 1–9 (2014)
Phukpattaranont, P.: QRS detection algorithm based on the quadratic filter. Exp Sys with Appl 42(11), 4867–4877 (2015)
Sharma, T., Sharma, K.K.: QRS complex detection in ECG signals using locally adaptive weighted total variation denoising. Comp Biol Med 87, 187–199 (2017)
Dohare, A.K., et al.: An efficient new method for the detection of QRS in electrocardiogram. Comput Electr Eng 40(5), 1717–1730 (2014)
Manikandan, M.S., Soman, K.P.: A novel method for detecting R-peaks in the electrocardiogram (ECG) signal. Biom Sig Proc Cont 7(2), 118–128 (2012)
Nallathambi, G., Príncipe, J.C.: Integrate and fire pulse train automaton for QRS detection. IEEE Trans Biomed Eng. 61(2), 317–326 (2014)
Pandit, D., et al.: A lightweight QRS detector for single lead ECG signals using a max-min difference algorithm. Comput Methods Prog Biomed 144, 61–75 (2017)
Yazdani, S., Vesin, J.M.: Extraction of QRS fiducial points from the ECG using adaptive mathematical morphology. Dig Sig Proc 56, 100–109 (2016)
Zidelmal, Z., et al.: QRS detection based on wavelet coefficients. Comp meth Prog Biomed 107(3), 490–496 (2012)
Christov II (2004) Real time electrocardiogram QRS detection using combined adaptive threshold. Bio Med Eng. OnLine 28(3P):4. http://www.biomedical-engineering-online.com/content/3/1/28.
Bouaziz, F.: Multiresolution wavelet-based QRS complex detection algorithm suited to several abnormal morphologies. IET Signal Proc 8(7), 774–782 (2014)
Choi, S., et al.: Development of ECG beat segmentation method by combining lowpass filter and irregular R-R interval checkup strategy. Exp Syst Appl 37(7), 5208–5218 (2010)
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Gupta, V., Mittal, M., Mittal, V. et al. ECG signal analysis using CWT, spectrogram and autoregressive technique. Iran J Comput Sci 4, 265–280 (2021). https://doi.org/10.1007/s42044-021-00080-8
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s42044-021-00080-8