Next Article in Journal
On Machine Learning in Clinical Interpretation of Retinal Diseases Using OCT Images
Next Article in Special Issue
ECG Heartbeat Classification Using Machine Learning and Metaheuristic Optimization for Smart Healthcare Systems
Previous Article in Journal
A Review of the Technology, Training, and Assessment Methods for the First Real-Time AI-Enhanced Medical Device for Endoscopy
Previous Article in Special Issue
Method for Solving Difficulties in Rhythm Classification Caused by Few Samples and Similar Characteristics in Electrocardiograms
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Compression of Bio-Signals Using Block-Based Haar Wavelet Transform and COVIDOA for IoMT Systems

by
Doaa Sami Khafaga
1,
Eman Abdullah Aldakheel
1,*,
Asmaa M. Khalid
2,
Hanaa M. Hamza
2 and
Khaid M. Hosny
2
1
Department of Computer Sciences, College of Computer and Information Sciences, Princess Nourah bint Abdulrahman University, P.O. Box 84428, Riyadh 11671, Saudi Arabia
2
Information Technology Department, Faculty of Computers & Informatics, Zagazig University, Zagazig 44519, Egypt
*
Author to whom correspondence should be addressed.
Bioengineering 2023, 10(4), 406; https://doi.org/10.3390/bioengineering10040406
Submission received: 14 February 2023 / Revised: 7 March 2023 / Accepted: 17 March 2023 / Published: 24 March 2023

Abstract

:
Background: Bio-signals are the essential data that smart healthcare systems require for diagnosing and treating common diseases. However, the amount of these signals that need to be processed and analyzed by healthcare systems is huge. Dealing with such a vast amount of data presents difficulties, such as the need for high storage and transmission capabilities. In addition, retaining the most useful clinical information in the input signal is essential while applying compression. Methods: This paper proposes an algorithm for the efficient compression of bio-signals for IoMT applications. This algorithm extracts the features of the input signal using block-based HWT and then selects the most important features for reconstruction using the novel COVIDOA. Results: We utilized two different public datasets for evaluation: MIT-BIH arrhythmia and EEG Motor Movement/Imagery, for ECG and EEG signals, respectively. The proposed algorithm’s average values for CR, PRD, NCC, and QS are 18.06, 0.2470, 0.9467, and 85.366 for ECG signals and 12.6668, 0.4014, 0.9187, and 32.4809 for EEG signals. Further, the proposed algorithm shows its efficiency over other existing techniques regarding processing time. Conclusions: Experiments show that the proposed method successfully achieved a high CR while maintaining an excellent level of signal reconstruction in addition to its reduced processing time compared with the existing techniques.

1. Introduction

Smart healthcare systems deal with massive amounts of medical data daily for healthcare monitoring and early detection and diagnosis of diseases [1]. Bio-signals are records of biological events inside the human body, such as a heartbeat or muscle contraction. These signals are used to detect whether there is a problem or disorder in a human organ. There are many kinds of bio-signals used for various clinical purposes, such as ECG, which is used for recording human heart activity, EEG for recording the electrical activity of the brain, EMG for evaluating the electrical activity of skeletal muscles, ERG for measuring the electrical responses of various cell types in the retina, and EGG for recording the myoelectrical signal generated by the movement of the smooth muscle of the stomach [2]. ECG and EEG are the most widely used bio-signals for diagnoses of cardiac and brain disturbances [3]. Three main elements represent a typical heartbeat signal: the P wave, which indicates depolarization of the atria, the QRS complex, which shows depolarization of the ventricles, and the T wave, which represents repolarization of the ventricles, as shown in Figure 1. On the other hand, EEG signals record the brain’s electrical activity. Several sensors are positioned on various parts of the scalp to record EEG signals, as shown in Figure 2. EEG signals help to identify various common diseases, such as epilepsy and autism spectrum disorder [4].
In smart healthcare systems, the bio-signals are recorded by sensors attached to the patient’s body and then digitized. The digital bio-signals are processed using digital computers or computer-based medical devices [5]. An effective compression method is a basic need in such systems to minimize the volume of medical data and enhance the transmission’s efficiency [6]. However, obtaining high compression ratios is insufficient for an efficient compression algorithm, and data quality must also be maintained since the loss of medical data could lead to misdiagnosis problems. For these reasons, we proposed an algorithm for efficient compression of bio-signals that can achieve very high CR (CR = 32) and preserve the diagnostic features of the input signal. This algorithm is based on a block-based HWT and COVIDOA. The HWT is used to obtain the features of the signal for these reasons [7]:
  • The HWT can extract local spectral and temporal information simultaneously.
  • Wavelet-based coding allows for progressive data transmission and is more robust to transmission and decoding failures.
  • The HWT is conceptually simple and fast.
  • The HWT is completely reversible and does not suffer from the edge effects that are an issue with other wavelet transformations.
  • Block-based HWT and inverse transform can be performed by applying matrix multiplication.
