An official website of the United States government
Here's how you know
Official websites use .gov
A
.gov website belongs to an official
government organization in the United States.
Secure .gov websites use HTTPS
A lock (
) or https:// means you've safely
connected to the .gov website. Share sensitive
information only on official, secure websites.
As a library, NLM provides access to scientific literature. Inclusion in an NLM database does not imply endorsement of, or agreement with,
the contents by NLM or the National Institutes of Health.
Learn more:
PMC Disclaimer
|
PMC Copyright Notice
Hybrid denoising models based on combining empirical mode decomposition (EMD) and discrete wavelet transform (DWT) were found to be effective in removing additive Gaussian noise from electrocardiogram (ECG) signals. Recently, variational mode decomposition (VMD) has been proposed as a multiresolution technique that overcomes some of the limits of the EMD. Two ECG denoising approaches are compared. The first is based on denoising in the EMD domain by DWT thresholding, whereas the second is based on noise reduction in the VMD domain by DWT thresholding. Using signal-to-noise ratio and mean of squared errors as performance measures, simulation results show that the VMD-DWT approach outperforms the conventional EMD–DWT. In addition, a non-local means approach used as a reference technique provides better results than the VMD-DWT approach.
Keywords: discrete wavelet transforms, medical signal processing, electroencephalography, AWGN, signal denoising
The electrocardiogram (ECG) signal is widely used to measure and to diagnose cardiac activity and arrhythmia in clinical environments. Thus, it is an important tool for the diagnosis of cardiac abnormalities to monitor urgent treatments. However, ECG signal can be corrupted by unwanted interference such as power line interference, electrode contact noise, motion artefacts, muscle contraction, baseline drift, ECG signal amplitude modulation with respiration, instrumentation noise and electrosurgical noise [1].
Several approaches have been proposed in the literature to denoise ECG signal with the purpose of obtaining a denoised ECG that facilitates easy and accurate interpretation. The proposed approaches include filter banks [2], independent component analysis [3, 4], adaptive filtering [5, 6], discrete wavelet transform (DWT) [7–9] and empirical mode decomposition (EMD) [10–13]. When compared with other approaches, the denoising methods based on EMD and wavelet are found to be more effective in reducing noise from the ECG signals [12]. Indeed, a hybrid EMD–DWT approach has been proposed in the literature [11, 12, 14] to achieve accurate denoising performance for the ECG signal. For instance, the DWT is a suitable tool for isolating transient (non-stationary) changes in a time series by combining the time-domain and frequency-domain analysis [15]. In addition, the advantage of the DWT is that the windows vary, and it has an infinite set of possible basis functions [13]. Particularly, the basic wavelet transform starts with a basis function, the mother wavelet, and decomposes a signal into components of different time and frequency scales; longer time intervals are used to obtain low-frequency information and shorter intervals are used to obtain high-frequency information. Besides, the EMD [16] is an adaptive and data-driven technique used for processing non-linear and non-stationary signals in addition to stationary signals. The EMD decomposes a given signal into a finite sum of components plus a residue. The components are called intrinsic mode functions (IMF) and are local and auto-adaptive. Low order IMF represent fast oscillation or high-frequency modes, and high order IMF represent slow oscillation (low-frequency) modes. As a result, the EMD is well suited for biomedical signal analysis [13]. Owing to the effectiveness of the hybrid EMD–DWT model, it was also successfully applied to other signal processing problems including denoising of electrostatic signals [17], ultrasonic images [18] and hyperspectral images [19].
However, the EMD algorithm suffers from a lack of exact mathematical model, interpolation choice, and sensitivity to both noise and sampling [20]. Very recently, as an alternative to the EMD algorithm, Dragomiretskiy and Zosso [20] proposed an entirely non-recursive variational mode decomposition (VMD) model, where the modes are extracted concurrently. In particular, the VMD model searches for a number of modes and their respective centre frequencies, such that the band-limited modes reproduce the input signal exactly or in least-squares sense [20]. Using simulated harmonic functions, Dragomiretskiy and Zosso [20] found that the VMD as a denoising approach outperforms the EMD.
This Letter is therefore aimed to compare two hybrid systems for the purpose of ECG denoising; namely the conventional EMD–DWT and the VMD-DWT model. Indeed, we investigate whether the VMD can outperform the EMD in denoising the ECG signal. In addition, we also evaluate the performance of these methods against the non-local means (NLM) approach [21], which was recently found to be effective in denoising ECG signals.
In this Letter, three approaches are investigated in denoising the original ECG signal, which is corrupted with additive Gaussian noise. In the first approach, the EMD is applied to the noisy ECG signal for decomposition purposes to obtain IMF. Then, the DWT-based thresholding technique is applied to each obtained IMF. Indeed, thresholding the wavelet coefficients is the most straightforward way of distinguishing information from noise in the wavelet domain [22]. In this Letter, the optimal threshold value is determined by minimising Stein's unbiased risk estimator (SURE) [23] called SureShrink and was proposed by Donoho and Johnstone [24]. The SURE was chosen because it is more accurate as more data are available [22]. Finally, the denoisied ECG signal is reconstructed by summing up the denoised IMF. In the second approach, the VMD is applied to the noisy ECG signal for decomposition purpose to obtain variational modes. Similar to the EMD–DWT denoising approach, the DWT-based thresholding technique is applied to each obtained variational mode. Then, the denoised ECG signal is reconstructed by summing up the denoised variational modes. In the third approach; which is also used for comparison purposes; the non-local means approach is applied to the noisy ECG signal to obtain the denoised one. For all the experiments, the well known signal-to-noise ratio (SNR) and mean of squared errors (MSE) are adopted as the main performance measures. In summary, our work contributes to previous works found in the literature [11, 12, 14, 25] by comparing the conventional hybrid EMD–DWT with the new VMD-DWT approach and adopting the NLM technique as a reference model.
The remainder of this Letter is organised as follows; Section 2 presents the methods, Section 3 applies these methods to ECG signals and presents the experimental results, and finally, conclusions are provided in Section 4.
2. Methods
The EMD [16] decomposes a signal into a sum of functions. Each of these functions has the same number of zero crossings and extrema, and is symmetric with respect to its local mean. These functions are called IMF and are found at each scale going from fine to coarse by an iterative procedure called sifting algorithm. Finally, the signal s(t) can be expressed as follows
(1)
where N is the number of IMF, which are nearly orthogonal to each other, and all have nearly zero means; and rN(t) is the final residue, which is the low-frequency trend of the signal s(t). Usually, the standard deviation (SD) computed from two consecutive sifting results is used as criteria to stop the sifting process by limiting the SD size as follows
(2)
where k is the index of the kth difference between the signal s(t) and the envelope mean e(t). The term ε is a pre-determined stopping value.
The purpose of the VMD [20] is to decompose an input signal into k discrete number of sub-signals (modes), where each mode has limited bandwidth in the spectral domain [20]. Thus, each mode k is required to be mostly compact around a centre pulsation ωk determined along with the decomposition [20]. The VMD algorithm to assess the bandwidth of a one-dimensional signal is as follows [20]: (i) for each mode uk, compute the associated analytic signal by means of the Hilbert transform to obtain a unilateral frequency spectrum, (ii) for each mode, shift the mode's frequency spectrum to baseband by mixing with an exponential tuned to the respective estimated centre frequency and (iii) estimate the bandwidth through Gaussian smoothness of the demodulated signal, for example, the squared L2-norm of the gradient. Then, the constrained variational problem is given by [20]
(3)
Subject to
(4)
where f is the signal, u is its mode, ω is the frequency, δ is the Dirac distribution, t is the time script, k is the number of modes and * denotes convolution. The mode u with high-order k represents the low-frequency components.
In general, wavelet thresholding involves three steps. First, the signal (e.g. the ECG signal) is processed with a DWT [26] for decomposition purposes. As a result, the signal is decomposed into low–low, low–high, high–low and high–high sub-bands. Then, a non-linear thresholding is performed on each DWT sub-band coefficient. In particular, if the DWT coefficient is smaller than the threshold it is set to zero. Otherwise, it is kept or modified. Finally, an inverse DWT is performed to recover the denoised signal. Donoho and Johnstone [24] proposed an approach to determine the optimal threshold value based on the minimisation of SURE denoted by Rs(t), which is given by
(5)
where g is a function in ℜ, y = [y0, y1,…, yM − 1] and
(6)
Using the standard soft-thresholding function, the selected threshold ts is given by
(7)
The NLM denoising approach estimates the denoised signal snlm(t) for a given sample s as a sum of values at other points t that are within some search neighbourhood N(s) as follows [21]
(8)
where z(s) and weights w(s, t) are given by [22, 27]
(9)
(10)
where λ is a bandwidth parameter, Δ is a local patch of samples surrounding s containing LΔ samples, d2 denotes the summed, squared point-by-point difference between samples in the patches centred on s and t [21]. Finally, each patch in (10) is averaged with itself with weight w(s, s) = 1 [21], and a centre patch correction is applied to achieve a smoother result. It is given by [21]
(11)
Finally, to evaluate the effectiveness of each ECG signal denoising approach, the SNR, which is expressed in decibel and the MSE are computed. The SNR and MSE are given by
(12)
(13)
where x[n] denotes the original ECG signal, y[n] is the noisy ECG signal, xr[n] is the obtained denoised ECG signal and N is the ECG signal length.
3. Experimental results
For our experiments, five different ECG signals were randomly selected from PhysioNet MIT-BIH Arrythmia Database [27] to evaluate the efficacy of the EMD–DWT, VMD-DWT and NML denoising approach. For each ECG signal, 1000 samples were chosen to conduct our study. The original ECG signal is added with Gaussian noise of variance 10 and 20 to obtain two noisy ECG signals. For the DWT thresholding-based approach, we considered the Daubechies-4 (DB4) and Symlet-4 (Sym4) as mother wavelets, and second and third level of decomposition [28]. For the simplicity of computations, the level of decomposition is set to five for both EMD and VMD. Fig. 1 illustrates an example of the original ECG signal and the same signal corrupted with a Gaussian noise with variance 10, and 20, respectively. Figs. 2 and 3 illustrate, respectively, some of the IMF and variational modes obtained by EMD and VMD of the original ECG signal shown in Fig. 1 corrupted with noise variance 10. Finally, Figs. 4 and 5 show the obtained denoised ECG signals when using DB4 and Sym4 wavelets, respectively.
Tables 1–20 provide the SNR and MSE values obtained by each approach. For better denoising performance, the SNR should be high, while the MSE should be low. The SNR values obtained with the NLM technique are given in Table 21. According to SNR and MSE values provided in Tables 1–20, the VMD-DWT outperforms the standard EMD–DWT model by using both DB4 and Sym4 wavelets in denoising the original ECG signal when it is affected with Gaussian noise of variance 10 and 20. In addition, these findings are confirmed at all DWT decomposition levels. Compared to non-local means denoising approach, the SNR and MSE values obtained and presented in Table 21 show that the NLM technique performs better than the EMD–DWT and VMD-DWT approaches for both types of noise levels. However, it is worth noting that, according to Figs. 4 and 5, the NLM and VMD-DWT achieved comparable performances.
Table 2.
SNR and MSE values depending on the DWT decomposition level using the Sym4 wavelet: first ECG signal with noise variance 10
A number of studies have taken advantage of the hybrid EMD–DWT approach for ECG signal enhancement. In such an approach, the EMD is employed as an adaptive technique for ECG decomposition, whereas the DWT is used for denoising based on a given thresholding criterion. Recently, the VMD has been proposed as an adaptive multiresolution technique to overcome some of the limits of the EMD such as sensitivity to noise. This Letter compared the EMD–DWT against the VMD-DWT approach in denoising a real ECG signal, corrupted with three levels of Gaussian noise. Indeed, this Letter is the first to apply VMD in the problem of ECG signal denoising. We relied on adaptive multiresolution techniques (EMD, VMD) for ECG decomposition because of their ability to adjust to unknown signal characteristics varying over time. For comparison purposes, the non-local means algorithm is used for denoising a noisy ECG signal. Five ECG signals obtained from PhysioNet were chosen to conduct our study. Experimental results evaluated by using SNR and MSE showed that the best performance was obtained by the NLM technique followed by the VMD-DWT approach. However, they achieved comparable performances. The conventional EMD–DWT techniques performed the worst.
Our study can be extended in future work by considering different values used to determine the number of variational modes used to obtain results. Indeed, the VMD is still faced with the difficulty of parameter choice, which will be our further research avenue for the application and improvement of the VMD-DWT technique. As this Letter presents a preliminary study, future work will also consider other types of biological signals.
5. Acknowledgments
The authors thank the authors in [20] for providing codes to run the VMD algorithm.
6 References
1.Friesen G.M., Jannett T.C., Jadallah M.A.: ‘A comparison of the noise sensitivity of nine QRS detection algorithms’, IEEE Trans. Biomed. Eng., 1990, 37, (1), pp. 85–98 (doi: ) [DOI] [PubMed] [Google Scholar]
2.Leski J.M., Henzel N.: ‘ECG baseline wander and power line interference reduction using nonlinear filter bank’, Signal Process., 2004, 35, (4), pp. 781–793 [Google Scholar]
3.Barros A.K., Mansour A., Ohnishi N.: ‘Removing artifacts from electrocardio-graphic signals using independent components analysis’, Neurocomputing, 1998, 22, pp. 173–186 (doi: ) [Google Scholar]
4.He T., Clifford G., Tarassenko L.: ‘Application of ICA in removing artefacts from the ECG’. Neural Processing Letters, 2006, pp. 105–116 [Google Scholar]
5.Hamilton P.S.: ‘A comparison of adaptive and non adaptive filters for reduction of power line interference in the ECG’, IEEE Trans. Biomed. Eng., 1996, 43, (1), pp. 105–109 (doi: ) [DOI] [PubMed] [Google Scholar]
6.Ziarani A.K., Konrad A.: ‘A nonlinear adaptive method of elimination of power line interference in ECG signals’, IEEE Trans. Biomed. Eng., 2002, 49, (6), pp. 540–547 (doi: ) [DOI] [PubMed] [Google Scholar]
7.Alfaouri M., Daqrouq K.: ‘ECG signal denoising by wavelet transform thresholding’, Ame. J. Appl. Sci., 2008, 5, (3), pp. 276–281 (doi: ) [Google Scholar]
8.Poornachandra S.: ‘Wavelet-based denoising using subband dependent threshold for ECG signals’, J. Digital Signal Process., 2008, 18, pp. 49–55 (doi: ) [Google Scholar]
9.Poornachandra S., Kumaravel N.: ‘A novel method for the elimination of power line frequency in ECG signal using hyper shrinkage function’, J. Digital Signal Process., 2008, 18, pp. 116–126 (doi: ) [Google Scholar]
10.Blanco-Velasco M., Weng B., Barner K.E.: ‘ECG signal denoising and baseline wander correction based on the empirical mode decomposition’, Comput. Biol. Med., 2008, 38, (1), pp. 1–13 (doi: ) [DOI] [PubMed] [Google Scholar]
11.Li N., Li P.: ‘An improved algorithm based on EMD-wavelet for ECG signal de-noising’. Proc. Int. Joint Conf. on Computational Sciences and Optimization, 2009, pp. 825–827 [Google Scholar]
12.Kabir M.A., Shahnaz C.: ‘Denoising of ECG signals based on noise reduction algorithms in EMD and wavelet domains’, Biomed. Signal Process. Control, 2012, 7, pp. 481–489 (doi: ) [Google Scholar]
13.Suchethaa M., Kumaravel N.: ‘Empirical mode decomposition based filtering techniques for power line interference reduction in electrocardiogram using various adaptive structures and subtraction methods’, Biomed. Signal Process. Control, 2013, 8, pp. 575–585 (doi: ) [Google Scholar]
14.Kopsinis Y., McLaughlin S.: ‘Development of EMD-based denoising methods inspired by wavelet thresholding’, IEEE Trans. Signal Process., 2009, 57, (4), pp. 351–1362 (doi: ) [Google Scholar]
15.Clifford G.D., Azuaje F., McSharry P.E.: ‘Advanced methods and tools for ECG data analysis’ (Artech House, Boston/London, 2006) [Google Scholar]
16.Huang N.E., Shen Z., Long S.R., et al. : ‘The empirical mode composition and the Hilbert spectrum for nonlinear and non-stationary time series analysis’. Proc. of the Royal Society London, 1998, Vol. A 454, pp. 903–995 [Google Scholar]
17.Yan Y., Zhanzhong C.: ‘Noise and zero excursion elimination of electrostatic detection signals based on EMD and wavelet transform’. IEEE Int. Congress on Image and Signal Processing, 2009, pp. 1–5 [Google Scholar]
18.Sun M., Shen Y., Zhang W.: ‘A wavelet threshold denoising method for ultrasonic signal based on EMD and correlation coefficient analysis’. Proc. IEEE Third Int. Congress on Image and Signal Processing, 2010, pp. 3992–3996 [Google Scholar]
19.Demir B., Ertürk S., Güllü K.: ‘Hyperspectral image classification using denoising of intrinsic mode functions’, IEEE Geosci. Remote Sens. Lett., 2011, 8, (2), pp. 220–224 (doi: ) [Google Scholar]
20.Dragomiretskiy K., Zosso D.: ‘Variational mode decomposition’, IEEE Trans. Signal Process., 2014, 62, pp. 531–544 (doi: ) [Google Scholar]
21.Tracey B.H., Miller E.L.: ‘Nonlocal means denoising of ECG signals’, IEEE Trans. Biomed. Eng., 2012, 59, (9), pp. 2383–2386 (doi: ) [DOI] [PubMed] [Google Scholar]
22.Luisier F., Blu T., Unser M.: ‘A new SURE approach to image denoising: interscale orthonormal wavelet thresholding’, IEEE Trans. Image Process., 2007, 16, pp. 593–606 (doi: ) [DOI] [PubMed] [Google Scholar]
23.Stein C.: ‘Estimation of the mean of a multivariate normal distribution’, Ann. Stat., 1981, 9, pp. 1135–1151 (doi: ) [Google Scholar]
24.Donoho D.L., Johnstone I.M.: ‘Adapting to unknown smoothness via wavelet shrinkage’, J. Ame. Stat. Assoc., 1995, 90, pp. 1200–1224 (doi: ) [Google Scholar]
25.Kabir M.A., Shahnaz C.: ‘Comparison of ECG signal denoising algorithms in EMD and wavelet domains’, IJRRAS, 2012, 11, pp. 499–516. [Google Scholar]
26.Daubechies I.: ‘Ten lectures on wavelets’ (Society of Industrial and Applied Mathematics (SIAM; ), Philadelphia, Pennsylvania, 1992) [Google Scholar]