- About this Journal ·
- Abstracting and Indexing ·
- Aims and Scope ·
- Annual Issues ·
- Article Processing Charges ·
- Articles in Press ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents
Computational and Mathematical Methods in Medicine
Volume 2017 (2017), Article ID 9295029, 13 pages
Comparison of Baseline Wander Removal Techniques considering the Preservation of ST Changes in the Ischemic ECG: A Simulation Study
1Karlsruhe Institute of Technology (KIT), Institute of Biomedical Engineering (IBT), Fritz-Haber-Weg 1, 76131 Karlsruhe, Germany
2EP Solutions SA, Rue Galilée 7, 1400 Yverdon-les-Bains, Switzerland
Correspondence should be addressed to Gustavo Lenis
Received 12 December 2016; Revised 10 February 2017; Accepted 19 February 2017; Published 8 March 2017
Academic Editor: Joao Cardoso
Copyright © 2017 Gustavo Lenis et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
The most important ECG marker for the diagnosis of ischemia or infarction is a change in the ST segment. Baseline wander is a typical artifact that corrupts the recorded ECG and can hinder the correct diagnosis of such diseases. For the purpose of finding the best suited filter for the removal of baseline wander, the ground truth about the ST change prior to the corrupting artifact and the subsequent filtering process is needed. In order to create the desired reference, we used a large simulation study that allowed us to represent the ischemic heart at a multiscale level from the cardiac myocyte to the surface ECG. We also created a realistic model of baseline wander to evaluate five filtering techniques commonly used in literature. In the simulation study, we included a total of 5.5 million signals coming from 765 electrophysiological setups. We found that the best performing method was the wavelet-based baseline cancellation. However, for medical applications, the Butterworth high-pass filter is the better choice because it is computationally cheap and almost as accurate. Even though all methods modify the ST segment up to some extent, they were all proved to be better than leaving baseline wander unfiltered.
Notorious changes in the ST segment (elevation or depression) are the most important ECG marker when dealing with acute coronary syndrome caused by ischemia or mycardial infarction . Baseline wander is a low frequency artifact in the ECG that arises from breathing, electrically charged electrodes, or subject movement and can hinder the detection of these ST changes because of the varying electrical isoline (Figure 1(a)). The guidelines for diagnosis of myocardial ischemia are based on specific, small changes in the ST segment. Therefore, even minor fluctuations in baseline can lead to the decision if a patient is classified as STEMI or non-STEMI and thus influence the therapeutic approach dramatically . This decision is often taken in a preclinical, out-of-hospital scenario with little or no infrastructural noise control. A further situation, where baseline wander becomes critical for the diagnosis of an ST change, is cardiac stress testing . The idea behind this procedure is to measure the response of the heart to exercise on a treadmill and to study coronary circulation in comparison to resting conditions. This test should be terminated immediately if, among other criteria, significant ST changes appear in the ECG . However, the observation of those changes becomes difficult if the ECG baseline is not constant .
Hence, baseline drift must be removed and, as a matter of fact, it is a standard signal processing step in many devices or postprocessing algorithms [5–7]. The majority of baseline wander removal techniques have in common that they cancel the low frequency components of the ECG signal. By doing so, they can also alter the ischemia-induced changes in the ST segment and compromise its clinical relevance . An example of this kind of behavior can be seen in Figure 1(b). A recorded ECG with a clear ST depression is filtered with a high-pass filter diminishing that depression. This is the reason why recommendations have been published stating that high-pass filters with a cut-off frequency not higher than 0.05 Hz should be used for these kind of applications . Yet, it is also known that baseline wander may be located at higher frequencies mandating more intrusive filters with higher cut-off frequencies [10, 11]. Thus, finding the filters that are capable of removing baseline wander without compromising ST changes is a relevant task.
Even though some interesting approaches to address this question have been reported in literature [12–14], it is not trivial to perform such a study using only baseline corrupted ECG recordings. Since the ground truth (artifact free signal) is not known, it is hard to objectively evaluate filter performance based on modifications of the ST segment. Furthermore, they are prone to detection errors from the automatic signal processing software, because some of the methods require, for example, a precise annotation of the R peak or P wave . On the other hand, synthetic signals have also been used for these applications, but they might not be realistic enough to reproduce true changes of the ST segment . In order to overcome this limitation, in silico studies can be used. The simulation of cardiac electrophysiology allows us to recreate ischemia at a multiscale level. We can adjust the models that govern the action potential (AP) in the cardiac myocyte to represent ischemia-induced change, let the electrical depolarization and subsequent repolarization propagate in the heart, and generate the body surface potential map on the chest. We can then place electrodes on the torso and extract the simulated 12-lead ECG [17, 18]. With this approach, we have the advantage of being able to locate the most relevant fiducial points (e.g., QRS complex or ST segment) in the simulated ECG and are thus capable of performing an analysis that is free of detection errors.
By adding baseline wander to the ECG, we reproduce the signals in a controlled environment that would have been recorded in real life. Since the ground truth is also known, the performance of the filters can be studied. Moreover, the simulation software allows varying the patient geometry, the location, and size of the ischemia in the heart and the electrical properties of the model. This leads to a large number of possible ECG signals and ST changes.
In this study, we address the question of the best suited technique for baseline removal without compromising ST changes. For that purpose, we use a diverse database of simulated ECGs with a state-of-the-art electrophysiological model, add synthetic baseline wander, and compare the performance of five manually tuned filters commonly used in literature. Preliminary results on a smaller study including fewer filters and less signals were presented at the national conference of biomedical engineering in Germany .
2. Materials and Methods
2.1. Generation of Simulated Data
The database containing the electrophysiological setups used in this research project was originally created in our group with the aim of studying optimal electrode placement to detect ischemia in the ECG [21, 22]. The data set was created using three different subjects. Their geometries were obtained by segmenting the Visible Man dataset and two other magnetic resonance images. Distinct tissue classes were used for the main organs including the ventricles, skeletal muscle, fat, blood, lung, liver, and spleen. Fiber orientation in the ventricles was introduced using a rule-based approach . The voxel meshes of the three subjects were created with an isotropic side length no greater than 0.5 mm.
A cellular automaton was chosen to perform the ischemia simulations . This is a computationally cheap method based on predefined rules. In all simulations, the electrical depolarization wave originates from the Purkinje muscle junctions. It then propagates by sequentially activating neighboring voxels and triggering an AP in each voxel. The repolarization scheme is thus dependent on the AP corresponding to every region of the heart. Transmural heterogeneity and anisotropic tissue conductivities inside the ventricular walls were included in the model .
The AP in each voxel was obtained from a monodomain simulation carried out using the software acCELLerate and utilizing the Ten Tusscher cell model with a basic cycle length of 60 beats per minute [26–28]. The model parameters were adjusted to differentiate healthy tissue from ischemic regions [29, 30]. The latter were placed in all 17 AHA segments in the left ventricle and varied in size to include subendocardial and transmural scenarios .
From every simulation, a QRS complex, an ST segment, and a T wave were obtained. The QT interval was equal to 400 ms in all simulations. The sampling frequency of the simulated signals was 500 Hz, but upsampling to Hz was carried out to facilitate wavelet-based filtering.
Finally, a quasiperiodical extension was carried out to create an ECG with a fixed length of 100 s (51200 samples). In order to make the signal more realistic and recreate heart rate variability (HRV), variable RR intervals were added. RR intervals were modeled with a Gaussian distribution having an expected value of 1 s and a standard deviation of 50 ms. These parameters are in accordance with normal short term HRV values reported in literature . Figure 2 shows the geometry of all three torso models and the electrode placement. A simulated signal corresponding to different ECG leads can be seen for each geometry. A clear ST change coming from the ischemia is also present.
2.2. Signal Processing Methods
2.2.1. Modeling Baseline Wander
We modeled baseline wander as a linear combination of sinusoidal functions in the frequency range from 0 to 0.5 Hz. The amplitude and phase of each of the waveforms were chosen randomly to avoid deterministic coherence and to make each randomly generated signal unique. The upper limit of the frequency band was ten times larger than what is recommended for a high-pass filter for ST segment analysis. This fact in combination with very low SNR levels of up to −10 dB made this artifact a challenging one and allowed for performance ranking among the removal techniques [33, 34].
Mathematically speaking, the model was defined as follows:with Hz where Hz was the sampling frequency of the signal and was the total number of samples in the signal. Additionally, was the number of sinusoidal functions that could be placed within the chosen spectrum of the baseline artifact according to the spectral resolution . The constant was a random number from the uniform distribution and was a random phase in the interval . For each ECG signal , we repeated the experiment 100 times generating a new realization of in each repetition. The scaling factor was used to increase the total power of the artifact and modify the signal-to-noise ratio (SNR) in the experiment. The series of different SNR were chosen from the set .
The baseline is then added to the simulated ECG signal:
Again, is the reference ECG signal, while is the corrupted one. In this study, we created 756 simulations, 12 ECG channels per simulation, 100 realizations of the baseline wander model per channel, and six SNR levels of each baseline wander realization. Thus, a total of 5.508 million signals were used to evaluate the different baseline wander removal techniques including an extensive variety of scenarios. Figure 3 shows two examples on how the baseline wander corrupted ECG signals and their spectra can look like depending on the different parameters.
2.2.2. Signal Processing Workflow
was filtered using five different baseline wander removal techniques. After filtering, the reconstructed signal was compared with the original . The reconstruction was evaluated with respect to three quality criteria and the computation time. Figure 4 shows a flow diagram of the signal processing algorithm. The components of the flow diagram will be explained in detail in the next sections. Figure 4 shows the processing workflow created for this study.
2.2.3. Baseline Removal Methods
We compared five state-of-the-art filtering techniques used regularly in literature: Butterworth high-pass filter , moving median and subtraction , spline approximation and subtraction , wavelet-based baseline cancellation , and wavelet-based high-pass filtering . The filter parameters were chosen properly to be able to remove the given artifact from the ECG signal. A brief introduction to each method is given in the following sections.
2.2.4. Butterworth High-Pass Filter
The first method has the property of being simple, easy to implement, and applicable in many scenarios. Therefore, a classic Butterworth high-pass filter with a total order of four and a cut-off frequency of 0.5 Hz was chosen. Actually, the transfer function of the filter had an order of 2 but the filtering process was performed in forward and reverse direction creating a zero-phase filtered signal and a resulting order of four .
2.2.5. Moving Median and Subtraction
The second method has the goal of estimating the baseline wander using a concatenation of two moving median filters and subtracting that estimate from the corrupted signal. The moving median is based on the same principle as the moving average, but, instead of the mean, the median within a moving window of a given length is calculated. This filter benefits from the assumption that baseline wander and ECG signal have different amplitude distributions within the moving windows. The filter is nonlinear making its behavior more complex .
The removal technique started with a window length of 400 ms corresponding to the QT interval. Since windows of this short duration can deliver an estimation that is a mixture of true ECG signal and baseline, a second moving median with a window of a longer length was applied after the first estimation. We chose the second window to be 2 s long. By doing so, the complete frequency band of the artifact was included in the baseline estimation.
2.2.6. Spline Approximation and Subtraction
The idea behind this method was to detect the center of the PQ interval in every beat and to interpolate those points to create an estimate of the baseline wander. This technique assumes that the PQ interval corresponds to the isoline of the ECG so that a nonzero signal in this interval must be due to baseline wander. Cubic splines were then used to connect the PQ center points and reconstruct the artifact. Finally, the estimated baseline wander was subtracted from the corrupted signal to reconstruct the original ECG .
2.2.7. Wavelet-Based Baseline Cancellation
In this method, the signal was decomposed using the discrete wavelet transform (DWT) and the approximation coefficients at the lowest frequency band were set to zero with the aim of fully cancelling baseline wander. The filtered ECG was then reconstructed by synthesizing the modified coefficients. The decomposition level for the DWT was chosen such that the approximation coefficients in that level corresponded to the frequency band where the artifact was located [37, 39]. Since in every decomposition level the ECG signal was downsampled by a factor of two, its Nyquist frequency was also halved. Thus, the necessary decomposition level to achieve a cut-off frequency depending of the sampling frequency can be given by
The wavelet used for this procedure was Daubechies 8 that has a compact support of 16 samples and is characterized by 8 vanishing moments.
2.2.8. Wavelet-Based High-Pass Filtering
The principle behind this method is very similar to the wavelet-based baseline cancellation, but a high-pass filtering is used on the approximation coefficients instead of setting them to zero. This is somewhat comparable to a soft threshold on the approximation coefficients. For the wavelet decomposition, the Vaidyanathan-Hoang wavelet was used in accordance with . For the high-pass filtering, an infinite impulse response filter of order one and a cut-off frequency of 0.5 Hz was used. The reconstructed ECG was synthesized from the filtered wavelet coefficients.
2.2.9. Quality Criteria
Four performance indexes were chosen to evaluate the filters regarding the quality of reconstruction and the clinical applicability in terms of simplicity of the algorithm. The four evaluation criteria will be explained in detail.
As all filtered signals undergo a transient oscillation at their boundaries, we removed the first and final second (corresponding approximately to one beat) at the beginning and at the end of each signal from the evaluation analysis.
2.2.10. Correlation Coefficient
With the aim of quantifying impairment in the morphology of the reconstructed signals, we used the correlation coefficient. It is independent from scaling or offsetting the signals and focuses on the matching form of original and reconstructed waveforms. Mathematically speaking, the correlation coefficient between the original signal and the reconstructed one is given bywhere denotes the expected value operator, is the expected value of , and is its standard deviation.
The is a measurement of similarity that is actually based on the Euclidian distance between the two signals. Mathematically speaking, it is defined as follows:
The has the advantage of delivering values in the interval . It is equal to +1 only if the two signals and are perfectly equal. In contrast to the correlation coefficient, the is sensitive to offsetting and scaling of any of the two signals. It was originally introduced by our group to quantify changes in the morphology of the T wave .
2.2.12. Deviation of the ST Change
For the clinical diagnosis of ST changes, thresholds for deviations in the J point of the ECG have been recommended . Depending on the ECG lead, patient gender, and age, the ST changes can be diagnosed if a decrease of as low as 50 V is observed. Thus, it is necessary to preserve the original J point value as unchanged as possible after the baseline wander artifact has been removed. However, it is not always trivial to detect this point using automatic signal processing algorithms . In order to avoid possible detection errors and incorrect results, we defined a new point inside the ST segment, the K point (KP), that can be used in same manner. The KP was defined as the time step for which the envelope (absolute value) among all ECG leads in a simulation is minimal. Mathematically speaking, it is given by
In this case, the signal denotes the ECG recorded from one of the 12 standard leads (). The time interval corresponds to the duration of the ST segment. A complete description of the KP can be found in . The deviation in KP is then defined as
2.2.13. Computation Time
In a clinical environment, the computation time plays an important role if a fast diagnosis should be delivered by the physician. Faster computation times also correlate with simpler algorithms easier to implement for portable or stationary clinical devices. Thus, the computation time needed to process each signal was the fourth performance index. The computer used to run the calculations has a 2.4 GHz Intel Xeon E5645 processor with 12 cores and 64 GB of RAM running MacOS and Matlab 2016a.
2.3. Statistical Analysis
For the statistical analysis, we compared the performance of the five baseline removal techniques applied on the complete data set with respect to the four quality criteria mentioned previously. In addition, we also quantified all performance indexes for the case that no filter was applied. The idea behind this comparison is to find a “clear winner” among the filtering techniques that can be applied in many different scenarios.
We hypothesize that the best baseline removal technique for a given performance index was the one with the best median. This hypothesis was accepted if the statistical distribution of that performance index is significantly higher than all other methods. For statistical significance testing, we used the Wilcoxon signed rank test and a level of significance ( value) of 5%. This statistical test is a paired unparametric test commonly used in the field of signal processing [43–45].
When comparing a candidate for best performing filter to all other filters, a total of five values are calculated. However, only the lowest value is considered for further analysis. If that value is below the level of significance, the filtering technique is leveled as the “clear winner.”
3.1. Performance Evaluation Based on Quality Criteria
We present the results of the simulation study in the form of boxplots and a summarizing table. Figures 5(a)–5(d) show the boxplots corresponding to the performance index values for all signals. Table 1 contains the median and interquartile range of each quality criterion and filtering technique. The value displayed in the last column of Table 1 is the highest one among all five comparisons.
According to the chosen evaluation scheme, the method that best maintained the original ECG morphology (highest correlation coefficient) was the wavelet-based baseline cancellation with a median and interquartile range (MED IQR) of . Statistical testing proved that this method was indeed a clear winner with a value . Second, the method that restores the signal closest to the original one (highest loperator) was also the wavelet-based cancellation with a MED IQR of and a significant value . Third, the method for which the ST changes undergo the lowest modifications (KP deviation) was again wavelet-based baseline cancellation with a MED IQR of and value . Statistical testing proved that this method was again a clear winner in this category. Last but not least, the fastest method (computation time) was the Butterworth filter with a MED IQR of . Again, statistical testing proved this method to be speedier than all others with a value .
Finally, some particular examples showing how the filtered signals compare to the original ones are shown in Figure 6.
In the simulation study, we saw that the wavelet-based baseline cancellation was the best performing method achieving the highest median and lowest IQR for the correlation coefficient, loperator, and KP deviation. This result proves this filter to be not only the most accurate one (MED was best) but also the most robust (IQR was lowest). The reason for this is probably due to the properties of the chosen wavelet and the relatively high decomposition level. The combination of these two features matches precisely the time and frequency domain properties of the artifact. In the time domain, the chosen wavelet has 8 vanishing moments. This means that all polynomials up to a degree of 8 do not correlate with this wavelet and are represented in the approximation coefficients. Since our baseline wander model is a superposition of sinusoidal functions and they can be locally approximated by a Taylor polynomial of lower degree, it is plausible to believe that the approximation coefficients in the wavelet transform represent a large portion of the artifact. In addition, by a decomposition level of 9, the resulting wavelet filter has a very high order and is able to sharply split the spectrum of the corrupted ECG signal at precisely 0.5 Hz. By setting the resulting approximation coefficients to zero, the artifact is cancelled out almost entirely. However, this argumentation is only valid, if the true ECG signal cannot be locally approximated by a polynomial of order 8, or at least not as good as the artifact. Furthermore, the most relevant spectral components of the pure ECG signal must be above 0.5 Hz. Otherwise, the wavelet decomposition would have combined low frequency ECG components and the artifact into the approximation coefficients leading to a partial cancellation of the true ECG. The results observed here are also in accordance with what has been reported in literature .
A similar performance in terms of correlation coefficient and loperator was delivered by the median filter. However, the KP deviations had a larger IQR of 96.7 V making this method less robust with respect to changes in the ST segment and decrease the certainty of a clinical diagnosis . In addition, the sorting algorithm needed in this technique is computationally intensive leading to long processing times while filtering the signal. This could become a major drawback in clinical applications. In contrast to it, the fastest method was the Butterworth filter taking around 5.9 ms to process the corrupted ECG. The speedy computation can be achieved because the chosen filter order of two (four in the zero-phase implementation) was relatively small. The filtering process can be performed very fast as a linear combination of no more than four input and output signal values for each the forward and the backward filtering process. Moreover, this technique is capable of reconstructing the original ECG with a median correlation coefficient of 0.985 and a median loperator of 0.986, which ranks this method in the third place. More importantly, the Butterworth filter was the second best performing filter with respect to KP deviations (). This is a surprising result for such a simple filter. In particular for medical applications that require fast but still accurate signal processing algorithms, this is the method we would recommend. If a zero-phase implementation is not required, the Butterworth filter can also be approximated as a finite impulse response filter especially suited for real time applications.
The results demonstrated that even though there were small differences among the methods, they were all good performers in terms of correlation coefficient, loperator, and KP deviations. However, such good results are not necessarily to be expected in real-life applications because a priori knowledge about the time and frequency domain properties of the baseline wander model was used to manually choose filter parameters. The results are probably overfitted but since all filters were adapted to match the baseline wander model, we assume that the comparability among them should still be given. Thus, the ranking of the filter techniques should remain in practice.
We also reaffirmed that baseline wander can indeed strongly affect an ECG. The nonfiltered signal had a median correlation coefficient of 0.779 and an IQR of the KP deviation of 280.2 mV. Thus, removing the baseline wander becomes mandatory to allow any further processing of the ECG. We also found that even though all methods deliver an improvement, the KP deviation after filtering had an IQR of at least 41.9 V in every case. This means that none of the filtering techniques is capable of reconstructing the ST segment to its exact original shape. Hence, in clinical applications dealing with the diagnosis of ischemia, the assessment of the filtered ECG signal has to be carried out very carefully because the observed ST change might not be the true one.
4.1. Limitations and Outlook
This study ranks popular baseline wander removal techniques using a reference ECG signal that is free of artifacts but exhibits all the properties of an ischemic ECG. The simulation of realistic ECGs is a challenging task because of the complexity of the underlying electrophysiological behavior reproduced by the multiscale model. This model is governed by a large variety of coupled differential equations that need to be correctly parametrized first . In particular, the recreation of the T wave is difficult because this wave arises from the heterogeneities in the repolarization of the ventricles and, thus, the APs have to be adapted to each region of the heart . To overcome this problem, it could be stated that the replication of a reference beat with ST change from a real recording would be a simpler way of performing the study. However, this approach has the drawback that it cannot be assured that the reference beat is completely free of artifacts and should not be used as a golden truth. Even if an ECG looks clean to the naked eye, little low frequency perturbations or a small DC offset is always present locally. Thus, it becomes difficult to quantify changes in morphology because the filter would modify not only the signal but also the artifacts previously present in it. In addition, annotations carried out by a trained physician would be necessary to ensure the validity of such a database. Under those conditions, it is impractical to create a data set with the same size and diversity as the one presented here. A reduced number of signals would limit the generalization of the filter ranking. A further idea would be the use of an ECG synthesizer with adjustable ST change [46, 47]. Yet, this approach has the drawback that the user can never be sure that the synthetized ECG is realistic enough to recreate real ST changes as they arise from ischemia. For these reasons, we believe that the in silico study based on a ischemic membrane model delivers a reference signal that is free of artifacts but still meets the requirements for a realistic ischemic ECG and allows us to generate a large number of scenarios.
Even though the total amount of signals used in this study was large, there were only three different geometries and one electrophysiological model (Ten Tusscher) used to simulate ischemia . It would be interesting to use other electrophysiological models with other patient geometries having also different fiber orientations in the heart to generate a more heterogeneous data set. In addition, the atrial activity characterized by the P wave can also be included in a future simulation. The P wave would affect not only the time domain properties of the synthesized ECG but also its spectral and statistical features. They pose a further challenge to the baseline removal methods.
A more sophisticated baseline wander model would also be of interest. It is well-known that respiration cannot only lead to a floating baseline but it can also modulate the ECG signal [48, 49]. Thus, a baseline wander model in which the artifact affects both, the isoline and the amplitude of the ECG, should be considered in a future research project. Additionally, other spectral properties could also be included in the artifact. Increasing its frequency band up to 3 Hz, for example, would make the filtering problem more challenging. However, in those cases, the artifact overlaps in the time and frequency domain with the T wave and the ST segment. This makes the reconstruction of the original signal very difficult and a diagnosis is probably no longer possible. Other studies have investigated how to eliminate baseline wander with spectral content up to 0.8 Hz [15, 38]. In those cases, the spectral content of the artifact starts to overlap with the dominant frequency of the heart rate in resting conditions making this scenario particularly difficult. Thus, this kind of removal techniques should only be performed with filters having linear phase. This was not the case for the majority of the filters used here and, for that reason, we chose our upper frequency at 0.5 Hz.
The filter parameters used in this work were chosen in a heuristic manner with the intention of having a good performance for the well-known artifact. However, they were not computationally optimized to deliver the best possible results. For example, the order of the Butterworth filter, the length windows of the median filters, or the wavelet used for the decomposition could all be further optimized to achieve even better results. This optimization process could also be included in a future work together with other more less common baseline removal techniques such as the empirical mode decomposition, the blind source separation, or a Gaussian filter adapted to remove the known spectrum of the artifact [50–52].
The use of the KP instead of the J point to evaluate the ST change deviations was a strategic decision in order to allow automatized quantification of performance. Allowing a trained physician to annotate the J point and perform the study with the annotations might deliver different results. However, by the large amount of signals simulated, a manual annotation becomes unpractical. In any case, we were consistent using the same definition for all filtering techniques and allowing comparability among them.
Last but not least, we quantified the changes in the ST segment caused by filtering measuring the deviation in KP. Yet, the true clinical impact of the filters on the diagnosis of an ischemia was not studied. We did not count how many ischemia cases would have been missed because of the filtering process. This question is not easily answered because the identification of an ST change can be compromised by other factors besides the filters. Those factors are, for example, a large variety of silent ischemia, the number of electrodes used in the recording, or the placement of the electrodes on the chest of the patient . This is the reason why the sensitivity of the ischemia detection, even if a trained physician is looking at the ECG, can be as low as 45% . We investigated this limitation in a previous simulation study obtaining similar results as the ones observed in clinical studies. We also proved that the sensitivity of the ischemia diagnosis is strongly dependent on the chosen threshold defining the ST change . In any case, it would be interesting for a future project to analyze how these factors play together with the baseline removal techniques and how they all affect the ischemia detection. For now, it is certain that the better the filters perform on the corrupted ECG, the higher the chance of a physician making the right decision is.
In this study, we addressed the question of the best suited technique for baseline removal without compromising ST changes in the ischemic ECG. For this purpose, a large simulation study with 5.508 million signals was carried out. The best performing filter with respect to quality of the reconstruction turned out to be the wavelet-based baseline cancellation. However, for medical applications, the Butterworth high-pass filter is the better choice because it is computationally fast and almost as accurate. In addition, all the methods tested proved to be better than leaving baseline wander unfiltered. It was also shown that none of methods was capable of reconstructing the original ECG without modifying the ST segment, so the user has to be always very careful when diagnosing an ST change. In future, other baseline wander models including nonlinear behavior and higher frequency baseline wander could be used to test the methods in more challenging scenarios.
Conflicts of Interest
The authors declare that they have no conflicts of interest.
Gustavo Lenis and Nicolas Pilia contributed equally to this work.
The authors would like to acknowledge the support given by the Deutsche Forschungsgemeinschaft and the Open Access Publishing Fund of Karlsruhe Institute of Technology.
- E. M. Antman, D. T. Anbe, P. W. Armstrong et al., “ACC/AHA guidelines for the management of patients with ST-elevation myocardial infarction–executive summary. A report of the American College of Cardiology/American Heart Association Task Force on Practice Guidelines (Writing Committee to revise the 1999 guidelines for the management of patients with acute myocardial infarction),” Journal of the American College of Cardiology, vol. 44, no. 3, pp. 671–719, 2004.
- I. M. Weisman and R. J. Zeballos, Clinical Exercise Testing, vol. 32, Karger Medical and Scientific Publishers, Basel, Switzerland, 2002.
- American College of Sports Medicine, ACSM's Guidelines for Exercise Testing and Prescription, Lippincott Williams & Wilkins, 2013.
- J. N. Froning, M. D. Olson, and V. F. Froelicher, “Problems and limitations of ECG baseline estimation and removal using a cubic spline technique during exercise ECG testing: recommendations for proper implementation,” Journal of Electrocardiology, vol. 21, pp. S149–S157, 1988.
- S. Luo and P. Johnston, “A review of electrocardiogram filtering,” Journal of Electrocardiology, vol. 43, no. 6, pp. 486–496, 2010.
- G. Lenis, T. Baas, and O. Dössel, “Ectopic beats and their influence on the morphology of subsequent waves in the electrocardiogram,” Biomedical Engineering, vol. 58, no. 2, pp. 109–119, 2013.
- G. Lenis, N. Pilia, T. Oesterlein, A. Luik, C. Schmitt, and O. Dössel, “P wave detection and delineation in the ECG based on the phase free stationary wavelet transform and using intracardiac atrial electrograms as reference,” Biomedical Engineering, vol. 61, no. 1, pp. 37–56, 2016.
- A. S. Berson and H. V. Pipberger, “Errors caused by inadequacy of low-frequency response of electrocardiographs,” in Proceedings of the Digest of 6th International Conference on Biomedical Engineering, Society of Med Electr Biomed Eng, Ed., pp. 13–14, Okomura Printing Co, Tokyo, Japan, August 1965.
- H. V. Pipberger, R. C. Arzbaecher, A. S. Berson et al., “Recommendations for standardization of leads and of specifications for instruments in electrocardiography and vectorcardiography,” Circulation, vol. 52, no. 2, pp. 11–31, 1975.
- J. A. Van Alsté and T. S. Schilder, “Removal of base-line wander and power-line interference from the ECG by an efficient fir filter with a reduced number of taps,” IEEE Transactions on Biomedical Engineering, vol. 32, no. 12, pp. 1052–1060, 1985.
- J. M. Leski and N. Henzel, “ECG baseline wander and powerline interference reduction using nonlinear filter bank,” Signal Processing, vol. 85, no. 4, pp. 781–793, 2005.
- F. A. Afsar, M. S. Riaz, and M. Arif, “A comparison of baseline removal algorithms for electrocardiogram (ECG) based automated diagnosis of coronory heart disease,” in Proceedings of the 3rd International Conference on Bioinformatics and Biomedical Engineering (iCBBE '09), pp. 1–4, IEEE, Beijing, China, June 2009.
- I. Dotsinsky and T. Stoyanov, “Optimization of bi-directional digital filtering for drift suppression in electrocardiogram signals,” Journal of Medical Engineering and Technology, vol. 28, no. 4, pp. 178–180, 2004.
- J. A. van Alsté, W. van Eck, and O. E. Herrmann, “ECG baseline wander reduction using linear phase filters,” Computers and Biomedical Research, vol. 19, no. 5, pp. 417–427, 1986.
- R. Jané, P. Laguna, N. V. Thakor, and P. Caminal, “Adaptive baseline wander removal in the ECG: comparative analysis with cubic spline technique,” in Proceedings of the in Computers in Cardiology, 1992, pp. 143–146, October 1992.
- I. I. Christov, I. A. Dotsinsky, and I. K. Daskalov, “High-pass filtering of ECG signals using QRS elimination,” Medical & Biological Engineering & Computing, vol. 30, no. 2, pp. 253–256, 1992.
- D. U. J. Keller, D. L. Weiss, O. Dossel, and G. Seemann, “Influence of I Ks heterogeneities on the genesis of the T-wave: a computational evaluation,” IEEE Transactions on Biomedical Engineering, vol. 59, no. 2, pp. 311–322, 2012.
- D. Potyagaylo, E. G. Cortés, W. H. W. Schulze, and O. Dössel, “Binary optimization for source localization in the inverse problem of ECG,” Medical and Biological Engineering and Computing, vol. 52, no. 9, pp. 717–728, 2014.
- N. Pilia, G. Lenis, A. Loewe, W. Schulze, and O. Dössel, “The impact of baseline wander removal techniques on the ST segment in simulated ischemic 12-lead ECGs,” Current Directions in Biomedical Engineering, vol. 1, no. 1, pp. 96–99, 2015.
- A. L. Goldberger, L. A. N. Amaral, L. Glass et al., “PhysioBank, PhysioToolkit, and PhysioNet: components of a new research resource for complex physiologic signals,” Circulation, vol. 101, no. 23, pp. E215–E220, 2000.
- A. Loewe, W. H. W. Schulze, Y. Jiang et al., “ECG-based detection of early myocardial ischemia in a computational model: impact of additional electrodes, optimal placement, and a new feature for ST deviation,” BioMed Research International, vol. 2015, Article ID 530352, 11 pages, 2015.
- A. Loewe, W. H. W. Schulze, Y. Jiang, M. Wilhelms, and O. Dössel, “Determination of optimal electrode positions of a wearable ECG monitoring system for detection of myocardial ischemia: a simulation study,” in Proceedings of the Computing in Cardiology (CinC '11), pp. 741–744, IEEE, Hangzhou, China, September 2011.
- D. D. Streeter, “Gross morphology and fiber geometry of the heart,” in Handbook of Physiology: The Cardiovascular System, vol. 59, pp. 61–290, American Physiology Society, Bethesda, Md, USA, 1979.
- D. Potyagaylo, E. Gil Cort'es, W. H. W. Schulz, and O. Dössel, “Synthesis and analysis models for sparse signal reconstruction in the inverse problem of ECG,” Biomedical Engineering, vol. 59, pp. S941–S944, 2014.
- D. U. J. Keller, F. M. Weber, G. Seemann, and O. Dössel, “Ranking the influence of tissue conductivities on forward-calculated ECGs,” IEEE Transactions on Biomedical Engineering, vol. 57, no. 7, pp. 1568–1576, 2010.
- K. H. W. J. Ten Tusscher and A. V. Panfilov, “Cell model for efficient simulation of wave propagation in human ventricular tissue under normal and pathological conditions,” Physics in Medicine and Biology, vol. 51, no. 23, pp. 6141–6156, 2006.
- S. A. Niederer, E. Kerfoot, A. P. Benson, et al., “Verification of cardiac tissue electrophysiology simulators using an n-version benchmark,” Philosophical Transactions of the Royal Society A, vol. 369, no. 1954, pp. 4331–4351, 2011.
- G. Seemann, F. Sachse, M. Karl, D. Weiss, V. Heuveline, and O. Dössel, “Framework for modular, exible and efficient solving the cardiac bidomain equations using PETSc,” in Progress in industrial mathematics at ECMI 2008, pp. 363–369, Springer, Berlin, Germany, 2010.
- K. H. W. J. Ten Tusscher and A. V. Panfilov, “Alternans and spiral breakup in a human ventricular tissue model,” American Journal of Physiology—Heart and Circulatory Physiology, vol. 291, no. 3, pp. H1088–H1100, 2006.
- M. Wilhelms, O. Dössel, and G. Seemann, “In silico investigation of electrically silent acute cardiac ischemia in the human ventricles,” IEEE Transactions on Biomedical Engineering, vol. 58, no. 10, pp. 2961–2964, 2011.
- M. D. Cerqueira, N. J. Weissman, V. Dilsizian et al., “Standardized myocardial sementation and nomenclature for tomographic imaging of the heart: a statement for healthcare professionals from the cardiac imaging committee of the council on clinical cardiology of the american heart association,” Circulation, vol. 105, no. 4, pp. 539–542, 2002.
- D. Nunan, G. R. H. Sandercock, and D. A. Brodie, “A quantitative systematic review of normal values for short-term heart rate variability in healthy adults,” Pacing and Clinical Electrophysiology, vol. 33, no. 11, pp. 1407–1417, 2010.
- P. Kligfield, L. S. Gettes, J. J. Bailey et al., “Recommendations for the standardization and interpretation of the electrocardiogram: part I: the electrocardiogram and its technology a scientific statement from the American Heart Association Electrocardiography and Arrhythmias Committee, Council on Clinical Cardiology; the American College of Cardiology Foundation; and the Heart Rhythm Society endorsed by the International Society for Computerized Electrocardiology,” Journal of the American College of Cardiology, vol. 49, no. 10, pp. 1109–1127, 2007.
- M. S. Chavan, R. A. Agarwala, and M. D. Uplane, “Suppression of baseline wander and ower line interference in ECG using digital IIR filter,” International Journal of Circuits, Systems And Signal Processing, vol. 2, no. 2, pp. 356–365, 2008.
- P. De Chazal, C. Heneghan, E. Sheridan, R. Reilly, P. Nolan, and M. O'Malley, “Automated processing of the single-lead electrocardiogram for the detection of obstructive sleep apnoea,” IEEE Transactions on Biomedical Engineering, vol. 50, no. 6, pp. 686–696, 2003.
- C. R. Meyer and H. N. Keiser, “Electrocardiogram baseline noise estimation and removal using cubic splines and state-space computation techniques,” Computers and Biomedical Research, vol. 10, no. 5, pp. 459–470, 1977.
- A. Khawaja, Automatic ECG Analysis Using Principal Component Analysis and Wavelet Transformation, vol. 3, Universitätsverlag Karlsruhe, 2006.
- K. L. Park, K. J. Lee, and H. R. Yoon, “Application of a wavelet adaptive filter to minimise distortion of the ST-segment,” Medical and Biological Engineering and Computing, vol. 36, no. 5, pp. 581–586, 1998.
- P. S. Addison, “Wavelet transforms and the ECG: a review,” Physiological Measurement, vol. 26, no. 5, pp. R155–R199, 2005.
- G. Lenis, Y. Lutz, G. Seeman et al., “Post extrasystolic T wave change in subjects with structural healthy ventricles-measurement and simulation,” in Proceedings of the 41st Computing in Cardiology Conference (CinC '14), pp. 1069–1072, IEEE, Cambridge, Mass, USA, September 2014.
- G. S. Wagner, P. Macfarlane, H. Wellens, et al., “AHA/ACCF/HRS recommendations for the standardization and interpretation of the electrocardiogram: part VI: acute ischemia/infarction a scientific statement from the American Heart Association Electrocardiography and Arrhythmias Committee, Council on Clinical Cardiology; the American College of Cardiology Foundation; and the Heart Rhythm Society Endorsed by the International Society for Computerized Electrocardiology,” Journal of the American College of Cardiology, vol. 53, no. 11, pp. 1003–1011, 2009.
- J. Brownfield and M. Herbert, “ECG criteria for fibrinolysis: whats up with the J point?” Western Journal of Emergency Medicine, vol. 9, no. 1, pp. 40–42, 2008.
- L. G. Gamero, J. Vila, and F. Palacios, “Wavelet transform analysis of heart rate variability during myocardial ischaemia,” Medical and Biological Engineering and Computing, vol. 40, no. 1, pp. 72–78, 2002.
- L. G. G. Porto and L. F. Junqueira Jr., “Comparison of time-domain short-term heart interval variability analysis using a wrist-worn heart rate monitor and the conventional electrocardiogram,” Pacing and Clinical Electrophysiology, vol. 32, no. 1, pp. 43–51, 2009.
- K. Otsuka, G. Cornélissen, and F. Halberg, “Circadian rhythmic fractal scaling of heart rate variability in health and coronary artery disease,” Clinical Cardiology, vol. 20, no. 7, pp. 631–638, 1997.
- D. A. Bragg-Remschel, C. M. Anderson, and R. A. Winkle, “Frequency response characteristics of ambulatory ECG monitoring systems and their implications for ST segment analysis,” American Heart Journal, vol. 103, no. 1, pp. 20–31, 1982.
- P. E. McSharry, G. D. Clifford, L. Tarassenko, and L. A. Smith, “A dynamical model for generating synthetic electrocardiogram signals,” IEEE Transactions on Biomedical Engineering, vol. 50, no. 3, pp. 289–294, 2003.
- R. Pallas-Areny, J. Colominas-Balague, and F. J. Rosell, “Effect of respiration-induced heart movements on the ECG,” IEEE Transactions on Biomedical Engineering, vol. 36, no. 6, pp. 585–590, 1992.
- G. B. Moody, R. G. Mark, A. Zoccola, and S. Mantero, “Derivation of respiratory signals from multi-lead ECGs,” Computers in Cardiology, vol. 12, no. 1985, pp. 113–116, 1985.
- M. Blanco-Velasco, B. Weng, and K. E. Barner, “ECG signal denoising and baseline wander correction based on the empirical mode decomposition,” Computers in Biology and Medicine, vol. 38, no. 1, pp. 1–13, 2008.
- Y. Luo, R. H. Hargraves, A. Belle et al., “A hierarchical method for removal of baseline drift from biomedical signals: application in ECG analysis,” The Scientific World Journal, vol. 2013, Article ID 896056, 10 pages, 2013.
- G. Lenis, M. Kircher, J. Lázaro, R. Bailón, E. Gil, and O. Doessel, “Separating the effect of respiration on the heart rate variability using Granger's causality and linear filtering,” Biomedical Signal Processing and Control, vol. 31, pp. 272–287, 2017.
- E. Trägårdh, M. Claesson, G. S. Wagner, S. Zhou, and O. Pahlm, “Detection of acute myocardial infarction using the 12-lead ECG plus inverted leads versus the 16-lead ECG (with additional posterior and right-sided chest electrodes),” Clinical Physiology and Functional Imaging, vol. 27, no. 6, pp. 368–374, 2007.