An efficient end-to-end computational framework for the generation of ECG calibrated volumetric models of human atrial electrophysiology

Elena Zappon, Luca Azzolin, Matthias A. F. Gsell, Franz Thaler, Anton J. Prassl, Robert Arnold, Karli Gillette, Mohammadreza Kariman, Martin Manninger-Wünscher, Daniel Scherr, Aurel Neic, Martin Urschler, Christoph M. Augustin, Edward J. Vigmond, Gernot PlankarXiv 2025

TL;DR

This paper introduces a highly automated, end-to-end computational framework to generate patient-specific, 3D volumetric models of human atria calibrated with ECG data. By replacing tedious manual segmentation and rigid anatomical meshing with deep learning and parametric conducting cables, the framework enables the rapid creation of high-fidelity digital twins and virtual cohorts for cardiac research.

What Problem Does This Paper Address?

Simulating the electrical activity of the heart (electrophysiology, or EP) through digital twins holds massive promise for personalizing clinical therapies and conducting in silico clinical trials. However, current state-of-the-art atrial models face a steep scalability barrier.

Most existing workflows rely on simplified 2D manifolds or "bilayer" approximations rather than true 3D volumes, which compromises their biophysical accuracy. Furthermore, building anatomically precise models typically requires hours of laborious, manual intervention by trained experts to segment medical images and fix mesh errors. Finally, calibrating these complex models to match a specific patient's clinical data—like an electrocardiogram (ECG)—is computationally crushing. This paper tackles these bottlenecks by automating the entire pipeline from raw medical scans to ECG-calibrated 3D simulations.

Methods

The authors developed a 9-step automated workflow divided into anatomical and functional twinning stages:

Figure 1: Schematic outline of the end-to-end framework for the generation of ECG-calibrated volumetric models of patient- specific human atria. After image acquisition, the workflow comprises nine steps: automatic multilabel segmentation, automatic label augmentation on the blood pools, extrusion of the volumetric bilayer walls, automatic selection of atrial orifices, automatic annotation of anatomical structures and fiber generation, generation of UAC, registration and generation of a torso volume conductor, generation of ICs, and cardiac electrophysiological simulation and P-wave generation. We moreover provide the paper section index where each step is detailed.
  1. Anatomical Twinning: The pipeline begins with automated multi-label segmentation of clinical CT or MRI scans using a convolutional neural network (SpatialConfiguration-Net). To define the boundaries of the atrial myocardium, the framework uses surface curvature to automatically identify landmarks like vein ostia and appendages.
  2. Volumetric Wall Extrusion: Instead of extruding walls from a 2D mesh (which frequently introduces topological errors), the walls are grown directly within the volumetric image stack based on rule-based image operations. This ensures a topologically sound, high-quality 3D tetrahedral mesh.
  3. Universal Atrial Coordinates (UAC): A coordinate system is computed directly on the volumetric mesh to facilitate spatial parameter mapping. A template torso model is then registered to the patient's atrial geometry using a 3D iterative closest point algorithm.
  4. Functional Twinning & Parametric Cables: Rather than explicitly meshing complex inter-atrial conduction (IC) pathways like Bachmann’s bundle, the authors model them as discrete, auto-generated 1D conducting cables. This allows them to easily move insertion points and alter conduction velocities on the fly without remeshing the anatomy.
  5. Forward Modeling: The framework supports both heavy Reaction-Diffusion (R-D) models and lightweight Reaction-Eikonal (R-E) models. Combined with a lead-field approach, the R-E model allows for near real-time computation of the ECG P-wave.
Detailed look at the label augmentation process using surface curvature and Laplace-Dirichlet solvers.

Datasets

The framework was evaluated using a clinical cohort of 50 patient datasets randomly selected from the Graz atrial fibrillation (AF) registry. The data consisted of iodanized contrast CT scans acquired at an isotropic resolution of 0.40 mm.

Key Insights and Ideas

  • Image-Domain Extrusion Over Mesh Extrusion: Building the 3D atrial walls inside the voxel image space rather than manipulating a post-segmentation surface mesh dramatically improves robustness, completely avoiding the topological "jaggedness" and mesh degeneration common in prior workflows.
  • Cables Over Bridges: Treating inter-atrial pathways as parametric 1D cables instead of explicitly meshed 3D bridges decouples anatomy from function. This allows optimization algorithms to sweep through different electrical connection points seamlessly during patient calibration.
  • Eikonal Efficiency for Optimization: The lightweight Reaction-Eikonal model achieves virtually identical P-wave morphologies compared to the gold-standard Reaction-Diffusion model but executes in seconds rather than minutes, making large-scale parameter sweeps viable.

Key Results

  • High Automation Rate: Out of the 50 patient cases, 38 were processed fully automatically. The remaining 22 cases required only minor manual adjustments (such as separating closely situated veins and appendages).
  • Rapid Generation Time: For a coarse mesh (~0.90 mm resolution) optimized for real-time calibration, the entire generation process took less than 10 minutes per patient.
  • Flawless Mesh Quality: All 50 generated meshes achieved an element quality metric safely below the critical 0.99 threshold required for stable bidomain simulations in solvers like openCARP.
  • High Forward Fidelity: The fast R-E model closely matched the R-D model, yielding an average Root Mean Square Error (RMSE) of just 3.71% across all 12 ECG leads, with a P-wave duration discrepancy of only ~2 ms.
  • Successful Clinical Calibration: In a proof-of-concept calibration against a patient's real ECG, sweeping the sino-atrial node (SAN) location and atrial conduction velocities yielded a highly accurate morphological fit with a minimum RMSE of 1.72%.

Limitations and Future Work

  • Uniform Wall Thickness: Due to the resolution limits of routine clinical imaging, the framework assumes uniform wall thicknesses across specific atrial regions, ignoring natural patient heterogeneity.
  • Fine-Mesh Computational Bottleneck: While coarse meshes generate in minutes, computing Universal Atrial Coordinates (UACs) on fine meshes (~0.25 mm) is slow, accounting for 84% of the fine-mesh processing time (~175 minutes). The authors suggest exploring Euclidean interpolation from coarse meshes to mitigate this.
  • Arrhythmia Limitations: The underlying Eikonal model used for fast calibration cannot simulate reentrant activation patterns, meaning it cannot currently simulate active atrial fibrillation waves directly.
  • Template Torsos: The torso models and electrode placements used to calculate the ECGs were mapped from a generic template rather than being patient-specific.

Summary updated

BibTeX
@misc{zappon2025efficient,
  author = {Elena Zappon and Luca Azzolin and Matthias A. F. Gsell and Franz Thaler and Anton J. Prassl and Robert Arnold and Karli Gillette and Mohammadreza Kariman and Martin Manninger-Wünscher and Daniel Scherr and Aurel Neic and Martin Urschler and Christoph M. Augustin and Edward J. Vigmond and Gernot Plank},
  title = {{An efficient end-to-end computational framework for the generation of ECG calibrated volumetric models of human atrial electrophysiology}},
  year = {2025},
  eprint = {2502.03322},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.03322},
}
Figure