Graph Cuts

  • Marco Alexander Treiber
Part of the Advances in Computer Vision and Pattern Recognition book series (ACVPR)


Energy functions consisting of a pixel-wise sum of data-driven energies as well as a sum of terms affected by two adjacent pixels (aiming at ensuring consistency for neighboring pixels) are quite common in computer vision. This kind of energy can be represented well by Markov Random Fields (MRFs). If we have to take a binary decision, e.g., in binary segmentation, where each pixel has to be labeled as “object” or “background,” the MRF can be supplemented by two additional nodes, each representing one of the two labels. The globally optimal solution of the resulting graph can be found by finding its minimum cut (where the sum of the weights of all severed edges is minimized) in polynomial time by maximum flow algorithms. Graph cuts can be extended to the multi-label case, where it is either possible to find the exact solution when the labels are linearly ordered or the solution is approximated by iteratively solving binary decisions. An instance of the max-flow algorithm, binary segmentation, as well as stereo matching and optical flow calculation, which can both be interpreted as multi-labeling tasks, is presented in this chapter. Normalized cuts seeking a spectral, i.e., eigenvalue solution, complete the chapter.


Markov Random Field Adjacent Pixel Stereo Match Spare Capacity Binary Segmentation 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


  1. 1.
    Boykov J, Funka-Lea G (2006) Graph cuts and efficient N-D image segmentation. Int J Comput Vis 70(2):109–131CrossRefGoogle Scholar
  2. 2.
    Boykov J, Jolly MP (2001) Interactive graph cuts for optimal boundary and region segmentation of objects in N-D images. Int Conf Comput Vis 1:105–112Google Scholar
  3. 3.
    Boykov J, Kolmogorov V (2004) An experimental comparison of min-cut/max-flow algorithms for energy minimization in vision. IEEE Trans Pattern Anal Mach Intell 26(9):1124–1137CrossRefGoogle Scholar
  4. 4.
    Boykov J, Veksler O, Zabih R (2001) Fast approximate energy minimization via graph cuts. IEEE Trans Pattern Anal Mach Intell 23(11):1222–1239CrossRefGoogle Scholar
  5. 5.
    Carreira J, Sminchisescu C (2010) Constrained parametric min-cuts for automatic object segmentation. Proc IEEE Int Conf Comput Vis Pattern Recognit 23:3241–3248Google Scholar
  6. 6.
    Carreira J, Sminchisescu C (2012) CPMC: automatic object segmentation using constrained parametric min-cuts. IEEE Trans Pattern Anal Mach Intell 34(7):1312–1328CrossRefGoogle Scholar
  7. 7.
    Cook WJ, Cunningham WH, Pulleyblank WR, Schrijver A (1998) Combinatorial optimization. Wiley, New York. ISBN 978–0471558941MATHGoogle Scholar
  8. 8.
    Dinic EA (1970) Algorithm for solution of a problem of maximum flow in networks with power estimation. Soviet Math Doklad 11:1277–1280Google Scholar
  9. 9.
    Ford L, Fulkerson D (1962) Flows in networks. Princeton University Press, Princeton. ISBN 978–0691146676MATHGoogle Scholar
  10. 10.
    Geman S, Geman D (1984) Stochastic relaxation, Gibbs distributions, and the Bayesian restoration if images. IEEE Trans Pattern Anal Mach Intell 6(6):721–741MATHCrossRefGoogle Scholar
  11. 11.
    Goldberg A, Tarjan R (1988) A new approach to the maximum flow problem. J Assoc Comput Mach 35(4):921–940MathSciNetMATHCrossRefGoogle Scholar
  12. 12.
    Golub GH, Van Loan CF (1996) Matrix computations, 3rd edn. Johns Hopkins University Press, Baltimore. ISBN 0-8018-5414-8MATHGoogle Scholar
  13. 13.
    Grieg B, Porteous B, Scheult A (1989) Exact maximum a posteriori estimation for binary images. J R Stat Soc B 51(2):271–279Google Scholar
  14. 14.
    Kolmogorov V, Zabih R (2004) What energy functions can be minimized via graph cuts? IEEE Trans Pattern Anal Mach Intell 26(2):147–159CrossRefGoogle Scholar
  15. 15.
    Mishra AK, Aloimonos Y, Cheong L-F, Kassim AA (2012) Active visual segmentation. IEEE Trans Pattern Anal Mach Intell 34(4):639–653CrossRefGoogle Scholar
  16. 16.
    Rother C, Kolmogorov V, Blake A (2004) GrabCut – interactive foreground extraction using iterated graph cuts. ACM Trans Graphic 23(3):309–314CrossRefGoogle Scholar
  17. 17.
    Roy S (1999) Stereo without epipolar lines: a maximum-flow formulation. Int J Comput Vis 34(2/3):147–161CrossRefGoogle Scholar
  18. 18.
    Roy S, Cox IJ (1998) A maximum-flow formulation of the n-camera stereo correspondence problem. Int Conf Comput Vis 6:492–499Google Scholar
  19. 19.
    Shi J, Malik J (2000) Normalized cuts and image segmentation. IEEE Trans Pattern Anal Mach Intell 22(8):888–905CrossRefGoogle Scholar

Copyright information

© Springer-Verlag London 2013

Authors and Affiliations

  • Marco Alexander Treiber
    • 1
  1. 1.ASM Assembly Systems GmbH & Co. KGMunichGermany

Personalised recommendations