ECG-Image-Kit:一种促进基于深度学习的电图数字化的合成图像生成工具箱
ECG-Image-Kit: A Synthetic Image Generation Toolbox to Facilitate Deep Learning-Based Electrocardiogram Digitization
AI总结:
本文提出ECG-Image-Kit,一个从时间序列生成带伪影的合成心电图图像的开源工具箱,用于训练深度学习模型实现纸质心电图的数字化,并在PhysioNet QT数据库上验证了其准确性和临床参数保持。
摘要:
心血管疾病是全球主要的死亡原因之一,而心电图(ECG)对于诊断这些疾病至关重要。传统上,心电图被打印在纸上。然而,这些打印件,即使经过扫描,也无法与需要时间序列数据的先进心电图诊断软件兼容。将心电图图像数字化对于训练机器学习模型进行心电图诊断以及利用全球数十年来积累的广泛档案至关重要。用于图像处理的深度学习模型在这方面很有前景,尽管缺乏带有参考时间序列数据的临床心电图档案是一个挑战。使用逼真的生成数据模型进行数据增强提供了一种解决方案。我们介绍了ECG-Image-Kit,这是一个开源工具箱,用于从时间序列数据生成带有真实伪影的合成多导联心电图图像。该工具从真实时间序列数据合成心电图图像,在标准心电图纸背景上应用文本伪影、皱褶和折痕等变形。作为案例研究,我们使用ECG-Image-Kit从PhysioNet QT数据库创建了一个包含21,801张心电图图像的数据集。我们开发并训练了一个传统计算机视觉和深度神经网络模型的组合,在该数据集上将合成图像转换为时间序列数据进行评估。我们通过计算信噪比(SNR)来评估数字化质量,并将从该流程中恢复的QRS宽度、RR和QT间期等临床参数与从心电图时间序列中提取的真实值进行比较。结果表明,该深度学习流程能够准确数字化纸质心电图,保持临床参数,并突出了生成式数字化方法。该工具箱目前支持2024年PhysioNet挑战赛的数据增强,重点是数字化和分类纸质心电图图像。
英文摘要:
Cardiovascular diseases are a major cause of mortality globally, and electrocardiograms (ECGs) are crucial for diagnosing them. Traditionally, ECGs are printed on paper. However, these printouts, even when scanned, are incompatible with advanced ECG diagnosis software that require time-series data. Digitizing ECG images is vital for training machine learning models in ECG diagnosis and to leverage the extensive global archives collected over decades. Deep learning models for image processing are promising in this regard, although the lack of clinical ECG archives with reference time-series data is challenging. Data augmentation techniques using realistic generative data models provide a solution. We introduce ECG-Image-Kit, an open-source toolbox for generating synthetic multi-lead ECG images with realistic artifacts from time-series data. The tool synthesizes ECG images from real time-series data, applying distortions like text artifacts, wrinkles, and creases on a standard ECG paper background. As a case study, we used ECG-Image-Kit to create a dataset of 21,801 ECG images from the PhysioNet QT database. We developed and trained a combination of a traditional computer vision and deep neural network model on this dataset to convert synthetic images into time-series data for evaluation. We assessed digitization quality by calculating the signal-to-noise ratio (SNR) and compared clinical parameters like QRS width, RR, and QT intervals recovered from this pipeline, with the ground truth extracted from ECG time-series. The results show that this deep learning pipeline accurately digitizes paper ECGs, maintaining clinical parameters, and highlights a generative approach to digitization. This toolbox currently supports data augmentation for the 2024 PhysioNet Challenge, focusing on digitizing and classifying paper ECG images.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。