Digitizing ECG image: A new method and open-source software code
- PMID: 35598436
- PMCID: PMC9286778
- DOI: 10.1016/j.cmpb.2022.106890
Digitizing ECG image: A new method and open-source software code
Abstract
Background and objective: We aimed to develop and validate an open-source code ECG-digitizing tool and assess agreements of ECG measurements across three types of median beats, comprised of digitally recorded simultaneous and asynchronous ECG leads and digitized asynchronous ECG leads.
Methods: We used the data of clinical studies participants (n = 230; mean age 30±15 y; 25% female; 52% had the cardiovascular disease) with available both digitally recorded and printed on paper and then scanned ECGs, split into development (n = 150) and validation (n = 80) datasets. The agreement between ECG and VCG measurements on the digitally recorded time-coherent median beat, representative asynchronous digitized, and digitally recorded beats was assessed by Bland-Altman analysis.
Results: The sample-per-sample comparison of digitally recorded and digitized signals showed a very high correlation (0.977), a small mean difference (9.3 µV), and root mean squared error (25.9 µV). Agreement between digitally recorded and digitized representative beat was high [area spatial ventricular gradient (SVG) elevation bias 2.5(95% limits of agreement [LOA] -7.9-13.0)°; precision 96.8%; inter-class correlation [ICC] 0.988; Lin's concordance coefficient ρc 0.97(95% confidence interval [CI] 0.95-0.98)]. Agreement between digitally recorded asynchronous and time-coherent median beats was moderate for area-based VCG metrics (spatial QRS-T angle bias 1.4(95%LOA -33.2-30.3)°; precision 94.8%; ICC 0.95; Lin's concordance coefficient ρc 0.90(95%CI 0.82-0.95)].
Conclusions: We developed and validated an open-source software tool for paper-ECG digitization. Asynchronous ECG leads are the primary source of disagreement in measurements on digitally recorded and digitized ECGs.
Keywords: Digitization; ECG; ECG paper digital conversion; Paper ECG digitizing; Paper-to-digital conversion.
Copyright © 2022 Elsevier B.V. All rights reserved.
Conflict of interest statement
Declaration of Competing Interest None declared.
Figures












Similar articles
-
Experiences in digitizing and digitally measuring a paper-based ECG archive.J Electrocardiol. 2018 Jan-Feb;51(1):74-81. doi: 10.1016/j.jelectrocard.2017.09.007. Epub 2017 Sep 27. J Electrocardiol. 2018. PMID: 29031413
-
Digitization of Electrocardiogram From Telemetry Prior to In-hospital Cardiac Arrest: A Pilot Study.Biol Res Nurs. 2016 Mar;18(2):230-6. doi: 10.1177/1099800415602092. Epub 2015 Aug 27. Biol Res Nurs. 2016. PMID: 26316514
-
ECGMiner: A flexible software for accurately digitizing ECG.Comput Methods Programs Biomed. 2024 Apr;246:108053. doi: 10.1016/j.cmpb.2024.108053. Epub 2024 Feb 3. Comput Methods Programs Biomed. 2024. PMID: 38340566
-
Reproducibility of global electrical heterogeneity measurements on 12-lead ECG: The Multi-Ethnic Study of Atherosclerosis.J Electrocardiol. 2021 Nov-Dec;69:96-104. doi: 10.1016/j.jelectrocard.2021.09.014. Epub 2021 Oct 2. J Electrocardiol. 2021. PMID: 34626835 Free PMC article.
-
Image digitization of discontinuous and degraded electrocardiogram paper records using an entropy-based bit plane slicing algorithm.J Electrocardiol. 2018 Jul-Aug;51(4):707-713. doi: 10.1016/j.jelectrocard.2018.05.003. Epub 2018 May 25. J Electrocardiol. 2018. PMID: 29997018
Cited by
-
A fully-automated paper ECG digitisation algorithm using deep learning.Sci Rep. 2022 Dec 5;12(1):20963. doi: 10.1038/s41598-022-25284-1. Sci Rep. 2022. PMID: 36471089 Free PMC article.
-
ECG-Image-Kit: a synthetic image generation toolbox to facilitate deep learning-based electrocardiogram digitization.Physiol Meas. 2024 May 28;45(5):055019. doi: 10.1088/1361-6579/ad4954. Physiol Meas. 2024. PMID: 39150768 Free PMC article.
-
Signal-Guided Multitask Learning for Myocardial Infarction Classification Using Images of Electrocardiogram.Cardiology. 2025;150(4):347-356. doi: 10.1159/000542399. Epub 2024 Nov 6. Cardiology. 2025. PMID: 39504941 Free PMC article.
-
Leveraging ECG images for predicting ejection fraction using machine learning algorithms.Indian Heart J. 2025 May-Jun;77(3):182-187. doi: 10.1016/j.ihj.2025.03.009. Epub 2025 Mar 28. Indian Heart J. 2025. PMID: 40158621 Free PMC article.
-
Cardiac Arrhythmia Classification Using Advanced Deep Learning Techniques on Digitized ECG Datasets.Sensors (Basel). 2024 Apr 12;24(8):2484. doi: 10.3390/s24082484. Sensors (Basel). 2024. PMID: 38676101 Free PMC article.
References
-
- Kligfield P, Badilini F, Brown B, Helfenbein E, Kohls M, The ISCE ECG genome pilot challenge: A 2004 progress report, Journal of Electrocardiology, 37 (2004) 144–148. - PubMed
-
- Stockbridge N, Points to consider in electrocardiogram waveform extraction, Journal of Electrocardiology, 38 (2005) 319–320. - PubMed
-
- Badilini F, Erdem T, Zareba W, Moss AJ, ECGScan: a method for conversion of paper electrocardiographic printouts to digital electrocardiographic files, J Electrocardiol, 38 (2005) 310–318. - PubMed
-
- Tereshchenko LG, Sotoodehnia N, Sitlani CM, Ashar FN, Kabir M, Biggs ML, Morley MP, Waks JW, Soliman EZ, Buxton AE, Biering-Sorensen T, Solomon SD, Post WS, Cappola TP, Siscovick DS, Arking DE, Genome-Wide Associations of Global Electrical Heterogeneity ECG Phenotype: The ARIC (Atherosclerosis Risk in Communities) Study and CHS (Cardiovascular Health Study), J Am Heart Assoc, 7 (2018) e008160. - PMC - PubMed
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources
Other Literature Sources