graph cut
图割
Treating the image as a network in which pixels are nodes and similar neighbors are joined by strong links, then finding the cheapest cut that separates object from background. The optimum is global, and from 2001 the method powered interactive segmentation.
A graph cut minimizes an energy . The first term is the cost of labeling each pixel as object or background; the second penalizes separating similar neighbors. With two terminal nodes added to stand for object and background, the energy equals the total weight of a cut through the graph. By the max-flow/min-cut theorem, the binary problem can then be solved to its global optimum in polynomial time.
D. M. Greig and colleagues first used minimum cuts for binary image restoration in 1989. In 2001 Yuri Boykov and Marie-Pierre Jolly introduced interactive graph cuts: the user scribbles a few strokes on object and background as hard constraints, the algorithm returns the optimal boundary, and the paper demonstrated N-dimensional segmentation on CT and MRI. GrabCut (2004) reduced the interaction to drawing a box.
Its strengths are a global optimum and direct use in 3D. Its weakness is a bias toward short boundaries, which can snip off thin vessels. In the deep-learning era it often cleans up network outputs or sits inside annotation tools.
- Boykov YY, Jolly MP. Interactive graph cuts for optimal boundary & region segmentation of objects in N-D images. Proc IEEE ICCV 2001;1:105–112. doi.org/10.1109/ICCV.2001.937505
Key works · 3
Landmark2001ICCV 20014,343 citations
Interactive graph cuts for optimal boundary & region segmentation of objects in N-D images
The authors used foreground and background seeds as hard constraints and encoded both region and boundary evidence in a graph. A minimum cut found the exact optimum of this binary objective under the supplied seeds. Examples included interactive editing and segmentation of medical images.
SignificanceThe formulation made it possible to solve a seeded binary segmentation with region and boundary costs in one optimization. GrabCut explicitly built on this approach and used repeated cuts with learned appearance models to simplify user initialization.
DOI Full text Yuri Y. BoykovMarie‐Pierre Jolly graph cutimage segmentation
Key2001IEEE Transactions on Pattern Analysis and Machine Intelligence7,806 citations
Fast approximate energy minimization via graph cuts
The paper introduced alpha-expansion and alpha-beta swap moves for multilabel labeling energies with discontinuity-preserving smoothness terms. Each move uses a cut to update groups of pixels together. Expansion has a bound under specified cost assumptions, and the authors tested both algorithms on restoration, stereo, and motion tasks.
SignificanceThe algorithm turned binary cuts into computational steps for broader multilabel problems. Follow-up work on the graph representability of energies analyzed the conditions under which these moves can be used, clarifying which labeling costs can exploit the method.
Key2004ACM Transactions on Graphics6,038 citations
"GrabCut": interactive foreground extraction using iterated graph cuts
The method alternated estimation of foreground and background color models with graph-cut labeling, allowing initialization with a rectangle. It also estimated opacity and foreground color for mixed boundary pixels. Image-editing examples compared the interaction required and the resulting extraction with other tools.
SignificanceGrabCut translated seeded graph cuts into a workflow that can begin with a rectangle and accept later corrections. OpenCV exposes the method with rectangle or mask initialization, making the iterative workflow accessible as an interactive segmentation baseline.
DOI Full text Carsten RotherAndrew Blake graph cutimage segmentation