A template-based filtering procedure reproducing heart-rate variability was proposed.
Its robustness to noise, also in comparison to a standard template method was tested.
A simulation study verifies the correctness of the proposed method implementation.
A clinical study tested the method ability to estimate ECGs from noisy recordings.
Clean ECGs were estimated from noisy recordings affected by heart rate variability.