Abstract
This paper introduces a novel global optimization framework for region-based image segmentation and inpainting that incorporates curvature regularity. By formulating the problem as an Integer Linear Program (ILP) on a subdivided pixel grid, the authors address the "shrinking bias" inherent in traditional length-based regularization. The method provides provable bounds on global optimality and demonstrates superior performance in preserving thin structures and producing natural inpainting results.
Introduction
Image segmentation aims to partition an image into meaningful regions, typically requiring regularization to ensure noise-free results. While length regularization (minimizing the perimeter) is the industry standard, it suffers from a significant "shrinking bias," often suppressing long, thin structures like animal limbs or thin tools. Curvature regularization offers a superior alternative by penalizing sharp bends rather than total length, but it is mathematically complex and difficult to optimize globally.
Methodology
The authors propose a novel approach to solve the curvature problem globally by moving away from standard pixel grids and local evolution.
Discretization and ILP Formulation
The image is discretized using cell complexes, where each pixel is subdivided into smaller polygons to allow for more realistic boundary paths. The energy function—comprising data, length, and curvature terms—is defined as a set of linear equations. Curvature is modeled by evaluating pairs of adjacent boundary segments and calculating the angle between them.
Optimization
To handle the NP-hard nature of Integer Linear Programming, the authors employ LP relaxation, allowing variables to take fractional values between 0 and 1. Standard solvers like Simplex or Interior Point methods are used to find a solution, which is then thresholded to produce the final binary segmentation. This approach allows for the calculation of a "global optimality gap," providing a mathematical bound on how close the solution is to the true global optimum.
Experimental Results
The framework was evaluated on the Berkeley Segmentation Dataset and standard benchmark images such as "Lena."
Preservation of Thin Structures
A key advantage of curvature regularity is its ability to handle thin structures. Unlike length-based models, curvature-based models do not have an inherent bias toward making objects smaller. In segmentation tasks, this allows the algorithm to follow thin features that would otherwise be "cut" by length-based regularization.
Image Inpainting
For image inpainting, curvature regularity produces more natural "level lines" across damaged regions. Length-based methods often create jagged or "pinched" artifacts because they prioritize the shortest path to close a hole, whereas curvature penalization encourages smooth transitions.
Conclusion and Limitations
The proposed linear framework successfully incorporates curvature penalization into a global optimization scheme for image processing. However, the computational complexity remains a significant challenge; some experiments required up to half a day of processing time and 8GB of RAM. Additionally, very high curvature weights can lead to visible "stair-stepping" artifacts due to the straight-line nature of the discretized boundary segments. Future work will focus on specialized, faster solvers to make this framework practical for real-time applications.
Summary updated