We apply the HWT to the input signal and then select the best-fit coefficients to reconstruct the digital signal using COVIDOA according to a predefined objective function. The PRD is selected as the objective function so that the coefficients that lead to the minimum PRD values will be selected for reconstruction. The PRD is calculated as follows:
PRD   % = x = 0 N 1 f x F x 2 x = 0 N 1 f x 2 × 100
The F and f are reconstructed and original signals.
The rest of the paper is organized as follows: Concise literature is presented in Section 2. The explanation of calculating the HWT is discussed in Section 3. In Section 4, a brief overview of COVIDOA is presented. The proposed compression/decompression algorithm using HWT and COVIDOA is described in Section 5. Experiments, results, and discussion are presented in Section 6. The conclusion and the recommendation for future work are drawn in the last section.

2. Literature Review

Over the last few decades, various algorithms have been proposed to compress medical data. These algorithms are either lossless or lossy compression. The lossless compression methods can achieve small compression ratios with no data loss, while lossy algorithms achieve much higher compression ratios but some information will be lost [8]. Data quality is crucial in the medical field, and losing some features may significantly impact the diagnosis process. However, suppose the data loss is within an acceptable limit and does not affect the data’s visual appearance. In that case, lossy compression techniques will be a good choice due to the high compression ratio they can achieve [9]. In [10], an ASCII character-encoding-based lossless compression method was proposed. In [11], Chen and Wang used two Huffman coding tables to develop a useful lossless compression method to reduce the storage and transmission demands for ECG signals. This algorithm has the advantages of low cost and power consumption. Rzepka [12] used selective linear prediction to compress multi-channel ECG.
Most lossy compression algorithms are based on transform coding, where a specific transform is applied to the input signal, and some information is used to be discarded. In contrast, the others are used in the reconstruction process. The result of this process will not be identical to the original input, but it should be close enough according to the application’s purpose. The most popular transform-based compression techniques involve the DCT [13], DWT [7], and moment-based transform [14]. For bio-signal compression, Batista et al. [15] utilized Golomb–Rice coding with optimum DCT coefficients to compress ECG signals. They used the well-known MIT-BIH Arrhythmia database to evaluate their algorithm, where CR of 10.4:1 and PRD 2.5% were achieved. Jha and Kolekar [16] proposed another DCT-based algorithm to compress ECG signals. They employed DOST and dead-zone quantization to transform coefficients. Recent work includes the technique proposed in [17] for assessing compressed and decompressed ECG databases. The proposed algorithm used DCT, 16-bit quantization, run-length encoding for compression, and convolution neural network for classification. The obtained CR was 2.56, and the classification accuracies were 0.966 and 0.990 for the compressed and decompressed databases, respectively. Further, Pal et al. [18] proposed a compression algorithm for 2D ECG signals based on the combination of DCT and embedded zero-tree wavelet. The results showed that the suggested approach could raise the sparsity of the transform domain, which boosts compression effectiveness with a small degradation in reconstruction quality. Other DCT-based signal compression algorithms are proposed in [19,20].
The WT is a powerful tool for signal analysis because of its compact representation of signals and images, and its most popular applications are denoising and compression of signals [21]. Recently, OMs, such as Tchebichef and Hahn moments, have been used in signal reconstruction and compression due to their ability to represent signals [22]. Signal compression techniques based on orthogonal moments are presented in [23,24]. It is observed from the state of the art that the wavelet-based algorithms provide superior performance compared to the other compression methods [21]. Jha and Kolekar [25] used the DWT to select an appropriate mother wavelet to compress the ECG signal while guaranteeing quality. The same authors employed EMD and DWT to develop another ECG compression algorithm [26]. Based on the obtained results, it is noticed that the suggested method performs better than several current ECG compressors. Singhai et al. [27] used DWT and PSO to design a compression algorithm where the PSO selects threshold values and the optimal wavelet parameters. The compression ratio obtained using this algorithm was 28.43 at PRD = 2.63. Kolekar et al. [28] proposed an ECG compression technique based on the modified run-length encoding of wavelet coefficients. The proposed approach used dead-zone quantization for WT coefficients, and the obtained coefficients were encoded using modified run-length encoding.
Shi et al. [29] proposed a new ECG compression method based on a binary convolutional auto-encoder (BCAE) equipped with residual error compensation (REC). The proposed method aimed to achieve efficient ECG compression through deep learning while ensuring high signal quality. The performance is tested using several measures, such as PRD, QS, SNR, and CR. The average performance in CR, PRD, NPRD, and SNR is 17.18, 3.92, 6.36, and 28.27 dB, respectively, for 48 ECG records. The achieved results in CR and PRD are 117.33 and 7.76, respectively. Recently, Singhai et al. [30] presented an algorithm for ECG compression based on DWT and nature-inspired optimization algorithms. The algorithm used the optimization algorithm to find the optimal wavelet design parameter values and optimal threshold levels. The results show the capability of this technique to provide high compression ratios with high signal quality.
Lossy compression depends on using only some features and omitting others in return for reduced size. The question is, therefore, which features should be selected and which should not? The answer should be that the features that contain the most important clinical features and lead to the highest reconstruction quality should be selected, and the remaining features should be neglected. An optimization algorithm would be very helpful in selecting the most important feature subset. Motivated by the simplicity and efficiency of the HWT in signal and image processing and the efficiency of COVIDOA in solving various optimization tasks, we utilized the HWT in combination with COVIDOA to develop an efficient compression algorithm for bio-signals. In this approach, the signal is transformed using the HWT and then the best feature subset from the wavelet coefficients that should be used for reconstructing the signal will be selected with the help of COVIDOA.

