Automated electrocardiogram signal quality assessment based on Fourier analysis and template matching

J Clin Monit Comput. 2023 Jun;37(3):829-837. doi: 10.1007/s10877-022-00948-5. Epub 2022 Dec 5.

Abstract

We developed and tested a novel template matching approach for signal quality assessment on electrocardiogram (ECG) data. A computational method was developed that uses a sinusoidal approximation to the QRS complex to generate a correlation value at every point of an ECG. The strength of this correlation can be numerically adapted into a 'score' for each segment of an ECG, which can be used to stratify signal quality. The algorithm was tested on lead II ECGs of intensive care unit (ICU) patients admitted to the Mount Sinai Hospital (MSH) from January to July 2020 and on records from the MIT BIH arrhythmia database. The algorithm was found to be 98.9% specific and 99% sensitive on test data from the MSH ICU patients. The routine performs in linear O(n) time and occupies O(1) heap space in runtime. This approach can be used to lower the burden of pre-processing in ECG signal analysis. Given its runtime (O(n)) and memory (O(1)) complexity, there are potential applications for signal quality stratification and arrhythmia detection in wearable devices or smartphones.

Keywords: AI; ECG; Electrocardiogram; Fourier; ML.

Publication types

  • Research Support, N.I.H., Extramural

MeSH terms

  • Algorithms
  • Arrhythmias, Cardiac / diagnosis
  • Electrocardiography* / methods
  • Fourier Analysis
  • Humans
  • Signal Processing, Computer-Assisted*