Topology-Preserving Image Segmentation with Spatial-Aware Persistent Feature Matching
Bo Wen, Haochen Zhang, Dirk-Uwe G. Bartsch, William R. Freeman, Truong Q. Nguyen, Cheolhong An
TL;DR
This work tackles the problem of topology-preserving segmentation for tubular structures by addressing the ill-posed matching problem in pure persistent-homology-based losses. It introduces SATLoss, a Spatial-Aware Topological Loss that couples persistent feature matching with spatial information from the original image, using creators’ locations to weight transport in the persistent diagram. SATLoss is shown to improve topological accuracy across diverse tubular-structure datasets (CREMI, DRIVE, Roads, CrackTree) while maintaining competitive Dice scores and reducing computational cost relative to Betti-matching approaches like BMLoss. The approach integrates smoothly with standard segmentation networks (e.g., U-Net) and relies on efficient PH computation via GUDHI, offering practical gains for large-scale tubular structure segmentation and potential for broader topology-aware learning tasks.
Abstract
Topological correctness is critical for segmentation of tubular structures, which pervade in biomedical images. Existing topological segmentation loss functions are primarily based on the persistent homology of the image. They match the persistent features from the segmentation with the persistent features from the ground truth and minimize the difference between them. However, these methods suffer from an ambiguous matching problem since the matching only relies on the information in the topological space. In this work, we propose an effective and efficient Spatial-Aware Topological Loss Function that further leverages the information in the original spatial domain of the image to assist the matching of persistent features. Extensive experiments on images of various types of tubular structures show that the proposed method has superior performance in improving the topological accuracy of the segmentation compared with state-of-the-art methods. Code is available at https://github.com/JRC-VPLab/SATLoss.
