Key result
Template matching algorithm reduces R-peak localization error by ~61% versus classical Pan-Tompkins.
Why the study?
Current algorithm assessment methods prioritize R-peak detection sensitivity rather than the precision of pinpointing exact R-peak positions needed for heart rate variability.
Does a novel modified Pan-Tompkins algorithm improve the precision of R-peak localization compared to the classical Pan-Tompkins algorithm in ECG signals?
Does a novel modified Pan-Tompkins algorithm improve the precision of R-peak localization compared to the classical Pan-Tompkins algorithm in ECG signals?
Absolute Event Rate: 8.35% vs 21.65%
A novel modified Pan-Tompkins algorithm significantly improves the precision of R-peak localization in ECG signals, potentially enhancing clinical HRV analysis.
May improve ECG R-peak precision for HRV analysis; leaves open prospective clinical validation before practice change.
Heart rate variability (HRV) is derived from the R-R interval, which depends on the precise localization of R-peaks within an electrocardiogram (ECG) signal. However, current algorithm assessment methods prioritize the R-peak detection's sensitivity rather than the precision of pinpointing the exact R-peak positions. As a result, it is of great value to develop an R-peak detection algorithm with high-precision R-peak localization. This paper introduces a novel R-peak localization algorithm that involves modifications to the well-established Pan-Tompkins (PT) algorithm. The algorithm was implemented as follows. First, the raw ECG signal X(i) was band-pass filtered (5-35 Hz) to obtain a preprocessed signal Y(i). Second, Y(i) was squared to enhance the QRS complex, followed by a 5 Hz low-pass filter to obtain the QRS envelope, which was transformed into a window signal W(i) by dynamic threshold with a minimum width of 200 ms to mark the QRS complex. Third, Y(i) was used to generate QRS template T(n) automatically, and then the R-peak was identified by a template matching process to find the maximum absolute value of all cross-correlation values between T(n) and Y(i). The proposed algorithm achieved a sensitivity (SE) of 99.78%, a positive prediction value (PPV) of 99.78% and data error rate (DER) of 0.44% in R-peak localization for the MIT-BIH Arrhythmia database. The annotated-detected error (ADE), which represents the error between the annotated R-peak location and the detected R-peak location, was 8.35 ms for the MIT-BIH Arrhythmia database. These results outperformed the results obtained using the classical Pan-Tompkins algorithm which yielded an SE of 98.87%, a PPV of 99.14%, a DER of 1.98% and an ADE of 21.65 ms for the MIT-BIH Arrhythmia database. It can be concluded that the algorithm can precisely detect the location of R-peaks and may have the potential to enhance clinical applications of HRV analysis.
No takes yet. Share an insight, caveat, or question.
Zhai et al. (2023) studied Arrhythmia (n=47). Proposed R-peak localization algorithm (template matching) vs. Pan-Tompkins algorithm was evaluated on Annotated-detected error (ADE) in ms. The proposed R-peak localization algorithm using template matching achieved an annotated-detected error of 8.35 ms compared to 21.65 ms for the classical Pan-Tompkins algorithm.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: