Elsevier

Information Sciences

Volume 429, March 2018, Pages 229-246
Information Sciences

Hybridizing β-hill climbing with wavelet transform for denoising ECG signals

https://doi.org/10.1016/j.ins.2017.11.026Get rights and content

Abstract

This paper introduces βHCWT, a hybrid of the β-hill climbing metaheuristic algorithm and wavelet transform (WT), as a new method for denoising electrocardiogram (ECG) signals. ECG signals are non-stationary signals that provide a graphical measure of electrical activities in human heart muscles. However, given their non-stationarity, these signals frequently encounter noise and a low signal-to-noise ratio (SNR). The selection of wavelet parameters is a challenging task that is usually performed based on empirical evidence or experience. Therefore, in this paper, β-hill climbing is applied to find the optimal wavelet parameters that can obtain the minimum mean square error (MSE) between the original and denoised ECG signals. The proposed method was tested on a standard ECG dataset from MIT-BIH while its performance was evaluated by using percentage root mean square difference (PRD) and SNR as criteria. Meanwhile, the effect of β-hill climbing on the performance of WT was tested by comparing the proposed method with WT. The proposed method was then compared with the genetic algorithm in consideration of the performance of the WT parameters and adaptive thresholding methods. The proposed method demonstrated an outstanding performance in removing noise from non-stationary signals, and the quality of the output signal was deemed favorable for medical diagnosis.

Introduction

An electrocardiogram (ECG) is a graphical recording of electrical activities in human heart muscles that is commonly used in cardiology tests, in which electrodes are placed on the skin for a certain period (generally around 10 s depending on the condition of the patient) [49] to detect whether the heart muscle has produced any electrical change on the skin in each heartbeat [32]. Thus, ECG signals are non-stationary signals [32] that frequently encounter noise and a low signal-to-noise ratio (SNR).

Accordingly, researchers have proposed various methods for reducing signal noise. Wavelet transform (WT) is a widely used signal processing tool [17], [22], [23], [31], [40], [46] that represents signals in the time-frequency domain and uses five parameters to obtain a smooth signal, including wavelet function name, decomposition level, thresholding methods, thresholding selection rule, and threshold rescaling methods, with each parameter having several types or values as shown in Table 1.

WT is considered the most effective solution to the signal denoising problem, particularly in biomedical signal processing [38], [40], [46]. Several other techniques have also been proposed for denoising ECG signals in biological signal processing, with most techniques adopting Donoho’s universal theory [5], [36], [39], [40], [46]. Sayadi et al. in [46] proposed bionic WT, which denoises ECG signals via the adaptive thresholding of WT. Novak et al. in [36] applied a detection algorithm to identify different noise levels in the wavelet domain and adopted soft thresholding in which they computed the thresholding value based on the noise in each signal decomposing level. Singh et al. in [50] proposed a method for selecting mother wavelet basis functions for denoising ECG signals in the wavelet domain. El-Dahshan in [19] proposed a hybrid of the genetic algorithm and WT for denoising ECG signals, in which the genetic algorithm was applied to find the best set of wavelet parameters and the performance of the hybrid was tested on an MIT-BIH dataset to test its performance. Srivastava et al. in [53] proposed a signal denoising method that involved (1) selecting the number of decomposition levels, (2) adopting a new approach for estimating the thresholding value, (3) adopting positive and negative thresholding values based on the wavelet coefficients, (4) denoising in the approximation part, and (5) adjusting the noise thresholding level. Nguyen et al. in [35] proposed a new ECG signal denoising method based on adaptive genetic algorithm-based thresholding and ensemble empirical mode decomposition. They tested this method on an MIT-BIH dataset [20], where the original ECG signal was corrupted with white Gaussian noise (WGN) and different SNR input noise levels. This method, which performance was evaluated based on mean squared error (MSE) and SNR, successfully removed white Gaussian noise from the ECG signal.

The above techniques have been adopted to achieve a high SNR, which corresponds to a low noise level in the output ECG signal. However, two factors, namely, high SNR and low percentage root mean square difference (PRD), must be also considered to guarantee an efficient system. An increase in SNR indicates the smooth denoising of signals, while a decrease in PRD indicates the efficient denoising of the original ECG signal. The survival of the fittest principle must be considered in the optimization to achieve a better ECG signal denoising performance. The β-hill climbing algorithm is a novel optimization algorithm with a local search area nature that can easily, rapidly, and efficiently find the local optimal solution [2]. This algorithm is initiated by a single provisional solution, x, which is changed iteratively by using a neighborhood structure (i.e.,N(x)) and a β-operator until a locally optimized solution is obtained. Before finding a precise local optimal solution, the β-hill climbing algorithm fine-tunes the search space in which all solutions converge. However, this algorithm goes through a trajectory without scanning the entire search space [2]. Nevertheless, given its many advantages, the β-hill climbing algorithm has been successfully applied to solve many optimization problems, such as in Sudoku [3], text clustering [1], multiple-reservoir scheduling [6], and signal processing [8], [9].

