Skip to main content
  1. Publications/

Accelerated Sample-Accurate R-Peak Detectors Based on Visibility Graphs

Jonas Emrich
Taulant Koka
Sebatsian Wirth
Michael Muma
31st European Signal Processing Conference (EUSIPCO), 1090-1094, 2023
Video Code Cite
Jonas Emrich
Author
Jonas Emrich
Master Student in Engineering and AI. Passionate about using research and innovation to solve real-world problems and drive impact.
Table of Contents

Abstract
#

The effective detection and accurate clinical diagnosis of cardiac conditions strongly relies on the correct localization of R-peaks in the electrocardiogram (ECG). Recently, demand for sample-accurate R-peak detection, which is essential to precisely reveal vital features, such as heart rate variability and pulse transit time, has increased. Therefore, we propose two novel sample-accurate visibility-graph-based R-peak detectors, the FastNVG and the FastWHVG detector. The visibility graph (VG) transformation maps a discrete signal into a graph by representing sampling locations as nodes and establishing edges between mutually visible samples. However, processing large-scale clinical ECG data urgently demands further acceleration of VG-based algorithms. The proposed methods reduce the required computation time by one order of magnitude and simultaneously decrease the required memory compared to a recently proposed VG-based R-Peak detector. Instead of transforming the entire ECG, the proposed acceleration benefits largely from building the VG based on a subset containing only the samples relevant to R-peak detection. Further acceleration is obtained by adopting the computationally efficient horizontal visibility graph, which has not yet been used for R-peak detection. Numerical experiments and benchmarks on multiple ECG databases demonstrate a significantly superior performance of the proposed VG-based methods compared to popular R-peak detectors.

R-Peak Detection Pipeline
Illustration of the pipeline for the visibility-graph-based R-peak detector: First, the time series is mapped into a graph representation using the NVG transformation, as depicted in the second block. Subsequently, a node metric is calculated in the graph domain, to weight the original signal, emphasizing R-peak positions, which are then extracted by a thresholding procedure.

Visibility Graph Transformation - Intuition
#

Visibility Graph Transformation
Visualization of the visibility criterion used for creating directed edges (top-to-bottom) in the NVG on the left (2a) and HVG on the right (2b).

Performance
#

Performance Evaluation
Evaluation of the proposed detectors against several established R-peak detection methods on the Glasgow University ECG Database using a zero tolerance window.

Open-Source Implementation
#

JonasEmrich/vg-beat-detectors

Fast and sample-accurate R-peak detectors based on Visisbility Graphs

Python
17
1