ECGMiner: A flexible software for accurately digitizing ECG
- PMID: 38340566
- DOI: 10.1016/j.cmpb.2024.108053
ECGMiner: A flexible software for accurately digitizing ECG
Abstract
Background and objective: The electrocardiogram (ECG) is the most important non-invasive method for elucidating information about heart and cardiovascular disease diagnosis. Typically, the ECG system manufacturing companies provide ECG images, but store the numerical data in a proprietary format that is not interpretable and is not therefore useful for automatic diagnosis. There have been many efforts to digitize paper-based ECGs. The main limitations of previous works in ECG digitization are that they require manual selection of the regions of interest, only partly provide signal digitization, and offer limited accuracy.
Methods: We have developed the ECGMiner, an open-source software to digitize ECG images. It is precise, fast, and simple to use. This software digitizes ECGs in four steps: 1) recognizing the image composition; 2) removing the gridline; 3) extracting the signals; 4) post-processing and storing the data.
Results: We have evaluated the ECGMiner digitization capabilities using the Pearson Correlation Coefficient (PCC) and the Root Mean Square Error (RMSE) measures, and we consider ECG from two large, public, and widely used databases, LUDB and PTB-XL. The actual and digitized values of signals in both databases have been compared. The software's ability to correctly identify the location of characteristic waves has also been validated. Specifically, the PCC values are between 0.971 and 0.995, and the RMSE values are between 0.011 and 0.031 mV.
Conclusions: The ECGMiner software presented in this paper is open access, easy to install, easy to use, and capable of precisely recovering the paper-based/digital ECG signal data, regardless of the input format and signal complexity. ECGMiner outperforms existing digitization algorithms in terms of PCC and RMSE values.
Keywords: Digitization; ECG; FMM model; Images; Software.
Copyright © 2024 The Author(s). Published by Elsevier B.V. All rights reserved.
Conflict of interest statement
Declaration of Competing Interest The authors declare that there are no known competing financial interests or personal relationships that could have appeared to influence this work.
Similar articles
-
High precision ECG digitization using artificial intelligence.J Electrocardiol. 2025 May-Jun;90:153900. doi: 10.1016/j.jelectrocard.2025.153900. Epub 2025 Feb 19. J Electrocardiol. 2025. PMID: 40010101
-
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
-
Digitizing ECG image: A new method and open-source software code.Comput Methods Programs Biomed. 2022 Jun;221:106890. doi: 10.1016/j.cmpb.2022.106890. Epub 2022 May 14. Comput Methods Programs Biomed. 2022. PMID: 35598436 Free PMC article.
-
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
-
Digitizing paper electrocardiograms: Status and challenges.J Electrocardiol. 2017 Jan-Feb;50(1):123-130. doi: 10.1016/j.jelectrocard.2016.09.007. Epub 2016 Sep 12. J Electrocardiol. 2017. PMID: 27658690 Review.
MeSH terms
LinkOut - more resources
Full Text Sources