3. HWT

This section explains applying a fast block-based HWT to a one-dimensional signal. Suppose the signal is divided into K blocks denoted by Bi, i = 1, 2, 3, …, K, where Bi is the ith block of size 1   ×   N . The following formula can perform the forward HWT for each block:
T = BA T
where B is the signal block and A is the Haar matrix.
The Haar matrix can be obtained using the following formula [31]:
A 0 x = 1 N , 0 x X
A 1 x = 1 N 1 ,           0 x X , 1 ,         X 2 x X , 0 ,             otherwise ,
and
A i x = 1 N 2 j 2 ,         k 1 2 j X x k 1 2 2 j X , 2 j 2 ,             k 1 2 2 j X x   k 2 j X , 0 ,                                                     otherwise ,
where i = 1, 2, …, N − 1, N = 2 j j = 0 ,   1 ,   ,   J   refers   to   the   wavelet   level . J represents the resolution. j and k represent the integer decomposition of the index i, where i = N + k − 1 and k = 1, 2, …,   2 j . A 0 x   represented   the   scaling   function while A 1 x is the mother wavelet function. The other remaining Haar wavelet functions can be obtained from the mother function A 1 x by applying translation and dilation processes.
According to the previous formula, the kernel matrix for the HWT can be generated as follows:
A = A 0 1 A 0 2 A 0 N 1 A 1 1 A 1 2 A 1 N 1 A 2 1 A 2 2 A 2 N 1 A N 1 1 A N 1 2 A N 1 N 1
According to N, the Haar wavelet kernel matrix can be of size 4 × 4, 8 × 8, 16 × 16, 32 × 32, or 64 × 64. The 8 × 8 Haar wavelet matrix is as follows:
A A 8 × 8 = 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 4 1 4 1 4 1 4 0 0 0 0 0 0 0 0 1 4 1 4 1 4 1 4 1 2 1 2 0 0 0 0 0 0 0 0 1 2 1 2 0 0 0 0 0 0 0 0 1 2 1 2 0 0 0 0 0 0 0 0 1 2 1 2
The original signal block B can then be reconstructed from its transform by applying the inverse Haar transform as follows:
AR = TA
T and R are the reconstructed signal block and the transform coefficients.

4. COVIDOA

COVIDOA is a recent metaheuristic inspired by the replication life cycle of the novel Coronavirus particles inside the human body [32]. COVIDOA is divided into four stages as follows:
  • Virus entry and uncoating
The virus particle tries to enter the human body cell through a special structural protein called spike protein. After entry, the virus genome is uncoated inside the cell.
b.
Virus replication
The virus uses the frameshifting technique to generate millions of copies to hijack as many human cells as possible. The most popular frameshifting technique is +1 frameshifting, in which the elements of the parent sequence are moved forward by one step, resulting in losing the first element in the parent sequence, which will be replaced by a random value between lb and ub as follows:
V t 1 = rand   lb , ub ,
V t 2 : D = P 1 : D 1
The P is the parent sequence; the V t is the generated viral protein number t; lb and ub are the lower and upper bounds; D is the problem dimension.
c.
Virus mutation
The virus tries to mutate to hijack the immune system as follows:
Z i = r           if   rand 0 , 1 < M R X i                                           otherwise
Z and X are the mutated and non-mutated solutions, and i = 1, …, D. r is a random number in a range [ lb , ub ]. MR is the mutation rate, which has a value from 0.005 to 0.5.
d.
New virion formation and release
The previous steps generate many new virus particles called virions, which are then released from the infected cell and directed to new cells. The pseudocode of COVIDOA is shown in Algorithm 1.
Algorithm 1 Pseudocode of COVIDOA.
Set initial values of the following parameters: Dimension (D), population size (popSize), maximum number of iterations (MaxItr), number of proteins, shifting number, and mutation rate (MR).
For (i = 1: I ≤ nPop) do
   Generate initial random population.
   Evaluate the fitness function for all solutions in the population.
End for
Order solutions ascendingly according to fitness function.
Set the first solution as the optimum solution.
Set t = 1
Repeat
   For (i = 1: I ≤ nPop) do
     Select a parent solution P,
     For (k = 1: I ≤ number of proteins) do
        Generate protein Vk from parent solution P using Equations (9) and (10).
     End for
     Apply uniform crossover between the generated proteins to generate new virion (new solution).
     if (rand (0,1) < MR) then
        Mutate the new solution using Equation (11).
     End if
   End for
