Shape of my heart: Cardiac models through learned signed distance functions

Jan Verhülsdonk, Thomas Grandits, Francisco Sahli Costabal, Thomas Pinetz, Rolf Krause, Angelo Auricchio, Gundolf Haase, Simone Pezzuto, Alexander EfflandarXiv 2023 · arXiv

TL;DR

Researchers have developed a new way to build patient-specific 3D heart models using "Deep Signed Distance Functions" (DeepSDF) enhanced with Lipschitz regularity. This approach can reconstruct full, multi-chamber cardiac geometries from incredibly sparse or noisy data—such as points collected by a catheter during surgery—outperforming traditional statistical models and standard deep learning surface reconstruction methods.

What Problem Does This Paper Address?

Creating accurate "digital twins" of a patient’s heart is essential for personalized medicine, but the current pipeline is fraught with bottlenecks. Traditional methods usually rely on high-resolution MRI or CT scans, which are then segmented and turned into meshes. This process is slow, sensitive to image quality, and doesn't transfer well between different types of medical imaging.

Furthermore, clinicians often work with sparse point clouds, such as those generated during electroanatomical mapping (EAM), where a catheter tip records points inside a heart chamber. Standard Statistical Shape Models (SSMs) are often too rigid to handle these diverse datasets, while general-purpose surface reconstruction algorithms struggle when data points are few and far between. The authors sought a method that is modality-agnostic, robust to noise, and capable of inferring missing anatomical structures from partial information.

Methods

The authors utilize a Deep Signed Distance Function (DeepSDF) architecture. Instead of defining a heart as a collection of triangles (a mesh), they represent it implicitly. A neural network is trained to predict the distance from any 3D coordinate to the nearest heart surface.

Key technical innovations include:

  • Multi-Chamber Encoding: The network simultaneously learns four surfaces (left and right ventricular endocardium and epicardium) using a shared latent code. This allows the model to learn the spatial relationships between chambers.
  • Lipschitz Regularization: To prevent the network from overfitting and to ensure that small changes in the "shape code" lead to smooth, realistic changes in geometry, the authors implemented Lipschitz-regularized layers. This is critical for maintaining anatomical plausibility when training on small datasets.
  • Iterative Noise Estimation: For real-world data where the noise level is unknown (like EAM), the authors developed an iterative scheme to estimate the variance of the noise, allowing the model to weight the data points appropriately during reconstruction.
Figure 1: Left: a schematic representation of the employed DeepSDF. Right: comparison of ground truth meshes (LV in red, RV in blue) with reconstruction on the training dataset. The reconstructed meshes are color-coded with the signed distance to the ground truth mesh in mm.

Datasets

The model was trained on a library of 44 high-quality cardiac models derived from MRI and CT data (20 healthy subjects and 24 patients with heart failure). These models were processed into watertight 3D shapes. For evaluation, the researchers used:

  • Synthetic benchmarks: Point clouds sampled from the test set with varying levels of added Gaussian noise.
  • In-vivo data: Real-world electroanatomical mapping (EAM) data collected from patients undergoing catheter ablation.

Key Insights and Ideas

  • Anatomical "Priors" are Powerful: Because the network learns the relationship between all four ventricular surfaces, it can perform "shape completion." If you provide points only for the inside of the left ventricle, the model can intelligently guess what the outside and the right ventricle look like.
  • Regularization is the Secret Sauce: Standard DeepSDF models often produce "noisy" or jagged surfaces when data is sparse. The Lipschitz regularization acts as a mathematical constraint that enforces smoothness, which is vital for biological tissues.
  • Cross-Modality Transfer: Even though the model was trained on clean MRI-based meshes, it successfully reconstructed hearts from noisy, sparse catheter data (EAM), proving it isn't locked into a single imaging domain.

Key Results

The proposed method was compared against state-of-the-art surface reconstruction tools like Points2Surf and Point2Mesh, as well as traditional Statistical Shape Models.

  • Superiority in Sparsity: When given only 50 points (extremely sparse), the regularized DeepSDF achieved a Chamfer Distance (a measure of reconstruction error) of 0.75 mm, significantly lower than Point2Mesh (1.74 mm).
  • Noise Robustness: In high-noise scenarios, the iterative noise estimation allowed the model to maintain accuracy where other methods failed to converge.
  • EAM Reconstruction: On real-world catheter data, the model produced smooth, anatomically plausible LV shapes and estimated a measurement noise of ~3.4 mm, which aligns perfectly with the physical size of the catheter tips used in the procedure.
Figure 2: Left: mean and standard deviation of the Chamfer distance (CD) for different numbers of input points n and different levels of noise ξ (lowest value in bold magenta, second lowest value in teal and italic; short version of Table 1 in the appendix). The asterisk denotes the non Lipschitz regularized version of our network. Right: reconstruction of both endocardia from points on the LV endocardium (gt mesh in grey, reconstruction color-coded with implicit distance).

Limitations and Future Work

While promising, the current work has a few boundaries:

  • Scope: The model currently only includes the two main ventricles. Future iterations will need to incorporate the atria and the aorta for a "whole-heart" model.
  • Static Geometry: The current model represents a single point in time. The authors plan to extend this to time-dependent models to capture the heart's motion throughout the cardiac cycle.
  • Pose Sensitivity: The algorithm currently expects the input points to be in a somewhat standard orientation (canonical pose). Automating the alignment (registration) of raw clinical data to this pose is a necessary next step for full automation.

For those interested in the underlying data, the authors have made their ventricular database publicly available at Zenodo.

Summary updated

Abstract

The efficient construction of anatomical models is one of the major challenges of patient-specific in-silico models of the human heart. Current methods frequently rely on linear statistical models, allowing no advanced topological changes, or requiring medical image segmentation followed by a meshing pipeline, which strongly depends on image resolution, quality, and modality. These approaches are therefore limited in their transferability to other imaging domains. In this work, the cardiac shape is reconstructed by means of three-dimensional deep signed distance functions with Lipschitz regularity. For this purpose, the shapes of cardiac MRI reconstructions are learned to model the spatial relation of multiple chambers. We demonstrate that this approach is also capable of reconstructing anatomical models from partial data, such as point clouds from a single ventricle, or modalities different from the trained MRI, such as the electroanatomical mapping (EAM).
BibTeX
@misc{verhulsdonk2023shape,
  author = {Jan Verhülsdonk and Thomas Grandits and Francisco Sahli Costabal and Thomas Pinetz and Rolf Krause and Angelo Auricchio and Gundolf Haase and Simone Pezzuto and Alexander Effland},
  title = {{Shape of my heart: Cardiac models through learned signed distance functions}},
  year = {2023},
  eprint = {2308.16568},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.16568},
}

Loading related content...

Figure