Piecewise linear correction of ECG baseline wander: a curve simplification approach
Related Experiment Video
Updated: Aug 19, 2026

Equipment Setup and Artifact Removal for Simultaneous Electroencephalogram and Functional Magnetic Resonance Imaging for Clinical Review in Epilepsy
Published on: June 23, 2023
B Boucheham1, Y Ferdi, M C Batouche
1University of Skikda, Department of Informatics, Route ELHadaek, Skikda, Algeria. boucheham_bachir@yahoo.com
Abstract:
In this paper, we suggest a novel method for ECG baseline correction, exclusively based on pattern recognition tools, namely, dominant points (DPs). The DPs are computed by the Douglas-Peucker curve simplification algorithm. The so-computed DPs include peak and baseline points, the discrimination of which yields gradual piecewise linear estimation of the baseline wander (BaselineW) in two iterations. At each iteration, the current BaselineW is subtracted from the input signal according to the decomposition scheme: ECG approximately ECG(ZBLW) + BaselineW, where ECG(ZBLW) is the underlying baseline wander free ECG. The method targets many types of baseline deviations in a unified approach: baseline drift due to respiration, amplitude modulation due to perspiration and abrupt potential change due to electrode loose contact. We tested the developed method on a variety of ECG records including half synthesized records contaminated with different types of baseline deviations (simulated) noise, and on records from the MITBIH database presenting important baseline deviations, including normal and abnormal heart beats cases. The method showed good performance in computing a piecewise linear estimation of the baseline deviation and in extracting the ECG(ZBLW), which represents the clinically significant electrocardiogram information.
Related Concept Videos
Calibration Curves: Linear Least Squares
For data that follow a straight line, the standard method for fitting is the linear...
Electrocardiogram Fundamentals
An electrocardiogram (ECG) is a diagnostic tool for identifying cardiac conditions such as arrhythmias, conduction abnormalities, and myocardial ischemia.
Definition
An electrocardiogram (ECG) visualizes the heart's electrical activity by tracing the electrical movement associated with each heartbeat on a graph or monitor. As the heart beats, an electrical wave passes through it, correlating with the cardiac cycle events.
Parts of an ECG
An ECG utilizes electrodes on the skin to...
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and the T...
Instrumentation Amplifier
To overcome this challenge, an ECG machine utilizes an instrumentation amplifier. This specialized amplifier is...
Linear Approximation in Time Domain
For a simple pendulum with a mass evenly distributed along its length and the center of mass located at half the pendulum's length, the...
Influence of Earth's Curvature and Atmospheric Refraction on Leveling