Until t ≥ MaxItr

5. The Proposed Compression/Decompression Algorithm

In the proposed compression algorithm, we utilized a simplified block-based HWT to obtain the Haar coefficients for the signal; then, the COVIDOA is used to select a subset of the coefficients needed for signal reconstruction. The size of the selected subset is determined according to the desired compression ratio (CR) using the following formula:
SS   =   Round   1 CR 100 ×   N
where SS refers to the size of a selected subset of coefficients, CR is the desired compression ratio, and N is the signal block size. The following steps can summarize the proposed compression algorithm:
  • The signal is split up into blocks of size 1 × N; N can be 8, 16, 32, or 64.
  • The required subset of the size of the coefficients is calculated using Equation (12).
  • The Haar wavelet kernel matrix is calculated using Equations (3)–(5).
  • The parameters of COVIDOA are set as follows: D = SS; population size (popSize) = 30; the maximum number of iterations (MaxItr) = 50; the number of proteins = 2; shifting number = 1; mutation rate (MR) = 0.5.
  • For each signal block
    • Calculate the block-based HWT to obtain the Haar coefficients using Equation (2).
    • COVIDOA is used to select the optimal coefficients according to the PRD objective function using Equation (1) as follows:
      • Generate an initial random population of solutions and compute the objective function for each solution.
      • Select parent solution using tournament selection and apply the frameshifting technique to generate several proteins using Equations (9) and (10).
      • Apply crossover between the generated proteins to generate a new virion.
      • Apply mutation to the previously generated solution to obtain a new mutated solution.
      • Replace the new solution with the parent solution if the new solution is fitter than the parent. Otherwise, the parent solution remains.
      • Repeat steps ii to v until the MaxItr is reached.
      • Select the optimal solution achieved so far.
    • From the coefficient obtained in step a, only the coefficients whose positions correspond to the values in the optimum solution are selected, and the remaining coefficients are ignored (set to zero).
    • Apply the inverse transform to the optimum coefficients obtained in the previous step to obtain the reconstructed signal block using Equation (8).
  • Concatenate the reconstructed blocks to obtain the reconstructed signal.
  • Evaluate the algorithm’s performance using CR, PRD, SSIM, and QS metrics.
A diagram of the proposed compression/decompression approach is displayed in Figure 3.

6. Results

This section provides a brief overview of the utilized datasets, the evaluation criteria, and the numerical results and discussions about the experiments performed by the proposed algorithm as follows:

6.1. Datasets

Two separate bio-signal datasets are utilized to evaluate the performance of the proposed compression algorithm. The MIT-BIH arrhythmia dataset is used for testing ECG compression [33]. Further, 25 ECG records that contain cardiac information for a group of volunteers are selected for evaluation. The selected signals have a sampling rate of 360 samples per second and a resolution of 11 bits. The second dataset is the Motor Movement/Imagery Dataset, used for testing EEG compression [34]. This dataset contains over 1500 one- and two-minute EEG recordings collected from 109 volunteers. Twenty single-channel EEG signals are selected for testing. The sampling frequency of the selected EEG signals is 160 samples per second.

6.2. Evaluation Criteria

The compression ratio and the reconstructed image quality must be measured to evaluate the proposed algorithm’s performance. Various metrics are utilized for evaluation as follows:
  • CR
The achieved CR can be measured as follows:
CR = N O N R
NO and NR represent the number of bits in the original and reconstructed signals.
  • PRD %
This metric is used to quantify the difference between the original and reconstructed signals as follows:
RD = f x F x 2 f x 2 × 100
  • NCC
NCC is used to measure the correlation between two signals. Its value ranges from 1 to −1, where 1 represents a complete positive correlation and −1 represents a complete negative correlation. The NCC between the original signal f(x) and reconstructed signal F(x) is calculated as follows:
NCC = ( f x f ¯ x ) ( F x F ¯ x ) ( f x f ¯ x ) 2 ( F x F ¯ x 2 )
f ¯ x and F ¯ x are the mean values for the original and reconstructed signals, respectively.
  • QS
QS is used to measure the performance of the compression algorithm. The higher the value of QS, the better the algorithm’s performance. QS can be calculated as follows:
QS = CR PRD
For a fair comparison, the proposed and competing algorithms were tested on a PC with the following specifications: Intel(R) Core(TM) i7-1065G7 CPU, 8 GB RAM, Windows 10 operating system, and MATLAB R2016a development environment.

6.3. Numerical Results and Discussion

