2010/5/171 Overview of graph cuts. 2010/5/172 Outline Introduction S-t Graph cuts Extension to multi-label problems Compare simulated annealing and alpha-

Slides:



Advertisements
Similar presentations
Mean-Field Theory and Its Applications In Computer Vision1 1.
Advertisements

Primal-dual Algorithm for Convex Markov Random Fields Vladimir Kolmogorov University College London GDR (Optimisation Discrète, Graph Cuts et Analyse d'Images)
Algorithms for MAP estimation in Markov Random Fields Vladimir Kolmogorov University College London Tutorial at GDR (Optimisation Discrète, Graph Cuts.
HOPS: Efficient Region Labeling using Higher Order Proxy Neighborhoods Albert Y. C. Chen 1, Jason J. Corso 1, and Le Wang 2 1 Dept. of Computer Science.
Introduction to Markov Random Fields and Graph Cuts Simon Prince
I Images as graphs Fully-connected graph – node for every pixel – link between every pair of pixels, p,q – similarity w ij for each link j w ij c Source:
The University of Ontario CS 4487/9687 Algorithms for Image Analysis Multi-Label Image Analysis Problems.
ICCV 2007 tutorial on Discrete Optimization Methods in Computer Vision part I Basic overview of graph cuts.
GrabCut Interactive Image (and Stereo) Segmentation Carsten Rother Vladimir Kolmogorov Andrew Blake Antonio Criminisi Geoffrey Cross [based on Siggraph.
Graph-Based Image Segmentation
1 s-t Graph Cuts for Binary Energy Minimization  Now that we have an energy function, the big question is how do we minimize it? n Exhaustive search is.
Learning with Inference for Discrete Graphical Models Nikos Komodakis Pawan Kumar Nikos Paragios Ramin Zabih (presenter)
1 Minimum Ratio Contours For Meshes Andrew Clements Hao Zhang gruvi graphics + usability + visualization.
Optimal solution of binary problems Much material taken from :  Olga Veksler, University of Western Ontario
1 Can this be generalized?  NP-hard for Potts model [K/BVZ 01]  Two main approaches 1. Exact solution [Ishikawa 03] Large graph, convex V (arbitrary.
CSE 421 Algorithms Richard Anderson Lecture 22 Network Flow.
More on Stereo. Outline Fast window-based correlationFast window-based correlation DiffusionDiffusion Energy minimizationEnergy minimization Graph cutsGraph.
The University of Ontario University of Bonn July 2008 Optimization of surface functionals using graph cut algorithms Yuri Boykov presenting joint work.
Stereo & Iterative Graph-Cuts Alex Rav-Acha Vision Course Hebrew University.
MRF Labeling With Graph Cut CMPUT 615 Nilanjan Ray.
The plan for today Camera matrix
Recovering Articulated Object Models from 3D Range Data Dragomir Anguelov Daphne Koller Hoi-Cheung Pang Praveen Srinivasan Sebastian Thrun Computer Science.
Lecture 10: Stereo and Graph Cuts
Stereo Computation using Iterative Graph-Cuts
Comp 775: Graph Cuts and Continuous Maximal Flows Marc Niethammer, Stephen Pizer Department of Computer Science University of North Carolina, Chapel Hill.
Measuring Uncertainty in Graph Cut Solutions Pushmeet Kohli Philip H.S. Torr Department of Computing Oxford Brookes University.
Graph-Cut Algorithm with Application to Computer Vision Presented by Yongsub Lim Applied Algorithm Laboratory.
Computer vision: models, learning and inference
Graph-based Segmentation
Image Renaissance Using Discrete Optimization Cédric AllèneNikos Paragios ENPC – CERTIS ESIEE – A²SI ECP - MAS France.
Fast Approximate Energy Minimization via Graph Cuts
A Selective Overview of Graph Cut Energy Minimization Algorithms Ramin Zabih Computer Science Department Cornell University Joint work with Yuri Boykov,
Graph Cut & Energy Minimization
MRFs and Segmentation with Graph Cuts Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 02/24/10.
Graph Cut Algorithms for Binocular Stereo with Occlusions
Graph Cut 韋弘 2010/2/22. Outline Background Graph cut Ford–Fulkerson algorithm Application Extended reading.
CS774. Markov Random Field : Theory and Application Lecture 13 Kyomin Jung KAIST Oct
Graph Cuts Marc Niethammer. Segmentation by Graph-Cuts A way to compute solutions to the optimization problems we looked at before. Example: Binary Segmentation.
CS 4487/6587 Algorithms for Image Analysis
Algorithms for MAP estimation in Markov Random Fields Vladimir Kolmogorov University College London.
1 Markov Random Fields with Efficient Approximations Yuri Boykov, Olga Veksler, Ramin Zabih Computer Science Department CORNELL UNIVERSITY.
Lecture 19: Solving the Correspondence Problem with Graph Cuts CAP 5415 Fall 2006.
Presenter : Kuang-Jui Hsu Date : 2011/3/24(Thur.).
Tractable Higher Order Models in Computer Vision (Part II) Slides from Carsten Rother, Sebastian Nowozin, Pusohmeet Khli Microsoft Research Cambridge Presented.
The University of Ontario CS 4487/9687 Algorithms for Image Analysis Multi-Label Image Analysis Problems.
Gaussian Mixture Models and Expectation-Maximization Algorithm.
CS223 Advanced Data Structures and Algorithms 1 Maximum Flow Neil Tang 3/30/2010.
Machine Learning – Lecture 15
Motion Estimation using Markov Random Fields Hrvoje Bogunović Image Processing Group Faculty of Electrical Engineering and Computing University of Zagreb.
1 EE5900 Advanced Embedded System For Smart Infrastructure Static Scheduling.
A global approach Finding correspondence between a pair of epipolar lines for all pixels simultaneously Local method: no guarantee we will have one to.
Efficient Belief Propagation for Image Restoration Qi Zhao Mar.22,2006.
Graph Algorithms for Vision Amy Gale November 5, 2002.
Markov Random Fields in Vision
Energy functions f(p)  {0,1} : Ising model Can solve fast with graph cuts V( ,  ) = T[  ] : Potts model NP-hard Closely related to Multiway Cut Problem.
Energy minimization Another global approach to improve quality of correspondences Assumption: disparities vary (mostly) smoothly Minimize energy function:
Markov Random Fields Tomer Michaeli Graduate Course
Graph Cuts vs. Level Sets
Max-flow, Min-cut Network flow.
Markov Random Fields with Efficient Approximations
Graph Cut Weizhen Jing
Max-flow, Min-cut Network flow.
Efficient Graph Cut Optimization for Full CRFs with Quantized Edges
Haim Kaplan and Uri Zwick
Lecture 31: Graph-Based Image Segmentation
Discrete Optimization Methods Basic overview of graph cuts
Graphical Models and Learning
Algorithms (2IL15) – Lecture 7
Maximum Flow Neil Tang 4/8/2008
Maximum Flow Problems in 2005.
Presentation transcript:

2010/5/171 Overview of graph cuts

2010/5/172 Outline Introduction S-t Graph cuts Extension to multi-label problems Compare simulated annealing and alpha- expansion algorithm

2010/5/173 Introduction Discrete energy minimization methods that can be applied to Markov Random Fields (MRF) with binary labels or multi- labels.

2010/5/174 Outline Introduction S-t Graph cuts Extensions to multi-label problems Compare simulated annealing and alpha- expansion algorithm

2010/5/175 Max flow / Min cut Flow network Maximize amount of flows from source to sink Equal to minimum capacity removed from the network that no flow can pass from the source to the sink t s Max-flow/Min-cut method : Augmenting paths (Ford Fulkerson Algorithm)

2010/5/176 A subset of edges such that source and sink become separated G(C)=<V,E-C> the cost of a cut : Minimum cut : a cut whose cost is the least over all cuts S-t Graph Cut

2010/5/177 How to separate a graph to two class? Two pixels p1 and p2 corresponds to two class s and t. Pixels p in the Graph classify by subtracting p with two pixels p1,p2. d1=(p-p1), d2 = (p-p2) If d1 is closer zero than d2, p is class s. Absolute of d1 and d2

2010/5/178 Noise in the boundary of two class The classified graph may have the noise occurs nearing the pixel (p1+p2)/2 Adding another constrain (smoothing) to prevent this problem.

2010/5/179 energy function energy function t-links n-links Boundary term Regional term n-links t s a cut C t-link

2010/5/1710 S-t Graph cuts for optimal boundary detection n-links t s a cut C hard constraint hard constraint Minimum cost cut can be computed in polynomial time

2010/5/1711 Global minimized for binary energy function Global minimized for binary energy function Characterization of binary energies that can be globally minimized by s-t graph cuts E(f) can be minimized by s-t graph cuts t-links n-links Boundary term Regional term (regular function)

2010/5/1712 Regular F 2 functions: What Energy Functions Can Be Minimized via Graph Cuts?

2010/5/1713 Outline Introduction S-t Graph cuts Extensions to multi-label problems Compare simulated annealing and alpha- expansion algorithm

2010/5/1714 Multi way Graph cut algorithm NP-hard problem(3 or more labels) two labels can be solved via s-t cuts (Greig et. al 1989) two labels can be solved via s-t cuts (Greig et. al 1989) Two approximation algorithms (Boykov et.al 1998,2001) Basic idea : break multi-way cut computation into a sequence of binary s-t cuts. Basic idea : break multi-way cut computation into a sequence of binary s-t cuts. Alpha-expansion Alpha-expansion Each label competes with the other labels for space in the image Each label competes with the other labels for space in the image Alpha-beta swap Alpha-beta swap Define a move which allows to change pixels from alpha to beta and beta to alpha Define a move which allows to change pixels from alpha to beta and beta to alpha

2010/5/1715 other labels a Alpha-expansion move Break multi-way cut computation into a sequence of binary s-t cuts

2010/5/1716 Alpha-expansion algorithm (|L| iterations) Stop when no expansion move would decrease energy

2010/5/1717 Alpha-expansion algorithm Guaranteed approximation ratio by the algorithm: Produces a labeling f such that, where f* is the global minimum Produces a labeling f such that, where f* is the global minimum and and Prove in : efficient graph-based energy minimization methods in computer vision

2010/5/1718 alpha-expansion moves initial solution -expansion

2010/5/1719 Alpha-Beta swap algorithm Handles more general energy function

2010/5/1720 Moves αexpansionα-βswapInitial labeling

2010/5/1721 Metric Semi-metric – – If V also satisfies the triangle inequality

2010/5/1722 Alpha-expansion : Metric Alpha-expansion satisfy the regular function Alpha-beta swap Prove in: what energy functions can be minimized via graph cuts?

2010/5/1723 Different types of Interaction V V(dL) dL=Lp-Lq Potts model “discontinuity preserving” Interactions V V(dL) dL=Lp-Lq “Convex” Interactions V V(dL) dL=Lp-Lq V(dL) dL=Lp-Lq “linear” model

2010/5/1724 convex vs. discontinuity-preserving ” “linear” V truncated “linear” V

2010/5/1725 The use of Alpha-expansion and alpha-beta swap Three energy function, each with a quadratic D p. –E1 = D p + min(K,|f p -f q | 2 ) –E2 uses the Potts model –E3 = D p + min(K,|f p -f q |) E1 : semi-metric (use ) E2,E3 : metric (can use both)

2010/5/1726 Outline Introduction S-t Graph cuts Extensions to multi-label problems Compare simulated annealing and alpha- expansion algorithm

2010/5/1727 Single “one-pixel” move (Simulated annealing) Single alpha-expansion move Only one pixel change its label at a time Large number of pixels can change their labels simultaneously Computationally intensive O(2^n) (s-t cuts)

2010/5/1728 參考文獻 Graph Cuts in Vision and Graphics: Theories and Application Fast Approximate Energy Minimization via Graph Cuts, 2001 What energy functions can be minimized via graph cuts?