Abstract
This paper introduces a new thinning-based paradigm for computing "watershed cuts" in edge-weighted graphs. By iteratively lowering edge values based on local configurations, the authors provide a robust algorithm that achieves optimal results—equivalent to Minimum Spanning Forests—in linear time. Notably, this method operates without the need for sorting or hierarchical queues, offering a significant performance advantage over traditional flooding-based approaches.
Introduction
The watershed transform is a cornerstone of image segmentation, traditionally conceptualized as flooding a topographic surface where pixel intensities represent elevations. While most classical approaches utilize vertex-weighted graphs (where weights are assigned to pixels), this paper focuses on edge-weighted graphs. In this framework, weights represent the dissimilarity between adjacent pixels, which is often a more natural representation for image processing tasks such as boundary detection.
The authors address two primary challenges in this domain: ensuring mathematical consistency with intuitive properties like "catchment basins" and achieving computational efficiency. Many existing algorithms rely on sorting or complex priority queues, which can become bottlenecks. The proposed thinning-based approach seeks to overcome these limitations while maintaining global optimality.
The Thinning Paradigm
The core contribution of this work is a transformation called border thinning. This process involves classifying edges into three types based on local neighborhood values: locally separating, border, and inner.
A "border thinning" involves lowering the value of a border edge (setting its weight to the minimum of its endpoints' weights) until no more border edges exist. The resulting state is termed a border kernel. The authors derive the M-Border Algorithm, a sequential process that starts from regional minima and iteratively thins the edges. Unlike traditional flooding algorithms, this method processes each edge a constant number of times and does not require sorting edge weights, ensuring a strictly linear runtime ($O(|E|)$).
Key Insights and Optimality
A significant theoretical result of the paper is the proof that cuts produced by border thinning are equivalent to Minimum Spanning Forests (MSF) relative to the minima. This anchors the thinning process in well-established combinatorial optimization theory.
Even though the thinning rules are strictly local—examining only an edge and its immediate vertices—the iterative process is guaranteed to converge to a globally optimal watershed cut. Furthermore, because the algorithm avoids sorting, its performance remains independent of the range of edge values (e.g., 8-bit vs. floating-point gradients). The local nature of these configurations also suggests that the algorithm is well-suited for parallel implementation, as disjoint border edges can be lowered simultaneously.
Results and Conclusion
In practical evaluations, the M-Border algorithm was found to be approximately twice as fast as the classic watershed-by-flooding algorithm. Qualitatively, the edge-weighted approach produces superior delineations of image features compared to vertex-weighted methods by better capturing the dissimilarity between regions.
While the algorithm handles plateaus efficiently, the authors note that maintaining linear time for all plateau configurations may require specific queue structures. Future work will explore using these watershed cuts as building blocks for hierarchical segmentation (e.g., saliency maps) and extending the framework to weighted simplicial complexes to further study topological properties.
Summary updated