This section presents the numerical outcomes of the suggested ECG and EEG compression algorithm. For ECG compression, 25 records from the MIT-BIH arrhythmia dataset are compressed using the proposed approach, and the results are shown in Table 1. It can be noticed from the table that the proposed approach has efficient compression performance as it can achieve high CR (CR = 32) with excellent signal reconstruction quality (PRD = 0.2665 and NCC = 0.9436). Additionally, the high-quality score results prove the efficient overall performance of the proposed compression approach. For example, records 108, 112, 117, 118, and 121 have the highest QS results 119, 166, 110, 142, and 211. The average results of the proposed approach in terms of CR, PRD, NCC, and QS are 18.06, 0.2470, 0.9467, and 85.366. Figure 4 shows examples of ECG signals after compression and decompression by the proposed algorithm. The excellent quality of the reconstructed signals is clear from the figure, as the reconstructed signals are very similar to the original.
For EEG compression, 20 single-channel EEG signals from the Motor Movement/Imagery Dataset are compressed and decompressed by the proposed approach. The results in terms of CR, PRD, NCC, and QS and displayed in Table 2. It is shown from the table that the proposed algorithm can achieve high CR values while maintaining signal quality for EEG signals. The best EEG compression results for the proposed algorithm are 16, 0.2423, 0.9725, and 66.033 for CR, PRD, NCC, and QS, respectively. The proposed algorithm can achieve average CR, PRD, NCC, and QS values of 12.6668, 0.4014, 0.9187, and 32.4809, respectively. Figure 5 shows samples of EEG signals before and after compression by the proposed algorithm.
A comparison with some existing approaches [22,23,24] to prove the efficiency of the proposed compression algorithm over the state-of-the-art techniques is conducted in terms of CR, PRD, and QS, as shown in Table 3. It is shown from the table that with the same CR, the proposed approach achieves the minimum PRD and maximum QS values, which demonstrates the proposed algorithm’s superiority to the competing methods.
In remote healthcare monitoring systems, the compression speed is very important as a higher compression speed means reduced energy consumption. Along with the evaluation measures already mentioned, we also compared the other techniques in processing time. Table 4 and Table 5 show the processing time in seconds for the proposed and existing compression techniques for ECG and EEG signals. The tables demonstrate that the proposed algorithm has a lower processing time than the other techniques in most cases. However, in some cases, the technique in [24], which uses Tchebichef moments with the ABC algorithm, has the lowest processing time, especially in higher compression ratios. We conclude from previous experiments that the proposed compression algorithm achieves excellent performance for bio-signal compression.

7. Conclusions

In this paper, an efficient compression algorithm is proposed for bio-signals. Because of the simplicity and efficiency of the HWT in extracting signal information, the proposed technique used the block-based HWT to extract the signal’s features. The novel COVIDOA selects the best wavelet coefficient subset to achieve the desired compression ratio. The optimum coefficient subset is selected according to a selected objective function, PRD. The subset of coefficients that achieves the minimum PRD value is selected and is considered the optimum and selected for signal reconstruction. The MIT-BIH arrhythmia and Motor Movement/Imagery datasets are used to test the performance of the proposed algorithm in ECG and EEG signal compression. The results showed that the proposed compression approach could achieve high CRs while maintaining signal quality. Comparing existing compression algorithms is conducted according to CR, PRD, NCC, QS, and processing time. The comparison proved the superiority of the proposed algorithm in ECG and EEG compression.
Future work may include applying the proposed algorithm for other bio-signals, such as EMG, ERG, and EGG. Further, the proposed approach may be applied to 2D and 3D medical image compression to minimize the storage and transmission capabilities required by healthcare systems.

Author Contributions

Conceptualization, K.M.H. and A.M.K.; methodology, K.M.H.; software, A.M.K.; validation, H.M.H., D.S.K. and E.A.A.; formal analysis, K.M.H.; investigation, H.M.H.; resources, D.S.K.; data curation, E.A.A.; writing—original draft preparation, A.M.K.; writing—review and editing, K.M.H.; visualization, H.M.H.; supervision, K.M.H.; project administration, D.S.K.; funding acquisition, E.A.A. All authors have read and agreed to the published version of the manuscript.

Funding

