DeformCL: Learning Deformable Centerline Representation for Vessel Extraction in 3D Medical Image

Ziwei Zhao, Zhixing Zhang, Yuhang Liu, Zhao Zhang, Haojun Yu, Dong Wang, Liwei Wang

Abstract

Traditional voxel-wise segmentation for 3D vessel extraction often suffers from topological inconsistencies and fractures due to low contrast and complex geometries. We present DeformCL, a novel framework that treats vessel extraction as a geometry-fitting task. By iteratively deforming a graph-based centerline template using Transformer-based feature aggregation, DeformCL ensures natural connectivity and robustness to noise. Evaluations across four diverse 3D datasets demonstrate significant improvements in both volumetric accuracy and topological integrity compared to state-of-the-art methods.

Introduction

Extracting blood vessels from 3D medical scans, such as Computed Tomography Angiography (CTA), is a cornerstone of cardiovascular diagnosis. Traditionally, this is framed as a semantic segmentation problem where a model classifies each individual voxel as "vessel" or "background." However, vessels are thin, tortuous structures that often exhibit low contrast relative to surrounding tissues.

This per-pixel approach frequently leads to three critical failures:

  1. Fractures: Thin vessel branches often appear disconnected because the model lacks a global view of connectivity.
  2. Noise Sensitivity: Local artifacts can be misclassified as vessels, leading to scattered false positives.
  3. Structural Incoherence: Standard models struggle to aggregate features along a curve when processing isolated pixels.

DeformCL addresses these issues by representing vessels as continuous, deformable centerlines, effectively "baking in" connectivity and structural priors.

Methodology

The DeformCL framework shifts the paradigm from discrete classification to iterative geometry refinement. The process consists of four main stages:

  1. Backbone & Coarse Segmentation: A standard 3D UNet generates initial feature maps and a preliminary segmentation mask.
  2. Adaptive Template Generation: Unlike previous models that use generic starting shapes, DeformCL creates a patient-specific "skeleton" template. It thins the coarse mask into points, constructs a graph using a Minimum Spanning Tree (MST), and selects control points to form an initial continuous curve.
  3. Cascaded Deformation: The model iteratively moves these centerline points to align with the true anatomy. It employs Transformers to allow points to communicate along the vessel, ensuring global consistency. An unpooling mechanism dynamically adds points as the vessel structure becomes more complex.
  4. Centerline-based Segmentation: Finally, a high-quality refined mask is produced by calculating a distance map from the predicted centerlines.
Overview of the DeformCL architecture, showing the transition from coarse segmentation to refined centerlines via cascaded deformation.

To ensure anatomical accuracy, the model is trained using a multi-faceted loss function:

  • Local Chamfer Distance: Minimizes the distance between predicted and ground-truth points.
  • Signed Distance Function (SDF) Loss: Constrains points to the exact center of the vessel lumen.
  • Regularization Loss: Prevents unnatural stretching or the creation of biologically impossible edges.

Results and Discussion

DeformCL was evaluated on four 3D vessel datasets: HaN-Seg (Head and Neck), ASOCA (Cardiac), ImageCAS (Coronary Artery), and HNCTA (Head and Neck Artery).

Quantitative Performance

The model consistently outperformed state-of-the-art baselines, including clDice and DSCNet. On the HaN-Seg dataset, DeformCL achieved a 3.28% improvement in Dice score over the base model. More importantly, it significantly reduced "Betti number errors," indicating superior topological integrity and fewer broken connections.

Qualitative Analysis

Visual inspections confirm that DeformCL effectively resolves the fracture issues prevalent in traditional methods. As shown in the comparison below, while baseline methods frequently leave gaps in thin vessel segments (indicated by orange arrows), DeformCL maintains continuous structures (indicated by green arrows).

Qualitative comparison of DeformCL against various baselines across four datasets. Green arrows highlight areas where DeformCL successfully maintains connectivity compared to fractures in other methods.

Key Insights

A notable finding of this work is that an overly accurate initial template can actually hinder performance; a "rough" initial skeleton provides a better training signal for the deformation process. Furthermore, the use of Transformers allows the model to "infer" the position of blurry segments based on the context of clearer adjacent segments.

Conclusion

DeformCL represents a significant step forward in 3D vessel extraction by prioritizing global topology over local voxel classification. While the multi-stage pipeline introduces additional implementation complexity and computational load, the resulting improvements in connectivity and clinical utility—such as superior Straightened Curved Planar Reformation (SCPR) images—make it a powerful tool for medical image analysis.

The code is available at: https://github.com/barry664/DeformCL

Summary updated

BibTeX
@inproceedings{zhao2025deformcl,
  author = {Ziwei Zhao and Zhixing Zhang and Yuhang Liu and Zhao Zhang and Haojun Yu and Dong Wang and Liwei Wang},
  title = {{DeformCL: Learning Deformable Centerline Representation for Vessel Extraction in 3D Medical Image}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.02877},
}
Figure