Imperial College London, National Heart & Lung Institute, London, W12 0NN, UK.
National University of Singapore, Singapore, Singapore.
Sci Rep. 2022 Dec 5;12(1):20963. doi: 10.1038/s41598-022-25284-1.
There is increasing focus on applying deep learning methods to electrocardiograms (ECGs), with recent studies showing that neural networks (NNs) can predict future heart failure or atrial fibrillation from the ECG alone. However, large numbers of ECGs are needed to train NNs, and many ECGs are currently only in paper format, which are not suitable for NN training. We developed a fully-automated online ECG digitisation tool to convert scanned paper ECGs into digital signals. Using automated horizontal and vertical anchor point detection, the algorithm automatically segments the ECG image into separate images for the 12 leads and a dynamical morphological algorithm is then applied to extract the signal of interest. We then validated the performance of the algorithm on 515 digital ECGs, of which 45 were printed, scanned and redigitised. The automated digitisation tool achieved 99.0% correlation between the digitised signals and the ground truth ECG (n = 515 standard 3-by-4 ECGs) after excluding ECGs with overlap of lead signals. Without exclusion, the performance of average correlation was from 90 to 97% across the leads on all 3-by-4 ECGs. There was a 97% correlation for 12-by-1 and 3-by-1 ECG formats after excluding ECGs with overlap of lead signals. Without exclusion, the average correlation of some leads in 12-by-1 ECGs was 60-70% and the average correlation of 3-by-1 ECGs achieved 80-90%. ECGs that were printed, scanned, and redigitised, our tool achieved 96% correlation with the original signals. We have developed and validated a fully-automated, user-friendly, online ECG digitisation tool. Unlike other available tools, this does not require any manual segmentation of ECG signals. Our tool can facilitate the rapid and automated digitisation of large repositories of paper ECGs to allow them to be used for deep learning projects.
目前越来越关注将深度学习方法应用于心电图(ECG),最近的研究表明,神经网络(NN)仅从心电图就可以预测未来的心力衰竭或心房颤动。然而,训练神经网络需要大量的心电图,而目前许多心电图仅以纸质格式存在,不适合神经网络训练。我们开发了一种全自动在线心电图数字化工具,可将扫描的纸质心电图转换为数字信号。该算法使用自动水平和垂直锚点检测,自动将心电图图像分割成 12 个导联的单独图像,然后应用动态形态学算法提取感兴趣的信号。然后,我们在 515 个数字心电图上验证了该算法的性能,其中 45 个是打印、扫描和重新数字化的。在排除导联信号重叠的心电图后,该自动数字化工具在 515 个标准的 3×4 心电图中实现了数字化信号与真实心电图之间 99.0%的相关性。不排除导联信号重叠的情况下,所有 3×4 心电图上的导联平均相关度在 90%至 97%之间。排除导联信号重叠的心电图后,12×1 和 3×1 心电图格式的相关性为 97%。不排除导联信号重叠的情况下,某些 12×1 心电图导联的平均相关度为 60-70%,而 3×1 心电图的平均相关度达到 80-90%。我们的工具在打印、扫描和重新数字化后,与原始信号的相关性达到 96%。我们已经开发并验证了一种全自动、用户友好的在线心电图数字化工具。与其他可用工具不同,它不需要对心电图信号进行任何手动分割。我们的工具可以促进大规模纸质心电图库的快速自动数字化,以便将其用于深度学习项目。