Skip to main content
Log in

Quality controlled 2D ECG compression using adaptive fourier decomposition

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

This work presents the recently developed Adaptive Fourier Decomposition (AFD) approach-based ECG compression technique that ensures considerable data reduction at guaranteed reconstructed signal quality. Unlike existing decomposition techniques with fixed Basis functions, AFD selects distinct Basis function in accordance with the input signal resulting in fast energy convergence with good signal fidelity. However, the complex nature of AFD coefficients and Basis functions restrain the compression efficiency. In the proposed technique AFD algorithm is modified to obtain integer valued Basis functions causing considerable improvements in the Compression Ratio (CR) and reconstructed signal quality. Additionally, the complex-valued AFD coefficients are encoded with the lossless Adaptive Bit Length Encoding (ABLE) approach which further modify the compression efficiency. The comprehensive experimentation of the proposed technique was done on various standard and self-recorded databases on varying values of decomposition levels (N) and window size (W). The proficiency of the technique was further analysed by computing optimum N in accordance with the pre-defined distortion to achieve maximum CR. Average Percentage Root Mean Square difference (PRD%), Weighted Wavelet PRD (WWPRD), Wavelet Energy based Diagnostic Distortion (WEDD), Peak Signal to noise Ratio (PSNR), CR and Quality Score (QS) obtained are 0.68, 18.24, 6.86, 47.19, 22.11 and 37.24 respectively when measured on 48 records of MIT-BIH arrhythmia database of 5 min duration at N = 50 and W = 2000. The experimental results demonstrated the competency of the proposed technique with excellent CR at negligible reconstruction error as compared to the other state of the art techniques.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Algorithm 1
Fig. 1
Fig. 2
Algorithm 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

Data Availability

Name of datasets and references have been provided under Section 5. The datasets analyzed for the study are publicly available. https://physionet.org/about/database/.

