Clinical utility of an electrocardiogram (ECG) affected by too high levels of noise such as baseline wanders, electrode motion artifacts, muscular artifacts and power-line interference may be jeopardized if not opportunely processed. Template-based techniques have been proposed for ECG estimation from noisy recordings, but usually they do not reproduce physiological ECG variability, which, however, provides clinically useful information on the patient's health. Thus, this study proposes the Segmented-Beat Modulation Method (SBMM) as a new template-based filtering procedure able to reproduce ECG variability, and assesses SBMM robustness to the aforementioned noises in comparison to a standard template method (STM). SBMM performs a unique ECG...