Open Access


Efficient Data Compression of ECG Signal Based on Modified Discrete Cosine Transform

Ashraf Mohamed Ali Hassan1, Mohammed S. Alzaidi2, Sherif S. M. Ghoneim2,3,*, Waleed El Nahal4
1 Electronics and Communications Engineering Department, Faculty of Engineering, Sinai University, Arish, CO 45511, Egypt
2 Department of Electrical Engineering, College of Engineering, Taif University, Taif, 21944, Saudi Arabia
3 Faculty of Technology and Education, Suez University, Suez, 43527, Egypt
4 Electronics and Communications Engineering Department, Faculty of Engineering, MSA University, CO 12585, Egypt
* Corresponding Author: Sherif S. M. Ghoneim. Email:

Computers, Materials & Continua 2022, 71(3), 4391-4408.

Received 01 October 2021; Accepted 02 November 2021; Issue published 14 January 2022


This paper introduced an efficient compression technique that uses the compressive sensing (CS) method to obtain and recover sparse electrocardiography (ECG) signals. The recovery of the signal can be achieved by using sampling rates lower than the Nyquist frequency. A novel analysis was proposed in this paper. To apply CS on ECG signal, the first step is to generate a sparse signal, which can be obtained using Modified Discrete Cosine Transform (MDCT) on the given ECG signal. This transformation is a promising key for other transformations used in this search domain and can be considered as the main contribution of this paper. A small number of wavelet components can describe the ECG signal as related work to obtain a sparse ECG signal. A sensing technique for ECG signal compression, which is a novel area of research, is proposed. ECG signals are introduced randomly between any successive beats of the heart. MIT-BIH database can be represented as the experimental database in this domain of research. The MIT-BIH database consists of various ECG signals involving a patient and standard ECG signals. MATLAB can be considered as the simulation tool used in this work. The proposed method's uniqueness was inspired by the compression ratio (CR) and achieved by MDCT. The performance measurement of the recovered signal was done by calculating the percentage root mean difference (PRD), mean square error (MSE), and peak signal to noise ratio (PSNR) besides the calculation of CR. Finally, the simulation results indicated that this work is one of the most important works in ECG signal compression.


Compressive sensing; sparse; beats of hearts; compression ratio; percentage root mean difference

Cite This Article

A. Mohamed Ali Hassan, M. S. Alzaidi, S. S. M. Ghoneim and W. El Nahal, "Efficient data compression of ecg signal based on modified discrete cosine transform," Computers, Materials & Continua, vol. 71, no.3, pp. 4391–4408, 2022.

This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 743


  • 651


  • 0


Share Link

WeChat scan