Princess Nourah bint Abdulrahman University Researchers Supporting Project number (PNURSP2023R409), Princess Nourah bint Abdulrahman University, Riyadh, Saudi Arabia.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data is publicly available at: https://archive.physionet.org/physiobank/.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Tian, S.; Yang, W.; Le Grange, J.M.; Wang, P.; Huang, W.; Ye, Z. Smart healthcare: Making medical care more intelligent. Glob. Health J. 2019, 3, 62–65. [Google Scholar] [CrossRef]
  2. Reaz, M.B.I.; Hussain, M.S.; Mohd-Yasin, F. Techniques of EMG signal analysis: Detection, processing, classification, and applications. Biol. Proced. Online 2006, 8, 11–35. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  3. Houssein, E.H.; Kilany, M.; Hassanien, A.E. ECG signals classification: A review. Int. J. Intell. Eng. Inform. 2017, 5, 376–396. [Google Scholar] [CrossRef]
  4. Nagel, S. Towards a Home-Use BCI: Fast Asynchronous Control and Robust Non-Control State Detection. Ph.D. Thesis, Universität Tübingen, Tübingen, Germany, 2019. [Google Scholar]
  5. Jeong, J.S.; Han, O.; You, Y.Y. A design characteristics of smart healthcare system as the IoT application. Indian J. Sci. Technol. 2016, 9, 52. [Google Scholar] [CrossRef]
  6. Abdellatif, A.A.; Emam, A.; Chiasserini, C.F.; Mohamed, A.; Jaoua, A.; Ward, R. Edge-based compression and classification for smart healthcare systems: Concept, implementation, and evaluation. Expert Syst. Appl. 2019, 117, 1–14. [Google Scholar] [CrossRef]
  7. Makbol, N.M.; Khoo, B.E.; Rassem, T.H. Block-based discrete wavelet transform-singular value decomposition image watermarking scheme using human visual system characteristics. IET Image Process. 2016, 10, 34–52. [Google Scholar] [CrossRef] [Green Version]
  8. Mentzer, F.; Gool, L.V.; Tschannen, M. Learning better lossless compression using lossy compression. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 14–19 June 2020; pp. 6638–6647. [Google Scholar]
  9. Hosny, K.M.; Khalid, A.M.; Mohamed, E.R. Efficient compression of volumetric medical images using Legendre moments and differential evolution. Soft Comput. 2020, 24, 409–427. [Google Scholar] [CrossRef]
  10. Mukhopadhyay, S.K.; Mitra, S.; Mitra, M. A lossless ECG data compression technique using ASCII character encoding. Comput. Electr. Eng. 2011, 37, 486–497. [Google Scholar] [CrossRef]
  11. Chen, S.L.; Wang, J.G. VLSI implementation of low-power cost-efficient lossless ECG encoder design for wireless healthcare monitoring application. Electron. Lett. 2013, 49, 91–93. [Google Scholar] [CrossRef]
  12. Rzepka, D. Low-complexity lossless multichannel ECG compression based on selective linear prediction. Biomed. Signal Process. Control 2020, 57, 101705. [Google Scholar] [CrossRef]
  13. Zhou, X.; Bai, Y.; Wang, C. Image compression based on discrete cosine transform and multistage vector quantization. Int. J. Multimed. Ubiquitous Eng. 2015, 10, 347–356. [Google Scholar] [CrossRef]
  14. Mahmmod, B.M.; Ramli, A.R.B.; Abdulhussain, S.H.; Al-Haddad, S.A.R.; Jassim, W.A. Signal compression and enhancement using a new orthogonal-polynomial-based discrete transform. IET Signal Process. 2018, 12, 129–142. [Google Scholar] [CrossRef]
  15. Batista, L.V.; Carvalho, L.C.; Melcher, E.U.K. Compression of ECG signals based on optimum quantization of discrete cosine transform coefficients and Golomb-Rice coding. In Proceedings of the 25th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (IEEE Cat. No. 03CH37439), Cancún, Mexico, 17–21 September 2003; Volume 3, pp. 2647–2650. [Google Scholar]
  16. Jha, C.K.; Kolekar, M.H. Electrocardiogram data compression using DCT-based discrete orthogonal Stockwell transform. Biomed. Signal Process. Control 2018, 46, 174–181. [Google Scholar] [CrossRef]
  17. Soni, E.; Nagpal, A.; Garg, P.; Pinheiro, P.R. Assessment of Compressed and Decompressed ECG Databases for Telecardiology Applying a Convolution Neural Network. Electronics 2022, 11, 2708. [Google Scholar] [CrossRef]
  18. Pal, H.S.; Kumar, A.; Vishwakarma, A.; Balyan, L.K. A Hybrid 2D ECG Compression Algorithm using DCT and Embedded Zero Tree Wavelet. In Proceedings of the 2022 IEEE 6th Conference on Information and Communication Technology (CICT), Gwalior, India, 18–20 November 2022; pp. 1–5. [Google Scholar]
  19. Su, Y.; Lu, X.; Huang, L.; Du, X.; Guizani, M. A novel DCT-based compression scheme for 5G vehicular networks. IEEE Trans. Veh. Technol. 2019, 68, 10872–10881. [Google Scholar] [CrossRef]
  20. Pandey, A.; Saini, B.S.; Singh, B.; Sood, N. Quality-controlled ECG data compression based on 2D discrete cosine coefficient filtering and iterative JPEG2000 encoding. Measurement 2020, 152, 107252. [Google Scholar] [CrossRef]
  21. Rajankar, S.O.; Talbar, S.N. An electrocardiogram signal compression techniques: A comprehensive review. Analog Integr. Circuits Signal Process. 2019, 98, 59–74. [Google Scholar] [CrossRef]
  22. Bencherqui, A.; Daoui, A.; Karmouni, H.; Qjidaa, H.; Alfidi, M.; Sayyouri, M. Optimal reconstruction and compression of signals and images by Hahn moments and artificial bee Colony (ABC) algorithm. Multimed. Tools Appl. 2022, 81, 29753–29783. [Google Scholar] [CrossRef]
  23. Akkar, H.A.; Hadi, W.A.; Al-Dosari, I.H. A Squared-Chebyshev wavelet thresholding based 1D signal compression. Def. Technol. 2019, 15, 426–431. [Google Scholar] [CrossRef]
  24. Hosny, K.M.; Khalid, A.M.; Mohamed, E.R. Efficient compression of bio-signals by using Tchebichef moments and Artificial Bee Colony. Biocybern. Biomed. Eng. 2018, 38, 385–398. [Google Scholar] [CrossRef]
  25. Kumar Jha, C.; Kolekar, M.H. Diagnostic quality assured ECG signal compression with selection of appropriate mother wavelet for minimal distortion. IET Sci. Meas. Technol. 2019, 13, 500–508. [Google Scholar] [CrossRef]
  26. Jha, C.K.; Kolekar, M.H. Empirical mode decomposition and wavelet transform-based ECG data compression scheme. IRBM 2021, 42, 65–72. [Google Scholar] [CrossRef]
  27. Singhai, P.; Ateek, A.; Kumar, A.; Ansari, I.A.; Bhalerao, S. ECG Signal Compression based on Wavelet Parameterization and Thresholding using PSO. In Proceedings of the 2020 International Conference on Communication and Signal Processing (ICCSP), Chennai, India, 28–30 July 2020. [Google Scholar]
  28. Kolekar, M.H.; Jha, C.K.; Kumar, P. ECG Data Compression Using Modified Run Length Encoding of Wavelet Coefficients for Holter Monitoring. IRBM 2022, 43, 325–332. [Google Scholar] [CrossRef]
  29. Shi, J.; Wang, F.; Qin, M.; Chen, A.; Liu, W.; He, J.; Wang, H.; Chang, S.; Huang, Q. New ECG Compression Method for Portable ECG Monitoring System Merged with Binary Convolutional Auto-Encoder and Residual Error Compensation. Biosensors 2022, 12, 524. [Google Scholar] [CrossRef] [PubMed]
  30. Singhai, P.; Kumar, A.; Ateek, A.; Ansari, I.A.; Singh, G.K.; Lee, H.N. ECG Signal Compression Based on Optimization of Wavelet Parameters and Threshold Levels Using Evolutionary Techniques. Circuits Syst. Signal Process. 2023, 1–29. [Google Scholar] [CrossRef]
  31. Aznam, S.M.; Chowdhury, M.S.H. Generalized Haar wavelet operational matrix method for solving hyperbolic heat conduction in thin surface layers. Results Phys. 2018, 11, 243–252. [Google Scholar] [CrossRef]
  32. Khalid, A.M.; Hosny, K.M.; Mirjalili, S. COVIDOA: A novel evolutionary optimization algorithm based on coronavirus disease replication lifecycle. Neural Comput. Appl. 2022, 34, 22465–22492. [Google Scholar] [CrossRef]
  33. Mark, R.G.; Schluter, P.S.; Moody, G.B.; Devlin, P.H.; Chernoff, D. An annotated ECG database for evaluating arrhythmia detectors. IEEE Trans. Biomed. Eng. 1982, 29, 600. [Google Scholar]
  34. Schalk, G.; McFarland, D.J.; Hinterberger, T.; Birbaumer, N.; Wolpaw, J.R. BCI2000: A General-Purpose Brain-Computer Interface (BCI) System. IEEE Trans. Biomed. Eng. 2004, 51, 1034–1043. [Google Scholar] [CrossRef]
