Optimal solution of binary problems Much material taken from :  Olga Veksler, University of Western Ontario

Slides:



Advertisements
Similar presentations
Curse of Dimensionality Prof. Navneet Goyal Dept. Of Computer Science & Information Systems BITS - Pilani.
Advertisements

Graph Cut Algorithms for Computer Vision & Medical Imaging Ramin Zabih Computer Science & Radiology Cornell University Joint work with Y. Boykov, V. Kolmogorov,
Data Mining Classification: Alternative Techniques
Learning with Inference for Discrete Graphical Models Nikos Komodakis Pawan Kumar Nikos Paragios Ramin Zabih (presenter)
NASSP Masters 5003F - Computational Astronomy Lecture 5: source detection. Test the null hypothesis (NH). –The NH says: let’s suppose there is no.
The University of Ontario CS 4487/9687 Algorithms for Image Analysis Multi-Label Image Analysis Problems.
Proportion Priors for Image Sequence Segmentation Claudia Nieuwenhuis, etc. ICCV 2013 Oral.
Introduction to Morphological Operators
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.
September 10, 2013Computer Vision Lecture 3: Binary Image Processing 1Thresholding Here, the right image is created from the left image by thresholding,
Learning with Inference for Discrete Graphical Models Nikos Komodakis Pawan Kumar Nikos Paragios Ramin Zabih (presenter)
Segmentation and Region Detection Defining regions in an image.
Prof. Ramin Zabih (CS) Prof. Ashish Raj (Radiology) CS5540: Computational Techniques for Analyzing Clinical Data.
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.
Image Analysis Preprocessing Image Quantization Binary Image Analysis
Abstract We present a model of curvilinear grouping using piecewise linear representations of contours and a conditional random field to capture continuity.
Stereo & Iterative Graph-Cuts Alex Rav-Acha Vision Course Hebrew University.
Lecture 11: Structure from motion CS6670: Computer Vision Noah Snavely.
Image segmentation based on edge and corner detectors Joachim Stahl 04/21/2005.
Original image: 512 pixels by 512 pixels. Probe is the size of 1 pixel. Picture is sampled at every pixel ( samples taken)
Lecture 10: Stereo and Graph Cuts
Stereo Computation using Iterative Graph-Cuts
Computer Vision Lecture 3: Digital Images
CS292 Computational Vision and Language Segmentation and Region Detection.
Image Subtraction for Real Time Moving Object Extraction Shahbe Mat Desa, Qussay A. Salih, CGIV’04.
Lecture 12: Structure from motion CS6670: Computer Vision Noah Snavely.
Digital Images Chapter 8 Exploring the Digital Domain.
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
CS654: Digital Image Analysis Lecture 3: Data Structure for Image Analysis.
Final Year Project COMP390/393/394/395 Irina Biktasheva – coordinator
Planar Cycle Covering Graphs for inference in MRFS The Typhon Algorithm A New Variational Approach to Ground State Computation in Binary Planar Markov.
Interactive Graph Cuts for Optimal Boundary & Region Segmentation of Objects in N-D Images (Fri) Young Ki Baik, Computer Vision Lab.
Lecture 4: Feature matching CS4670 / 5670: Computer Vision Noah Snavely.
September 23, 2014Computer Vision Lecture 5: Binary Image Processing 1 Binary Images Binary images are grayscale images with only two possible levels of.
September 5, 2013Computer Vision Lecture 2: Digital Images 1 Computer Vision A simple two-stage model of computer vision: Image processing Scene analysis.
Digital Image Processing Lecture 18: Segmentation: Thresholding & Region-Based Prof. Charlene Tsai.
Graph Cuts Marc Niethammer. Segmentation by Graph-Cuts A way to compute solutions to the optimization problems we looked at before. Example: Binary Segmentation.
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.
Clustering Prof. Ramin Zabih
Digital Image Processing CSC331 Morphological image processing 1.
Motion Estimation Today’s Readings Trucco & Verri, 8.3 – 8.4 (skip 8.3.3, read only top half of p. 199) Newton's method Wikpedia page
Classification Course web page: vision.cis.udel.edu/~cv May 14, 2003  Lecture 34.
CS654: Digital Image Analysis
Lecture 8 Source detection NASSP Masters 5003S - Computational Astronomy
CSSE463: Image Recognition Day 29 This week This week Today: Surveillance and finding motion vectors Today: Surveillance and finding motion vectors Tomorrow:
A global approach Finding correspondence between a pair of epipolar lines for all pixels simultaneously Local method: no guarantee we will have one to.
Quiz Week 8 Topical. Topical Quiz (Section 2) What is the difference between Computer Vision and Computer Graphics What is the difference between Computer.
Motion Estimation Today’s Readings Trucco & Verri, 8.3 – 8.4 (skip 8.3.3, read only top half of p. 199) Newton's method Wikpedia page
Graphics Lecture 14: Slide 1 Interactive Computer Graphics Lecture 14: Radiosity - Computational Issues.
1 Algorithms CSCI 235, Fall 2015 Lecture 29 Greedy Algorithms.
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:
April 21, 2016Introduction to Artificial Intelligence Lecture 22: Computer Vision II 1 Canny Edge Detector The Canny edge detector is a good approximation.
Final Year Project COMP390/393/394/395
Final Year Project COMP390/393/394/395
Computer Vision Lecture 12: Image Segmentation II
Computer Vision Lecture 5: Binary Image Processing
Computer Vision Lecture 3: Digital Images
Computer Vision Lecture 9: Edge Detection II
Final Year Project COMP390/393/394/395
Lecture 31: Graph-Based Image Segmentation
Point Operations – Chapter 5
Richard Anderson Winter 2019 Lecture 8 – Greedy Algorithms II
Project on Implementation of Wave Front Planner Algorithm
Digital image Levels of gray levels, quality: 1 byte = 8 bit 0 = Black
Richard Anderson Autumn 2019 Lecture 8 – Greedy Algorithms II
Presentation transcript:

Optimal solution of binary problems Much material taken from :  Olga Veksler, University of Western Ontario

2 Announcements  Project proposal due March 31 – to RDZ –One or two paragraphs  Project will be due the last week of classes, or perhaps a bit later  Ashish will lecture on Friday

3 Motivating example  Suppose we want to find a bright object against a dark background –But some of the pixel values are slightly wrong

4 Optimization viewpoint  Find best (least expensive) binary image –Costs: C1 (labeling) and C2 (boundary)  C1: Labeling a dark pixel as foreground –Or, a bright pixel as background  If we only had labeling costs, the cheapest solution is the thresholded output  C2: The length of the boundary between foreground and background –Penalizes isolated pixels or ragged boundaries

5 MAP-MRF energy function LikelihoodPrior  Generalization of C2 is –Think of V as the cost for two adjacent pixels to have these particular labels –For binary images, the natural cost is uniform  Bayesian energy function:

6 Generalizations  Many vision problems have this form  The optimization techniques are specific to these energy function, but not to images –See: [Kleinberg & Tardos JACM 02]  Historically solved by gradient descent or related methods (e.g. annealing) –Optimization method and energy function are not independent choices! –Use the most specific method you can And, be prepared to tweak your problem

7 Binary labeling problems  Consider the case of two labels only –Surprisingly important Lots of nice applications Same basic ideas used for more labels  There is a fast exact solution! –Turn a problem you don’t know how to solve into a problem you do (reduction) Due to Hammer (1965) originally Job scheduling problems: Stone (1977) Images: Greig, Porteus & Seheult (1989)