References

  1. Sabarimalai Sur M, Dandapat S (2014) Wavelet-based electrocardiogram signal compression methods and their performances: A prospective review. Biomed Signal Process Control 14(1):73–107. https://doi.org/10.1016/j.bspc.2014.07.002

    Article  Google Scholar 

  2. Sayood K (2018) Lossless image compression. In: Introduction to data compression. Elsevier Inc., pp 187–220

  3. Akhter S, Haque MA (2010) ECG compression using run length encoding. Eur Signal Process Conf 1645–1649

  4. Hameed ME, Ibrahim MM, Manap NA, Mohammed AA (2019) A lossless compression and encryption mechanism for remote monitoring of ECG data using Huffman coding and CBC-AES. Futur Gener Comput Syst. https://doi.org/10.1016/j.future.2019.10.010

    Article  Google Scholar 

  5. Peric Z, Denic D, Nikolic J, Jocic A, Jovanovic A (2013) DPCM quantizer adaptation method for efficient ECG signal compression. J Commun Technol Electron 58(12):1241–1250. https://doi.org/10.1134/S1064226913130068

    Article  Google Scholar 

  6. Kim H et al (2010) ECG signal compression and classification algorithm with quad level vector for ECG holter system. IEEE Trans Inf Technol Biomed 14(1):93–100. https://doi.org/10.1109/TITB.2009.2031638

    Article  Google Scholar 

  7. Feli M, Abdali-Mohammadi F (2019) 12 lead electrocardiography signals compression by a new genetic programming based mathematical modeling algorithm. Biomed Signal Process Control 54:101596. https://doi.org/10.1016/j.bspc.2019.101596

    Article  Google Scholar 

  8. Benzid R, Messaoudi A, Boussaad A (2008) Constrained ECG compression algorithm using the block-based discrete cosine transform. Digit Signal Process A Rev J 18(1):56–64. https://doi.org/10.1016/j.dsp.2007.08.003

    Article  Google Scholar 

  9. Ku CT, Hung KC, Wu TC, Wang HS (2010) Wavelet-based ECG data compression system with linear quality control scheme. IEEE Trans Biomed Eng 57(6):1399–1409. https://doi.org/10.1109/TBME.2009.2037605

    Article  Google Scholar 

  10. Ma J, Zhang T, Dong M (2015) A novel ECG data compression method using adaptive fourier decomposition with security guarantee in e-health applications. IEEE J Biomed Heal Informatics 19(3):986–994. https://doi.org/10.1109/JBHI.2014.2357841

    Article  Google Scholar 

  11. Pandey A, Saini BS, Singh B, Sood N (2016) A 2D electrocardiogram data compression method using a sample entropy-based complexity sorting approach. Comput Electr Eng 56:30–45. https://doi.org/10.1016/j.compeleceng.2016.10.012

    Article  Google Scholar 

  12. Pandey A, Saini BS, Singh B, Sood N (2019) Complexity sorting and coupled chaotic map based on 2D ECG data compression-then-encryption and its OFDM transmission with impair sample correction. Multimed Tools Appl 78(9):11223–11261. https://doi.org/10.1007/s11042-018-6681-2

    Article  Google Scholar 

  13. Mukhopadhyay SK, Ahmad MO, Swamy MNS (2018) An ECG compression algorithm with guaranteed reconstruction quality based on optimum truncation of singular values and ASCII character encoding. Biomed Signal Process Control 44:288–306. https://doi.org/10.1109/TBME.2018.2883396

    Article  Google Scholar 

  14. Hou HS, Tretter DR (1992) Interesting properties of the discrete cosine transform. J Vis Commun Image Represent 3(1):73–83

    Article  Google Scholar 

  15. Pandey A, Singh B, Saini BS, Sood N (2016) A joint application of optimal threshold based discrete cosine transform and ASCII encoding for ECG data compression with its inherent encryption. Australas Phys Eng Sci Med 39(4):833–855. https://doi.org/10.1007/s13246-016-0476-4

    Article  Google Scholar 

  16. Pandey A, Singh Saini B, Singh B, Sood N (2020) Quality controlled ECG data compression based on 2D discrete cosine coefficient filtering and iterative JPEG2000 encoding. Measurement 152:107252. https://doi.org/10.1016/j.measurement.2019.107252

    Article  Google Scholar 

  17. Jha CK, Kolekar MH (2018) Electrocardiogram data compression using DCT based discrete orthogonal Stockwell transform. Biomed Signal Process Control 46:174–181. https://doi.org/10.1016/j.bspc.2018.06.009

    Article  Google Scholar 

  18. Tai SC, Sun CC, Yan WC (2005) A 2-D ECG compression method based on wavelet transform and modified SPIHT. IEEE Trans Biomed Eng 52(6):999–1008. https://doi.org/10.1109/TBME.2005.846727

    Article  Google Scholar 

  19. Hsieh JH, Lee RC, Hung KC, Shih MJ (2018) Rapid and coding-efficient SPIHT algorithm for wavelet-based ECG data compression. Integration 60(August):248–256. https://doi.org/10.1016/j.vlsi.2017.10.006

    Article  Google Scholar 

  20. Kumar R, Kumar A, Pandey RK (2013) Beta wavelet based ECG signal compression using lossless encoding with modified thresholding. Comput Electr Eng 39(1):130–140. https://doi.org/10.1016/j.compeleceng.2012.04.008

    Article  Google Scholar 

  21. Kumar R, Kumar A, Singh GK (2015) Electrocardiogram signal compression based on singular value decomposition (SVD) and adaptive scanning wavelet difference reduction (ASWDR) technique. AEU - Int J Electron Commun 69(12):1810–1822. https://doi.org/10.1016/j.aeue.2015.09.011

    Article  Google Scholar 

  22. Kumar R, Kumar A, Singh GK (2016) Hybrid method based on singular value decomposition and embedded zero tree wavelet technique for ECG signal compression. Comput Methods Programs Biomed 129:135–148. https://doi.org/10.1016/j.cmpb.2016.01.006

    Article  Google Scholar 

  23. Raeiatibanadkooki M, Quchani SR, KhalilZade MM, Bahaadinbeigy K (2016) Compression and encryption of ECG signal using wavelet and chaotically huffman code in telemedicine application. J Med Syst 40(3):1–8. https://doi.org/10.1007/s10916-016-0433-5

    Article  Google Scholar 

  24. Abo-Zahhad MM, Abdel-Hamid TK, Mohamed AM (2014) Compression of ECG signals based on DWT and exploiting the correlation between ECG signal samples. Int J Commun Netw Syst Sci 07(01):53–70. https://doi.org/10.4236/ijcns.2014.71007

    Article  Google Scholar 

  25. Qian T, Zhang L, Li Z (2011) Algorithm of adaptive fourier decomposition. IEEE Trans Signal Process 59(12):5899–5906. https://doi.org/10.1109/TSP.2011.2168520

    Article  MathSciNet  Google Scholar 

  26. Tan C, Zhang L, Wu HT (2019) A novel blaschke unwinding Adaptive-Fourier-Decomposition-based signal compression algorithm with application on ECG signals. IEEE J Biomed Heal Informatics 23(2):672–682. https://doi.org/10.1109/JBHI.2018.2817192

    Article  Google Scholar 

  27. Qian T, Li H, Stessin M (2013) Comparison of adaptive mono-component decompositions. Nonlinear Anal Real World Appl 14(2):1055–1074. https://doi.org/10.1016/j.nonrwa.2012.08.017

    Article  MathSciNet  Google Scholar 

  28. Soni N, Saini I, Singh B (2021) AFD and chaotic map‐based integrated approach for ECG compression, steganography and encryption in E‐healthcare paradigm. IET Signal Process (June 2020). https://doi.org/10.1049/sil2.12031

  29. Mullen JA (1966) Run-length encodings. IEEE Trans Inf Theory 6–8

  30. Al-Fahoum AS (2006) Quality assessment of ECG compression techniques using a wavelet-based diagnostic measure. IEEE Trans Inf Technol Biomed 10(1):182–191. https://doi.org/10.1109/TITB.2005.855554

    Article  Google Scholar 

  31. Manikandan MS, Dandapat S (2007) Wavelet energy based diagnostic distortion measure for ECG. Biomed Signal Process Control 2(2):80–96. https://doi.org/10.1016/j.bspc.2007.05.001

    Article  Google Scholar 

  32. Goldberger RGAL, Amaral LAN, Glass L, Hausdorff JM, Ivanov PC, Mark HES, Mietus JE, Moody GB, Peng C (2000) Physiobank Physiotoolkit, and physionet components of a new research resource for complex physiologic signals. Circulation 101(23):e215–e220

    Article  Google Scholar 

  33. Lee S, Kim J, Lee M (2011) A real-time ECG data compression and transmission algorithm for an e-health device. IEEE Trans Biomed Eng 58(9):2448–2455. https://doi.org/10.1109/TBME.2011.2156794

    Article  Google Scholar 

  34. Fathi A, Faraji-kheirabadi F (2016) ECG compression method based on adaptive quantization of main wavelet packet subbands. Sign Image Video Process 10(8):1433–1440. https://doi.org/10.1007/s11760-016-0944-z

    Article  Google Scholar 

  35. Chandra S, Sharma A, Singh GK (2020) Computationally efficient cosine modulated filter bank design for ECG signal compression. IRBM 41(1):2–17. https://doi.org/10.1016/j.irbm.2019.06.002

    Article  Google Scholar 

Download references

Funding

This research did not receive any specific grant from funding agencies in the public, commercial, or not-for-profit sectors.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Butta Singh.

Ethics declarations

Declarations

The ethical principles for medical research of World Medical Association (WMA’s) Declaration of Helsinki have been followed for data acquisition.

Conflict of interest

No conflict of interest.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Soni, N., Saini, I. & Singh, B. Quality controlled 2D ECG compression using adaptive fourier decomposition. Multimed Tools Appl 83, 43607–43634 (2024). https://doi.org/10.1007/s11042-023-17318-1

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-023-17318-1

Keywords

Navigation