Abstract
This paper introduces "range moves," a novel graph-cut optimization technique for Markov Random Fields (MRFs) designed to handle piecewise smooth images. By allowing pixels to choose from a continuous range of labels rather than binary options, the algorithm effectively minimizes energies with truncated convex priors. Experimental results show that range moves significantly outperform standard $\alpha$-expansion and $\alpha$-$\beta$ swap moves in both energy minimization and visual accuracy, particularly by eliminating "staircasing" artifacts in smooth gradients.
Introduction: The Piecewise Smooth Challenge
In computer vision, tasks such as stereo correspondence, image restoration, and inpainting are typically framed as energy minimization problems over a Markov Random Field (MRF). The objective is to find a labeling (e.g., pixel intensities or disparities) that balances data fidelity with spatial smoothness.
Standard graph-cut algorithms, such as $\alpha$-expansion and $\alpha$-$\beta$ swap, have been highly successful for the Potts model, which assumes images are piecewise constant (composed of flat regions with sharp edges). However, real-world scenes are frequently piecewise smooth, containing gradients and curved surfaces. For these scenes, researchers use "truncated convex priors." The limitation of standard moves is their binary nature: a pixel can only choose between two labels at a time. This restriction often leads to "staircasing" artifacts—where smooth gradients are broken into flat blocks—or causes the optimization to get trapped in poor local minima.
Methodology: The $\alpha$-$\beta$ Range Move
To overcome the binary choice bottleneck, this work builds upon Ishikawa’s construction. While Ishikawa’s method can find the exact global minimum for convex priors, it fails when those priors are truncated to preserve edges. The proposed solution is the $\alpha$-$\beta$ Range Move.
The Range Concept
Instead of a simple swap between labels $\alpha$ and $\beta$, a range move allows pixels currently labeled within the range $[\alpha, \beta]$ to change their label to any value within that same range. The author proves that if the distance between $\alpha$ and $\beta$ is less than or equal to the truncation threshold $T$, the move can be solved optimally using a single graph cut.
Optimization and Efficiency
This is an iterative approach where the algorithm cycles through different ranges until energy converges. To further improve fluidity, the author introduces generalized range moves that extend the choice slightly beyond the current range (by a constant $t$). By restricting the range move to the truncation threshold $T$, the sub-problem remains convex and solvable via max-flow/min-cut, ensuring the algorithm remains practical for standard image sizes.
Experimental Results
The method was evaluated on standard benchmarks, including artificial restoration data and the Middlebury Stereo Database.
Quantitative Performance
In all tests, the range move algorithm achieved lower final energy than expansion and swap moves. For example, in image inpainting, it reached an energy of ~15.3M compared to expansion's ~16.1M. On the Middlebury stereo benchmark, the range move algorithm consistently reduced the percentage of "bad pixels." On the Venus dataset, it achieved a 3.25% error rate, significantly better than the 4.19% error rate of expansion moves.
Qualitative Improvements
Visually, the results are much smoother. The staircasing effect is significantly reduced, which is particularly evident in the curved surfaces of the Cones dataset.
Discussion and Limitations
While range moves offer superior accuracy, they are computationally more expensive. In restoration tests, the algorithm took approximately 80 seconds, roughly double the time of the expansion algorithm (40 seconds). Additionally, the current construction assumes 1D integer labels (like grayscale or disparity) and does not directly apply to 2D labels like optical flow without further modification. Finally, for truncated quadratic priors, memory usage can increase as the number of edges in the graph grows quadratically with the label range size. Despite these trade-offs, range moves provide a powerful tool for high-quality piecewise smooth image processing.
Summary updated