In this paper, the β-hill climbing algorithm is hybridized with WT to solve the ECG signal denoising problem. The β-hill climbing algorithm initially locates the optimal wavelet parameters that will minimize the MSE between the original and denoised signals. Afterward, the WT uses the optimal parameters to solve the ECG signal denoising problem. Selecting the best combination of wavelet parameters is a challenging task because the optimal wavelet denoising parameters are not determined by applying a certain technique but rather by referring to experience or empirical evidence. The proposed hybrid method involves three phases. In the first phase (Initialization), the noisy ECG signal and wavelet denoising parameters are initialized. In the second phase (tuning WT parameters by β-hill climbing algorithm), the β-hill climbing algorithm is applied to search the ECG signal space for the optimal wavelet parameters that can obtain the minimum MSE. The third phase (ECG denoising using WT with xopt) involves the Decomposition of the ECG signal by using discrete wavelet transform (DWT), Thresholding based on the noise level coefficients, and Reconstruction of the denoising signal via inverse DWT (iDWT).

The proposed hybrid method was tested on a standard ECG dataset from MIT-BIH,1 evaluated by using PRD and SNR as criteria, and compared with the genetic algorithm, which is a population-based optimization technique [19], [35]. The proposed method showed an outstanding performance in denoising ECG signals, and the quality of the denoised signal was deemed appropriate for clinical diagnosis.

This paper is organized as follows. Section 2 describes the denoising of ECG signals based on the optimal wavelet parameters. Section 3 describes the wavelet denoising principle. Section 4 presents the β-hill climbing algorithm. Section 5 explains the proposed denoising method. Section 6 presents an example of an ECG signal denoising process. Section 7 discusses the experiments and results. Section 7.1 explains the effect of the β-hill climbing algorithm on the performance of WT. Section 7.2 compares the β-hill climbing algorithm with the genetic algorithm. Section 8 concludes the paper.

Section snippets

Denoising ECG signals based on optimal wavelet parameters

Noise reduction is one of the most difficult challenges in signal processing [32]. Many researchers have attempted to solve this problem by using the filtering technique [13], [43], [52], thresholding technique [5], [17], [55], and other techniques [16], [56]. WT [7], [34], [54] has been extensively used to address several problems in signal processing, such as signal and image denoising, signal compression, and feature extraction [4], [11], [12], [15], [21], [24], [26], [28], [29], [33], [41],

Wavelet denoising principle

WT is a powerful tool that represents the signal based on the correlation between the translation and dilation of the mother wavelet [19], [39]. WTs can be classified into continuous wavelet transform (CWT) and discrete wavelet transform (DWT) [44]. Donoho in [18] proposed the so-called Donoho’s approach that defines DWTs as follows [49]: C(a,b)=mZx(m)gj,k(m),where C(a,b) denotes the wavelet dynamic coefficients a=2j, b=k2j, j ∈ Z, and k ∈ Z, a is the size of the time scale, b is the

β-Hill climbing algorithm

Hill climbing is a simple method for finding the local optimal solution. This iterative approach initially searches for an arbitrary solution to a problem and then moves along the search trajectory in the problem space to find a better solution. If a better solution is found in the preceding step, then the method searches for a new solution. This process is repeated until the local optima is reached or when the solution can no longer be improved.

However, the hill climbing algorithm only accepts

The β-hill climbing and WT hybrid method for ECG signal denoising

This section discusses the proposed ECG signal denoising method (βHCWT), which is a hybrid of the β-hill climbing algorithm and WT. This method involves three phases, and the result of one phase is used as an input in the succeeding phase. Fig. 5 presents a flowchart of these phases, and each phase is explained thoroughly as follows:

  • Phase I: Initialization In this phase, several parameters for the ECG denoising problem are prepared or initialized in three steps. First, the input ECG signal x(m)

Illustrative example

To explain further the behavior of the β-hill climbing algorithm in denoising ECG signals, suppose that the input ECG signal x(m) has been denoised by this algorithm. As mentioned earlier, the proposed method involves three phases. In the initialization phase, the input ECG signal x(m) is corrupted by WGN, the SNR, PRD, and MSE of x(m) are computed, and the β-hill climbing parameters are initialized. In the Tuning phase, the β-hill climbing algorithm finds the optimum WT parameters xopt for

Results and discussion

Several standard benchmarks from the MIT-BIH database [20] are used to test the performance of the proposed hybrid method. This database contains approximately 48 half-hour-long ECG recordings, and each of these recordings has a signal length of 650,000 samples, a sampling rate of 360 Hz, a resolution of 11 bits over a 10 mV range, and a bit rate of 3960 bps. The MIT-BIH database, which has been freely available in PhysioNet since February 2005, is a widely used benchmark for comparing and

