I. Introduction
Detecting R-peaks in ECG-signals is required for many applications in healthcare (e.g., [1], [2]) and the topic has been studied for more than four decades. While algorithms for peak detection come in great quantity (e.g., [3]–[11]), there is no single best method and there is still room for improvements, particularly for ECG measurements during movement and exercise as well as for the sample accurate detection of the R-peaks. Current popular benchmark peak detection algorithms are built upon, e.g., the derivative [5], the stationary wavelet transform (SWT) [6], matched filters [7], [3] and neural networks [4], [10]. In this work, we propose a new peak detection approach that builds upon the visibility graph transformation. The key idea is to first represent the sampled data as a network of the sampling points that captures local features and nonstationary properties of the signal at hand and subsequently to compute weights for each sampling point that amplify R-peaks and dampen other signal components and noise. The peaks can then be detected using an established thresholding scheme, e.g., the one proposed by Pan and Tompkins [5].