Structural Anomalies Detection from Electrocardiogram (ECG) with Spectrogram and Handcrafted Features

Hongzu Li1, Pierre Boulanger1

  • 1Department of Computer Science, Faculty of Science, University of Alberta, 116 St and 85 Ave, Edmonton, AB T6G 2R3, Canada.

Insights

This study introduces a novel method using electrocardiogram (ECG) spectrograms and a Convolutional Neural Network to detect complex heart anomalies, improving early cardiovascular disease diagnosis beyond current capabilities.

Area of Science:

  • Biomedical Engineering
  • Cardiology
  • Artificial Intelligence in Medicine

Background:

  • Cardiovascular diseases (CVDs) are a leading global cause of mortality, necessitating advanced diagnostic tools.
  • Existing commercial devices primarily detect basic rhythm fluctuations, limiting the diagnosis of complex cardiac anomalies.
  • Early and accurate detection of diverse heart conditions is crucial for effective patient management and improved health outcomes.

Purpose of the Study:

  • To develop an advanced algorithm for detecting a wider range of heart anomalies than currently available commercial products.
  • To improve the accuracy and sensitivity of diagnosing both cardiac rhythm and heartbeat irregularities.
  • To leverage Short-Time Fourier Transform (STFT) spectrograms and handcrafted features for enhanced ECG analysis.

Main Methods:

  • A novel method combining Short-Time Fourier Transform (STFT) spectrograms of ECG signals with handcrafted features was developed.
  • A Convolutional Neural Network (CNN) model was proposed and trained to analyze the combined ECG data.
  • The algorithm was evaluated on its ability to detect multiple types of cardiac rhythm and heartbeat anomalies.

Main Results:

  • The algorithm achieved 99.79% accuracy in detecting 16 different rhythm anomalies, with a low 0.15% false-alarm rate and 99.74% sensitivity.
  • It also demonstrated high performance in detecting 13 heartbeat anomalies, achieving 99.18% accuracy, a 0.45% false-alarm rate, and 98.80% sensitivity.
  • These results surpass the diagnostic capabilities of many current commercial heart monitoring products.

Conclusions:

  • The proposed STFT spectrogram and CNN-based method offers a significant advancement in diagnosing complex cardiovascular conditions.
  • This approach enhances the early detection of both rhythm and heartbeat anomalies, potentially improving patient outcomes.
  • The high accuracy and sensitivity suggest clinical utility for this advanced ECG analysis technique.

Related Concept Videos

Electrocardiogram01:29

Electrocardiogram

An electrocardiogram (ECG or EKG) is a critical diagnostic tool that records the electrical signals produced by the heart during each heartbeat. This recording is achieved through electrodes placed strategically on the arms, legs, and chest. The electrocardiograph amplifies these signals and produces 12 distinct tracings, offering a comprehensive understanding of the heart's electrical activity.
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
3.4K
Electrocardiogram Fundamentals01:28

Electrocardiogram Fundamentals

Introduction
An electrocardiogram (ECG) is a diagnostic tool for identifying cardiac conditions such as arrhythmias, conduction abnormalities, and myocardial ischemia.
Definition
An electrocardiogram (ECG) visualizes the heart's electrical activity by tracing the electrical movement associated with each heartbeat on a graph or monitor. As the heart beats, an electrical wave passes through it, correlating with the cardiac cycle events.
Parts of an ECG
An ECG utilizes electrodes on the skin...
909
Correlation between ECG and Cardiac Cycle01:25

Correlation between ECG and Cardiac Cycle

The electrical signals recorded on an electrocardiogram (ECG) occur before the mechanical processes of contraction and relaxation during the cardiac cycle.
A cardiac action potential originates in the SA node and spreads throughout the atria and the AV node in approximately 0.03 seconds. This results in the P wave in an ECG and triggers atrial contraction. The action potential is then briefly slowed at the AV node, allowing the atria to contract and fill the ventricles with blood before...
8.8K
Pulse rhythm01:30

Pulse rhythm

Pulse rhythm refers to the pattern of pulsations within specific intervals, offering valuable insights into the regularity or irregularity of the heart's beats as observed through the pattern of pulsation within specific intervals. A regular pulse exhibits a consistent heart rate with uniform waveforms and pulsation force, variations of which can be classified as normal, weak, or bounding.
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac...
952
Classification of Signals01:30

Classification of Signals

In signal processing, signals are classified based on various characteristics: continuous-time versus discrete-time, periodic versus aperiodic, analog versus digital, and causal versus noncausal. Each category highlights distinct properties crucial for understanding and manipulating signals.
A continuous-time signal holds a value at every instant in time, representing information seamlessly. In contrast, a discrete-time signal holds values only at specific moments, often denoted as x(n), where...
975
ECG Interpretation of Rhythms01:24

ECG Interpretation of Rhythms

An electrocardiogram (ECG)graphically represents the heart's electrical activity on ECG paper or a monitor.
Components of the Electrocardiogram
The primary components of a normal ECG waveform in Normal sinus rhythm(NSR) include the P wave, PR interval, QRS complex, ST segment, T wave, and occasionally a U wave.
ECG waveforms are divided by vertical and horizontal lines at standard intervals.
The horizontal axis measures time and rate, and the vertical axis measures amplitude or voltage....
4.8K