Bit-Exact Reconstruction and Certification of Electrocardiogram Waveforms from Vector-Encoded PDF Files
Abdelrahman, K.; Stabenau, H. F.; Patlatzoglou, K.; Sau, A.; Zeidaabadi, B.; Pastika, L.; Peters, N. S.; Ng, F. S.; Kramer, D. B.; Waks, J. W.
Show abstract
ECG waveform data, which is increasingly required for artificial intelligence analyses, is often unavailable in raw data formats. Digitization can approximate original raw data from ECG images, but digitizers reconstruct ECG waveforms only approximately. Exact waveform reconstruction is needed to guarantee that any errors, even if small, do not unexpectedly propagate into downstream analyses. Portable document format (PDF) files containing vector graphics store waveforms derived directly from raw data. This improves reconstruction accuracy, but existing PDF reconstruction methods remain approximate because raw data values are rounded during PDF encoding/generation. Despite rounding, however, there is a 1:1 mapping between raw data and PDF-encoded values which can be reversed to recover the original raw data with no error. We developed open-source software in MATLAB and Python (http://github.com/BIVectors/pdf2ECG) for bit-exact waveform reconstruction of General Electric MUSE ECG PDFs based on double quantization of ECG waveform data. The software supports multiple PDF layouts and voltage gains, automatically flags waveform clipping under which exact reconstruction is not possible, and certifies if parameter values used for waveform reconstruction are consistent with parameter values used during PDF encoding. Accuracy was assessed by comparing PDF reconstructed waveforms to raw XML waveforms, and reconstruction parameters were perturbed to determine the accuracy of waveform certification. 1,632 PDF-XML pairs were assessed in 5 layouts, each at 3 gains. After software-identified waveform clipping was excluded, the software reconstructed 100% of ECG waveforms with zero error compared to ground-truth XML. Certification tests were extremely sensitive to minor perturbation in encoding parameters, and if passed, confirmed bit-exact waveform reconstruction without need for ground-truth comparisons. Although this method does not replace the need for general ECG image digitization, for MUSE generated PDFs this method is preferable to rasterization followed by image-based digitization.
Matching journals
The top 5 journals account for 50% of the predicted probability mass.
Similar papers in this journal
- Digitizing ECG image: new fully automated method and open-source software code 95%
- BRAVEHEART: Open-source software for automated electrocardiographic and vectorcardiographic analysis 95%
- An algorithm to detect dicrotic notch in arterial blood pressure and photoplethysmography waveforms using the iterative envelope mean method 93%
Similar papers in this journal
- The Ithildin library for efficient numerical solution of anisotropic reaction-diffusion problems in excitable media 93%
- Ventricular anatomical complexity and gender differences impact predictions from computational models 93%
- Genetic algorithm-based personalized models of human cardiac action potential 93%
Similar papers in this journal
Similar papers in this journal
- Explaining Deep Neural Networks for Knowledge Discovery in Electrocardiogram Analysis 94%
- Detection and categorization of severe cardiac disorders based solely on pulse interval measurements 92%
- Fusion of Fully Integrated Analog Machine Learning Classifier with Electronic Medical Records for Real-time Prediction of Sepsis Onset 92%
Similar papers in this journal
- High-Throughput Digitization of Analog Human Echocardiography Data 93%
- Converting Spectral Evoked-to-Background Ratio intoTime-Domain Signal-to-Noise Ratio - Validation for HighFrequency Oscillations 89%
- FInCH: FIJI plugin for automated and scalable whole-image analysis of protein expression and cell morphology 88%
"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.