Markov Random Fields with Efficient Approximations

Slides:



Advertisements
Similar presentations
Primal-dual Algorithm for Convex Markov Random Fields Vladimir Kolmogorov University College London GDR (Optimisation Discrète, Graph Cuts et Analyse d'Images)
Advertisements

Algorithms for MAP estimation in Markov Random Fields Vladimir Kolmogorov University College London Tutorial at GDR (Optimisation Discrète, Graph Cuts.
Bayesian Belief Propagation
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.
Linear Time Methods for Propagating Beliefs Min Convolution, Distance Transforms and Box Sums Daniel Huttenlocher Computer Science Department December,
Markov Networks Alan Ritter.
Minimum Clique Partition Problem with Constrained Weight for Interval Graphs Jianping Li Department of Mathematics Yunnan University Jointed by M.X. Chen.
Introduction to Markov Random Fields and Graph Cuts Simon Prince
Learning with Inference for Discrete Graphical Models Nikos Komodakis Pawan Kumar Nikos Paragios Ramin Zabih (presenter)
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.
EE462 MLCV Lecture Introduction of Graphical Models Markov Random Fields Segmentation Tae-Kyun Kim 1.
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)
Markov Nets Dhruv Batra, Recitation 10/30/2008.
Markov Random Fields (MRF)
Smoothing 3D Meshes using Markov Random Fields
Chapter 8-3 Markov Random Fields 1. Topics 1. Introduction 1. Undirected Graphical Models 2. Terminology 2. Conditional Independence 3. Factorization.
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.
P 3 & Beyond Solving Energies with Higher Order Cliques Pushmeet Kohli Pawan Kumar Philip H. S. Torr Oxford Brookes University CVPR 2007.
Improved Moves for Truncated Convex Models M. Pawan Kumar Philip Torr.
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-
1 Computer Vision Research  Huttenlocher, Zabih –Recognition, stereopsis, restoration, learning  Strong algorithmic focus –Combinatorial optimization.
Stereo & Iterative Graph-Cuts Alex Rav-Acha Vision Course Hebrew University.
1 Markov random field: A brief introduction Tzu-Cheng Jen Institute of Electronics, NCTU
MRF Labeling With Graph Cut CMPUT 615 Nilanjan Ray.
Announcements Readings for today:
Lecture 10: Stereo and Graph Cuts
Stereo Computation using Iterative Graph-Cuts
Measuring Uncertainty in Graph Cut Solutions Pushmeet Kohli Philip H.S. Torr Department of Computing Oxford Brookes University.
Graph-based consensus clustering for class discovery from gene expression data Zhiwen Yum, Hau-San Wong and Hongqiang Wang Bioinformatics, 2007.
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,
What we didn’t have time for CS664 Lecture 26 Thursday 12/02/04 Some slides c/o Dan Huttenlocher, Stefano Soatto, Sebastian Thrun.
Graph Cut & Energy Minimization
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
Interactive Graph Cuts for Optimal Boundary & Region Segmentation of Objects in N-D Images (Fri) Young Ki Baik, Computer Vision Lab.
Markov Random Fields Probabilistic Models for Images
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.
CS774. Markov Random Field : Theory and Application Lecture 02
Lecture 19: Solving the Correspondence Problem with Graph Cuts CAP 5415 Fall 2006.
1 Markov random field: A brief introduction (2) Tzu-Cheng Jen Institute of Electronics, NCTU
Presenter : Kuang-Jui Hsu Date : 2011/3/24(Thur.).
Gaussian Mixture Models and Expectation-Maximization Algorithm.
Lecture 2: Statistical learning primer for biologists
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.
Photoconsistency constraint C2 q C1 p l = 2 l = 3 Depth labels If this 3D point is visible in both cameras, pixels p and q should have similar intensities.
Markov Random Fields in Vision
Energy minimization Another global approach to improve quality of correspondences Assumption: disparities vary (mostly) smoothly Minimize energy function:
10 October, 2007 University of Glasgow 1 EM Algorithm with Markov Chain Monte Carlo Method for Bayesian Image Analysis Kazuyuki Tanaka Graduate School.
Biointelligence Laboratory, Seoul National University
Sublinear Computational Time Modeling in Statistical Machine Learning Theory for Markov Random Fields Kazuyuki Tanaka GSIS, Tohoku University, Sendai,
Markov Networks.
Binarization of Low Quality Text Using a Markov Random Field Model
Multiway Cut for Stereo and Motion with Slanted Surfaces
Haim Kaplan and Uri Zwick
Lecture 31: Graph-Based Image Segmentation
Shashi Shekhar Weili Wu Sanjay Chawla Ranga Raju Vatsavai
Markov Random Fields Presented by: Vladan Radosavljevic.
Discrete Optimization Methods Basic overview of graph cuts
Markov Networks.
“Traditional” image segmentation
Presentation transcript:

Markov Random Fields with Efficient Approximations Yuri Boykov, Olga Veksler, Ramin Zabih Computer Science Department CORNELL UNIVERSITY

(Maximum Aposteriori Probability estimation of MRF) Introduction MAP-MRF approach (Maximum Aposteriori Probability estimation of MRF) Bayesian framework suitable for problems in Computer Vision (Geman and Geman, 1984) Problem: High computational cost. Standard methods (simulated annealing) are very slow.

Outline of the talk Models where MAP-MRF estimation is equivalent to min-cut problem on a graph generalized Potts model linear clique potential model Efficient methods for solving the corresponding graph problems Experimental results stereo, image restoration

MRF framework in the context of stereo image pixels (vertices) neighborhood relationships (n-links) - disparity at pixel p - configuration MRF defining property: Hammersley-Clifford Theorem:

MAP estimation of MRF configuration Observed data Bayes rule Likelihood function (sensor noise) Prior (MRF model)

Energy minimization Find that minimizes the Posterior Energy Function : Data term (sensor noise) Smoothness term (MRF prior)

Generalized Potts model Clique potential Penalty for discontinuity at (p,q) Energy function

Static clues - selecting Stereo Image: White Rectangle in front of the black background Disparity configurations minimizing energy E( f ):

Minimization of E(f) via graph cuts Terminals (possible disparity labels) Cost of n-link Cost of t-link p-vertices (pixels)

Multiway cut C is a multiway cut if terminals are separated in G(C) vertices V = pixels + terminals Remove a subset of edges C edges E = n-links + t-links Graph G = <V,E> Graph G(C) = <V, E-C > C is a multiway cut if terminals are separated in G(C) A multiway cut C yields some disparity configuration

Main Result (generalized Potts model) Under some technical conditions on the multiway min-cut C on G gives___ that minimizes E( f ) - the posterior energy function for the generalized Potts model. Multiway cut Problem: find minimum cost multiway cut C graph G

Solving multiway cut problem Case of two terminals: max-flow algorithm (Ford, Fulkerson 1964) polinomial time (almost linear in practice). NP-complete if the number of labels >2 (Dahlhaus et al., 1992) Efficient approximation algorithms that are optimal within a factor of 2

2. Consider connected pixels Our algorithm Initialize at arbitrary multiway cut C 1. Choose a pair of terminals 2. Consider connected pixels

2. Consider connected pixels Our algorithm Initialize at arbitrary multiway cut C 1. Choose a pair of terminals 2. Consider connected pixels 3. Reallocate pixels between two terminals by running max-flow algorithm

Our algorithm Initialize at arbitrary multiway cut C 1. Choose a pair of terminals 2. Consider connected pixels 3. Reallocate pixels between two terminals by running max-flow algorithm 4. New multiway cut C’ is obtained Iterate until no pair of terminals improves the cost of the cut

Experimental results (generalized Potts model) Extensive benchmarking on synthetic images and on real imagery with dense ground truth From University of Tsukuba Comparisons with other algorithms

Synthetic example Correlation Multiway cut Image

Real imagery with ground truth Our results

Comparison with ground truth

Gross errors (> 1 disparity)

Comparative results: normalized correlation Gross errors Data

Statistics

Related work (generalized Potts model) Greig et al., 1986 is a special case of our method (two labels) Two solutions with sensor noise (function g) highly restricted Ferrari et al., 1995, 1997

Linear clique potential model Penalty for discontinuity at (p,q) Energy function

Minimization of via graph cuts Cost of t-link {p,q} part of graph cut C Cost of n-link a cut C yields some configuration

Main Result (linear clique potential model) Under some technical conditions on the min-cut C on gives that minimizes - the posterior energy function for the linear clique potential model.

Related work (linear clique potential model) Ishikawa and Geiger, 1998 earlier independently obtained a very similar result on a directed graph Roy and Cox, 1998 undirected graph with the same structure no optimality properties since edge weights are not theoretically justified

Experimental results (linear clique potential model) Benchmarking on real imagery with dense ground truth From University of Tsukuba Image restoration of synthetic data

Ground truth stereo image Generalized Potts model Linear clique potential model

Image restoration Noisy diamond image Generalized Potts model Linear clique potential model