ECG Noise Removal Using Segmented-beat Modulation
Agostinelli, Angela, Corrado Giuliani, and Laura Burattini. "Extracting a clean ECG from a noisy recording: a new method based on segmented-beat modulation.". Computing in Cardiology Conference (CinC), 2014. IEEE, 2014.
Full credit goes to the authors.
This technique computes a template based on the median of several cardiac cycles:
Then, it uses this template to reconstruct cardiac cycles of a clean ECG. The duration of these cycles matches that of the corresponding beats in the original (noisy) recording: