Envelopment filter and K-means for the detection of QRS waveforms in electrocardiogram

Med Eng Phys. 2015 Jun;37(6):605-9. doi: 10.1016/j.medengphy.2015.03.019. Epub 2015 Apr 23.

Abstract

The electrocardiogram (ECG) is a well-established technique for determining the electrical activity of the heart and studying its diseases. One of the most common pieces of information that can be read from the ECG is the heart rate (HR) through the detection of its most prominent feature: the QRS complex. This paper describes an offline version and a real-time implementation of a new algorithm to determine QRS localization in the ECG signal based on its envelopment and K-means clustering algorithm. The envelopment is used to obtain a signal with only QRS complexes, deleting P, T, and U waves and baseline wander. Two moving average filters are applied to smooth data. The K-means algorithm classifies data into QRS and non-QRS. The technique is validated using 22 h of ECG data from five Physionet databases. These databases were arbitrarily selected to analyze different morphologies of QRS complexes: three stored data with cardiac pathologies, and two had data with normal heartbeats. The algorithm has a low computational load, with no decision thresholds. Furthermore, it does not require any additional parameter. Sensitivity, positive prediction and accuracy from results are over 99.7%.

Keywords: Biosignal processing; ECG signal; Envelopment; K-means clustering; QRS detection.

Publication types

  • Validation Study

MeSH terms

  • Algorithms*
  • Arrhythmias, Cardiac / diagnosis
  • Arrhythmias, Cardiac / physiopathology
  • Databases, Factual
  • Electrocardiography / methods*
  • False Positive Reactions
  • Heart Rate / physiology
  • Humans
  • Sensitivity and Specificity
  • Signal Processing, Computer-Assisted
  • Time Factors