Conclusion

This paper proposes a new hybrid method for denoising ECG signals that combines the β-hill climbing algorithm with WT. The proposed method can be considered a preprocessing tool for analyzing and classifying tasks with non-stationary signals, such as ECG signals. WT has five main parameters, with each parameter having different values. Selecting the suitable WT parameters is a challenging task that is usually performed based on empirical evidence or experience. The β-hill climbing algorithm

Acknowledgements

The first author would like to thank the University Science Malaysia (USM) and The World Academic Science (TWAS) for supporting his PhD study under the USM-TWAS Postgraduate Fellowship, FR number: 3240287134.

References (57)

  • S. Poornachandra et al.

    Hyper-trim shrinkage for denoising of ECG signal

    Digit. Signal Process.

    (2005)
  • B.N. Singh et al.

    Optimal selection of wavelet basis function applied to ECG signal denoising

    Digit. Signal Process.

    (2006)
  • B.N. Singh et al.

    Optimal selection of wavelet basis function applied to ECG signal denoising

    Digit. Signal Process.

    (2006)
  • K. Zeng et al.

    A novel cuboid method with particle swarm optimization for real-life noise attenuation from heart sound signals

    Expert Syst. Appl.

    (2014)
  • Y. Zhang et al.

    Exponential wavelet iterative shrinkage thresholding algorithm for compressed sensing magnetic resonance imaging

    Inf. Sci.

    (2015)
  • L.M. Abualigah et al.

    Feature selection with β-hill climbing search for text clustering application

    Information and Communication Technology (PICICT), 2017 Palestinian International Conference on

    (2017)
  • M.A. Al-Betar

    β-hill climbing: an exploratory local search

    Neural Comput. Appl.

    (2016)
  • M.A. Al-Betar et al.

    β-hill climbing algorithm for sudoku game

    Second Palestinian International Conference on Information and Communication Technology (PICICT 2017), Gaza, Palestine

    (2017)
  • A.-R. Al Qawasmi et al.

    ECG signal enhancement using wavelet transform

    WSEAS Trans. Biology Biomed.

    (2010)
  • M. Alfaouri et al.

    ECG signal denoising by wavelet transform thresholding

    Am. J. Appl. Sci.

    (2008)
  • E. Alsukni et al.

    Multiple-reservoir scheduling using β-hill climbing algorithm

    J. Intell. Syst.

    (2017)
  • Z.A.A. Alyasseri et al.

    Electroencephalogram signals denoising using various mother wavelet functions: a comparative analysis

    ICISPC ’17, Penang, Malaysia

    (2017)
  • Z.A.A. Alyasseri et al.

    Optimal electroencephalogram signals denoising using hybrid β-hill climbing algorithm and wavelet transform

    ICISPC ’17, Penang, Malaysia

    (2017)
  • Z.A.A. Alyasseri et al.

    ECG signal denoising using β-hill climbing algorithm and wavelet transform

    ICIT 2017 The 8th International Conference on Information Technology

    (2017)
  • A.A. Blessie et al.

    Image compression using wavelet transform based on the lifting scheme and its implementation

    IJCSI Int. J. Comput. Sci.Issues

    (2011)
  • G.D. Clifford et al.

    Classification of normal/abnormal heart sound recordings: the physionet/computing in cardiology challenge 2016

    Computing in Cardiology Conference (CinC), 2016

    (2016)
  • G. Cornelia et al.

    ECG signals processing using wavelets

    IEEE, proceedings of the fifth laserd International conference May

    (2005)
  • M. Cyriac et al.

    Denoising of ECG signals using the framelet transform

    Int. J. Comput. Appl.

    (2014)
  • Cited by (77)

    • Smoothing filter design: A general framework

      2023, Biomedical Signal Processing and Control
    • Sizing optimization of truss structures using hybrid whale optimization algorithm

      2023, Handbook of Whale Optimization Algorithm: Variants, Hybrids, Improvements, and Applications
    • Sparsity-based modified wavelet de-noising autoencoder for ECG signals

      2022, Signal Processing
      Citation Excerpt :

      Recently, machine learning models [24] such as convolutional neural networks [25], de-noising autoencoders, and generative adversarial networks [26] are being widely used for ECG signal de-noising. From the standpoint of ECG signal de-noising, wavelet methods [23,33–35] prove effective and useful, but the QRS-amp decreases due to de-noising leading to loss of information. Also, the wavelet-domain de-noiser proposed in [41] fails to overcome BW interference.

    • A hybrid flower pollination with β-hill climbing algorithm for global optimization

      2022, Journal of King Saud University - Computer and Information Sciences
    View all citing articles on Scopus
    View full text