Dynamic Snake Convolution based on Topological Geometric Constraints for Tubular Structure Segmentation

Yaolei Qi, Yuting He, Xiaoming Qi, Yuan Zhang, Guanyu YangICCV 2023

Abstract

Accurate segmentation of topological tubular structures, such as blood vessels and roads, is crucial in various fields, ensuring accuracy and efficiency in downstream tasks. However, many factors complicate the task, including thin local structures and variable global morphologies. In this work, we note the specificity of tubular structures and use this knowledge to guide our DSCNet to simultaneously enhance perception in three stages: feature extraction, feature fusion, and loss constraint. First, we propose a dynamic snake convolution to accurately capture the features of tubular structures by adaptively focusing on slender and tortuous local structures. Subsequently, we propose a multi-view feature fusion strategy to complement the attention to features from multiple perspectives during feature fusion, ensuring the retention of important information from different global morphologies. Finally, a continuity constraint loss function, based on persistent homology, is proposed to constrain the topological continuity of the segmentation better. Experiments on 2D and 3D datasets show that our DSCNet provides better accuracy and continuity on the tubular structure segmentation task compared with several methods.

Introduction

Segmenting thin, winding structures like blood vessels and roads is a fundamental yet challenging task in medical imaging and remote sensing. Standard deep learning models often struggle with these structures, frequently resulting in fragmented or "broken" segmentations. This difficulty stems from two primary factors:

  1. Thin and Fragile Local Structures: Tubular features often occupy only a small fraction of the image. Background noise can easily disrupt the model's focus, leading to discontinuities.
  2. Complex Global Morphology: These structures exhibit highly variable and unpredictable twisting, turning, and branching patterns.
Challenges in tubular structure segmentation: thin local structures and complex global morphologies.

Standard convolutional kernels are square and rigid, making them ill-suited for capturing long, slender features. While deformable convolutions offer some flexibility, their unconstrained nature often causes them to wander into the background when dealing with thin targets.

Methods

To address these challenges, we introduce DSCNet, a framework designed to enhance perception across feature extraction, fusion, and loss calculation.

Dynamic Snake Convolution (DSConv)

The core innovation is the Dynamic Snake Convolution. Unlike standard or dilated kernels, DSConv learns to deform into a "snake-like" shape that adaptively follows the tubular structure. By employing an iterative strategy where the position of each kernel point depends on the preceding point, the model ensures the kernel remains continuous and focused on the slender target rather than scattering into the background.

Comparison of convolution types: Standard, Dilated, Deformable, and the proposed Dynamic Snake Convolution.

Multi-view Feature Fusion

To handle diverse branching patterns, DSCNet observes structures from multiple morphological perspectives using various kernel templates. A "random dropping" strategy is used during training to improve generalization and prevent over-reliance on any single view.

Topological Continuity Constraint Loss (TCLoss)

To ensure structural integrity, we incorporate a loss function based on Persistent Homology (PH). TCLoss measures the topological difference (using Hausdorff distance) between the prediction and ground truth. This prioritizes the correction of topological "breaks," even if they involve only a few pixels, ensuring the segmented tubes remain anatomically or geographically connected.

Experiments and Results

DSCNet was evaluated on 2D datasets (DRIVE for retinal vessels, Massachusetts Roads) and a 3D dataset (Cardiac CCTA for coronary arteries).

  • Accuracy: On the DRIVE dataset, DSCNet achieved a Dice score of 82.06%, surpassing the baseline U-Net (80.73%).
  • Continuity: The model significantly reduced "Betti errors," indicating superior topological consistency and fewer fragmented vessels.
  • 3D Performance: In coronary artery segmentation, the model improved the "Overlap until First Error" (OF) metric by up to 6.00%, a vital improvement for clinical simulations like blood flow analysis.

Conclusion

By introducing geometric constraints into the convolution process and topological constraints into the loss function, DSCNet provides a robust solution for tubular structure segmentation. The "snake" approach effectively captures slender features, while the topological loss ensures global continuity. Future work will explore the applicability of this method to other thin structures, such as cracks or membranes, and further optimize computational efficiency.

Summary updated

BibTeX
@inproceedings{qi2023dynamic,
  author = {Yaolei Qi and Yuting He and Xiaoming Qi and Yuan Zhang and Guanyu Yang},
  title = {{Dynamic Snake Convolution based on Topological Geometric Constraints for Tubular Structure Segmentation}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
  url = {https://openreview.net/forum?id=2uRpHpZodv},
}
Figure