Shortest Paths with Curvature and Torsion

Petter Strandmark, Johannes Ulén, Fredrik Kahl, Leo GradyICCV 2013

Abstract

This paper describes a method of finding thin, elongated structures in images and volumes. We use shortest paths to minimize very general functionals of higher-order curve properties, such as curvature and torsion. Our globally optimal method uses line graphs and its runtime is polynomial in the size of the discretization, often in the order of seconds on a single computer. To our knowledge, we are the first to perform experiments in three dimensions with curvature and torsion regularization. The largest graphs we process have almost one hundred billion arcs. Experiments on medical images and in multi-view reconstruction show the significance and practical usefulness of regularization based on curvature while torsion is still only tractable for small-scale problems.

Introduction: Beyond Weighted Length

In computer vision, identifying thin structures such as blood vessels, neurons, or roads is a fundamental task. Traditionally, these are extracted by finding the "shortest path" between two points on a graph. However, standard algorithms typically minimize only weighted length. This length-only regularization is prone to producing "jagged" paths or taking unrealistic shortcuts through noisy data because it lacks a mechanism to penalize sharp turns.

Curvature regularization prevents unrealistic shortcuts in complex structures like river deltas.

To achieve smoother, more biologically and physically plausible results, it is necessary to incorporate higher-order geometric priors: curvature (the degree to which a curve turns) and torsion (the degree to which a curve twists out of a flat plane). Historically, adding these properties made the problem computationally explosive. This work introduces a method that makes these high-order priors practical for large-scale 2D and 3D datasets.

Methodology: Lifting to Line Graphs

The core innovation lies in lifting the path-finding problem into higher-dimensional line graphs. By redefining what a "node" represents, the authors can calculate geometric properties that require more than two points:

  1. Length: Requires two points (an edge).
  2. Curvature: Requires three points. The authors construct a graph where each node represents an edge from the original grid.
  3. Torsion: Requires four points. The logic is extended so that nodes represent pairs of edges.
The graph hierarchy used to calculate higher-order properties: (a) points for length, (b) edges for curvature, and (c) edge pairs for torsion.

To ensure mathematical accuracy, quadratic and cubic B-splines are used to analytically calculate the curvature and torsion costs between these points.

Scaling to Billions of Arcs

Accounting for torsion in 3D creates a state space so vast it can involve nearly 100 billion arcs—far exceeding the RAM of standard workstations. To solve this, the authors utilize an "oracle" approach, where graph neighbors and weights are calculated on the fly during the search rather than stored. This is combined with an A* search strategy that uses a fast, length-only solution as a heuristic to guide the more complex curvature-aware search.

Key Insights and Results

The researchers evaluated their method across synthetic benchmarks and high-stakes medical datasets, including the DRIVE retinal dataset and 3D CT angiography scans of coronary arteries.

  • Global Optimality: Unlike local optimization methods (like "snakes"), this approach guarantees the absolute best path within the discrete grid according to the defined energy function.
  • Medical Accuracy: In 3D coronary artery segmentation, curvature regularization achieved a 94% median overlap with ground truth, significantly outperforming the 91% achieved by length-only methods.
  • Computational Efficiency: 2D curvature paths are computed in under a second, while 3D paths take approximately 36 seconds on average. This represents a massive leap over previous methods that required hours of computation.
  • Torsion as a Prior: This work is the first to demonstrate torsion as a viable prior for 3D curve reconstruction. While torsion is computationally heavier than curvature, it serves as a powerful tool for filtering noise in structures that naturally lie in a plane, such as certain arterial segments.

Conclusion and Future Work

While curvature regularization is now computationally practical for real-world applications, torsion remains a challenge for very large volumes due to the rapid growth of the state space. Future research may focus on incorporating directional priors, such as "vesselness" measures derived from Hessian eigenvalues, to further refine path accuracy in highly complex or noisy environments.

Summary updated

BibTeX
@inproceedings{strandmark2013shortest,
  author = {Petter Strandmark and Johannes Ulén and Fredrik Kahl and Leo Grady},
  title = {{Shortest Paths with Curvature and Torsion}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2013},
  url = {https://openreview.net/forum?id=HkWhiWGOZr},
}
Figure