Figure 1. Single heartbeat.
Figure 1. Single heartbeat.
Bioengineering 10 00406 g001
Figure 2. EEG recording [4].
Figure 2. EEG recording [4].
Bioengineering 10 00406 g002
Figure 3. Compression and Decompression processes of the suggested algorithm.
Figure 3. Compression and Decompression processes of the suggested algorithm.
Bioengineering 10 00406 g003
Figure 4. Here, 107, 118, and 109 ECG records compression with the suggested algorithm.
Figure 4. Here, 107, 118, and 109 ECG records compression with the suggested algorithm.
Bioengineering 10 00406 g004
Figure 5. Compression of S003R03 and S003R01 EEG records using the proposed algorithm.
Figure 5. Compression of S003R03 and S003R01 EEG records using the proposed algorithm.
Bioengineering 10 00406 g005
Table 1. Result of ECG signal compression using the proposed algorithm.
Table 1. Result of ECG signal compression using the proposed algorithm.
SignalMetric
CRPRDNCCQS
10025.60000.27640.930592.6194
10121.30.29510.917372.2034
10221.30.37000.939957.5676
10310.66670.26280.973440.7137
104160.27300.983358.6081
105160.30510.976352.4590
10680.23360.989034.2466
10710.66670.18320.990958.2242
10821.3330.17900.9689119.1788
109320.26650.9436119.8951
11110.66670.24710.980543.1850
112160.09680.9250166.6667
11310.66670.25840.973941.3438
11421.33330.52720.923840.4647
11521.3330.30170.899370.8738
11618.28570.28450.918864.3863
117160.14530.9158110.1170
11821.3330.15010.9455142.2222
119160.15110.9480105.8901
12121.30.10080.9452211.3095
122160.16600.965396.3855
12321.30.17650.8928120.6799
12421.30.18560.9214114.7629
20021.30.38950.930154.6855
202160.35180.968945.4804
Average18.060.24700.946785.366
Table 2. Result of EEG signal compression using the proposed algorithm.
Table 2. Result of EEG signal compression using the proposed algorithm.
SignalMetric
CRPRDNCCQS
S001R0180.42590.914518.7838
S001R0210.66670.44400.899324.0241
S001R0310.66670.42710.925724.9747
S001R04160.39110.920740.9103
S001R0510.66670.44810.898623.8027
S001R06160.43440.908536.8324
S001R0780.35800.939322.3464
S001R0810.66670.41300.922425.8274
S001R0910.66670.41340.918725.8024
S001R10160.41160.916138.8727
S001R11160.35950.942944.5063
S001R1210.66670.41480.915925.7153
S001R1380.35400.938122.5989
S001R14160.34240.942746.7290
S002R01160.48840.882932.7600
S002R0210.66670.44360.890724.0458
S002R05160.47530.852233.6629
S003R01160.43290.910536.9600
S003R03160.24230.972566.033
S003R0510.66670.30980.962334.4309
Average12.66680.40140.918732.4809
Table 3. Comparison with other techniques.
Table 3. Comparison with other techniques.
AlgorithmMetric
CRPRDNCCQS
100 mProposed25.60000.28210.900590.7801
Ref. [24]160.40580.506839.4283
Ref. [22]10.66670.69930.418115.2534
101Proposed21.30.29510.917372.2034
Ref. [24]21.30.44110.579148.2884
Ref. [22]21.30.90850.347423.4452
112Proposed160.09680.9190166.6667
Ref. [24]160.19300.602282.9016
Ref. [22]12.80000.90450.159914.1515
117Proposed160.14530.8954110.1170
Ref. [24]160.19030.694684.0778
Ref. [22]160.91200.191917.5439
121proposed21.30.10080.9352211.3095
Ref. [24]21.30.24030.587288.6392
Ref. [22]21.30.92910.155322.9254
S001R14Proposed160.34240.942746.7290
Ref. [24] 16 0.38170.931741.9177
Ref. [22]160.66300.747024.1327
S003R03Proposed160.24230.972566.033
Ref. [24]160.33680.968647.5059
Ref. [22]160.65740.736524.3383
Table 4. Processing time of the proposed and existing techniques in seconds for ECG compression.
Table 4. Processing time of the proposed and existing techniques in seconds for ECG compression.
SignalCR81016
AlgorithmProposedRef. [24]Ref. [22]ProposedRef. [24]Ref. [22]ProposedRef. [24]Ref. [22]
100Time(s)16.856920.5027143.08045.99045.276412.74385.12004.912710.5913
101Time(s)9.348218.4471124.04035.35235.3127310.37915.225715.92759.9437
102Time(s)20.9253222.253142.534314.4083614.867221.543912.7418415.438618.3288
Table 5. Processing time of the proposed and existing techniques in seconds for EEG compression.
Table 5. Processing time of the proposed and existing techniques in seconds for EEG compression.
SignalCR81016
AlgorithmProposedRef. [24]Ref. [22]ProposedRef. [24]Ref. [22]ProposedRef. [24]Ref. [22]
S003R03Time(s)19.8449022.2945860.858410.7256617.2483218.94206.5887848.4470468.36956
S001R06Time(s)19.0575032.0512380.7062011.4136327.0533034.8659910.1836617.93357736.61682
S002R01Time(s)22.5273245.581191.544916.2188725.767844.421015.221515.9344632.3308
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Khafaga, D.S.; Aldakheel, E.A.; Khalid, A.M.; Hamza, H.M.; Hosny, K.M. Compression of Bio-Signals Using Block-Based Haar Wavelet Transform and COVIDOA for IoMT Systems. Bioengineering 2023, 10, 406. https://doi.org/10.3390/bioengineering10040406

AMA Style

Khafaga DS, Aldakheel EA, Khalid AM, Hamza HM, Hosny KM. Compression of Bio-Signals Using Block-Based Haar Wavelet Transform and COVIDOA for IoMT Systems. Bioengineering. 2023; 10(4):406. https://doi.org/10.3390/bioengineering10040406

Chicago/Turabian Style

Khafaga, Doaa Sami, Eman Abdullah Aldakheel, Asmaa M. Khalid, Hanaa M. Hamza, and Khaid M. Hosny. 2023. "Compression of Bio-Signals Using Block-Based Haar Wavelet Transform and COVIDOA for IoMT Systems" Bioengineering 10, no. 4: 406. https://doi.org/10.3390/bioengineering10040406

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop