Deep Distance Transform for Tubular Structure Segmentation in CT Scans

Yan Wang, Xu Wei, Fengze Liu, Jieneng Chen, Yuyin Zhou, Wei Shen, Elliot K. Fishman, Alan L. Yuille

Abstract

Tubular structure segmentation in medical images, e.g., segmenting vessels in CT scans, serves as a vital step in the use of computers to aid in screening early stages of related diseases. But automatic tubular structure segmentation in CT scans is a challenging problem, due to issues such as poor contrast, noise and complicated background. A tubular structure usually has a cylinder-like shape which can be well represented by its skeleton and cross-sectional radii (scales). Inspired by this, we propose a geometry-aware tubular structure segmentation method, Deep Distance Transform (DDT), which combines intuitions from the classical distance transform for skeletonization and modern deep segmentation networks. DDT first learns a multi-task network to predict a segmentation mask for a tubular structure and a distance map. Each value in the map represents the distance from each tubular structure voxel to the tubular structure surface. Then the segmentation mask is refined by leveraging the shape prior reconstructed from the distance map. We apply our DDT on six medical image datasets. Results show that (1) DDT can boost tubular structure segmentation performance significantly (e.g., over 13% DSC improvement for pancreatic duct segmentation), and (2) DDT additionally provides a geometrical measurement for a tubular structure, which is important for clinical diagnosis (e.g., the cross-sectional scale of a pancreatic duct can be an indicator for pancreatic cancer).

Introduction

Segmenting tubular structures—such as the pancreatic duct or blood vessels—is a cornerstone of computer-aided diagnosis. However, CT scans are notoriously difficult to work with due to low contrast, high noise, and complex backgrounds where organs overlap.

Current approaches generally fall into two camps. Geometry-based methods use mathematical models of cylinders and skeletons to produce "legal" shapes but often fail when image quality is poor. Conversely, learning-based methods like Fully Convolutional Networks (FCNs) are robust to noise but frequently ignore underlying geometry, leading to physically impossible predictions like fragmented vessels. The Deep Distance Transform (DDT) bridges this gap by forcing a deep network to learn the intrinsic geometric properties of tubes, specifically their cross-sectional scales.

Methodology

The core innovation of DDT is a multi-task learning framework that combines standard segmentation with the classical concept of the distance transform.

Overview of the Deep Distance Transform (DDT) framework showing training and testing stages.

Multi-task Architecture

As shown in Figure 2, the network utilizes two distinct "heads":

  1. Segmentation Head: Performs standard per-voxel classification to identify tubular structures.
  2. Scale Head: Predicts a Distance Map. For every voxel inside a structure, the network predicts the distance to the nearest surface. To ensure stability against noisy medical annotations, these distances are quantized into K scale classes, transforming the geometric task into a robust classification problem.

Geometry-aware Refinement (GAR)

During inference, the model uses the predicted distance map to refine the segmentation. It generates a pseudo-skeleton by thinning the initial probability map and performs Shape Reconstruction. For every point on the skeleton, it places a "soft" sphere with a radius equal to the predicted distance at that point. The final segmentation is a fusion of the raw network output and this geometrically reconstructed shape.

Experimental Results

The authors evaluated DDT on six datasets, including the PDAC Segmentation Dataset (239 patients), internal radiologist-curated datasets for the Aorta, Veins, and Pancreatic Duct, and the public Medical Segmentation Decathlon (MSD) Hepatic Vessels task.

  • State-of-the-Art Performance: On the MSD Hepatic Vessels challenge, DDT ranked 1st at the time of publication with a 63.43% Dice Score (DSC).
  • Gains in Thin Structures: For the pancreatic duct, DDT improved the DSC by over 13% compared to a standard 3D U-Net.
  • Robustness: Qualitative results indicate that DDT produces smoother, more continuous tubular structures compared to baseline methods, which often produce fragmented results.

Clinical Utility and Insights

A key advantage of DDT is that its predicted scale serves as a direct clinical measurement. For example, a dilated pancreatic duct is a major "red flag" for tumors.

3D visualization of a dilated pancreatic duct and its proximity to a tumor.

As illustrated in Figure 6, the ability to accurately segment and measure these structures has profound diagnostic implications. In clinical workflow tests, the method identified 50% of tumors previously missed by state-of-the-art tumor detectors simply by flagging abnormal duct dilation. Unlike previous methods requiring explicit ground-truth skeletons, DDT learns this geometry implicitly through the distance map.

Conclusion

The Deep Distance Transform successfully integrates geometric priors into deep learning for medical imaging. While the refinement step adds some computational overhead, the significant boost in segmentation accuracy and the added clinical value of automated scale measurement make it a powerful tool for early disease screening. Future work may involve deeper integration of these geometric priors into loss functions or applying the method to virtual endoscopy.

Summary updated

BibTeX
@inproceedings{wang2020deep,
  author = {Yan Wang and Xu Wei and Fengze Liu and Jieneng Chen and Yuyin Zhou and Wei Shen and Elliot K. Fishman and Alan L. Yuille},
  title = {{Deep Distance Transform for Tubular Structure Segmentation in CT Scans}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  url = {https://openreview.net/forum?id=WJ3oKvLMMdbe},
}
Figure