Related Experiment Video
Updated: Jul 24, 2025

Author Spotlight: Advancing the Study of Brain-Heart Interplay with a Comprehensive EEGLAB Plugin for Multimodal Signal Analysis
Published on: April 26, 2024
Beat-wise segmentation of electrocardiogram using adaptive windowing and deep neural network
S M Isuru Niroshana1, Satoshi Kuroda2, Kazuyuki Tanaka2
1Biomedical Information Engineering Lab, The University of Aizu, Fukushima, 965-8580, Japan.
Insights
This study introduces a novel electrocardiogram (ECG) beat segmentation technique using a CNN and adaptive windowing. The method accurately identifies regular and irregular heartbeats, crucial for reliable ECG analysis and patient monitoring.
Area of Science:
- Biomedical Engineering
- Signal Processing
- Artificial Intelligence in Healthcare
Background:
- Accurate electrocardiogram (ECG) analysis is vital for patient monitoring and post-treatment care.
- Beat-wise segmentation is a critical prerequisite for reliable automated ECG classification.
- Existing methods may struggle with the fidelity and confidence required for clinical applications.
Purpose of the Study:
- To develop and validate a robust ECG beat segmentation technique.
- To improve the accuracy and reliability of identifying cardiac cycle events and segmenting heartbeats.
- To enable more confident clinical applications of automated ECG analysis.
Main Methods:
- A Convolutional Neural Network (CNN) model integrated with an adaptive windowing algorithm was developed.
- The adaptive windowing algorithm identifies cardiac cycle events for precise segmentation.
- The technique segments both regular and irregular heartbeats from ECG signals.
Main Results:
- Achieved 99.08% accuracy and F1-score on the MIT-BIH dataset for heartbeat detection.
- Demonstrated 99.25% accuracy in boundary determination on the MIT-BIH dataset.
- Showcased high performance on European S-T (98.3% accuracy, 97.4% precision) and Fantasia (99.4% accuracy, 99.4% precision) databases.
Conclusions:
- The proposed ECG beat segmentation technique demonstrates high accuracy and reliability across multiple datasets.
- The method's ability to accurately segment regular and irregular beats supports its clinical utility.
- This algorithm offers a promising solution for enhanced confidence in various ECG analysis applications.
Abstract:
Timely detection of anomalies and automatic interpretation of an electrocardiogram (ECG) play a crucial role in many healthcare applications, such as patient monitoring and post treatments. Beat-wise segmentation is one of the essential steps in ensuring the confidence and fidelity of many automatic ECG classification methods. In this sense, we present a reliable ECG beat segmentation technique using a CNN model with an adaptive windowing algorithm. The proposed adaptive windowing algorithm can recognise cardiac cycle events and perform segmentation, including regular and irregular beats from an ECG signal with satisfactorily accurate boundaries.The proposed algorithm was evaluated quantitatively and qualitatively based on the annotations provided with the datasets and beat-wise manual inspection. The algorithm performed satisfactorily well for the MIT-BIH dataset with a 99.08% accuracy and a 99.08% of F1-score in detecting heartbeats along with a 99.25% of accuracy in determining correct boundaries. The proposed method successfully detected heartbeats from the European S-T database with a 98.3% accuracy and 97.4% precision. The algorithm showed 99.4% of accuracy and precision for Fantasia database. In summary, the algorithm's overall performance on these three datasets suggests a high possibility of applying this algorithm in various applications in ECG analysis, including clinical applications with greater confidence.
Related Concept Videos
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
Electrocardiogram Fundamentals
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...
ECG Interpretation of Rhythms
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....
Correlation between ECG and 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...

