Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

Size: px
Start display at page:

Download "Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14"

Transcription

1 Joint optimization of segmentation and appearance models Vicente, Kolmogorov, Rother Chris Russell November 26, 2009 Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

2 Grabcut Given an image and a bounding box Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

3 Grabcut Given an image and a bounding box Extract the object from the centre of the box. Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

4 Image segmentation Given a cropped image, split it into two consistent classes: Foreground class a single object in the centre of the image. Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

5 Image segmentation Given a cropped image, split it into two consistent classes: Foreground class a single object in the centre of the image. Background class everything else in the image. Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

6 Image segmentation Given a cropped image, split it into two consistent classes: Foreground class a single object in the centre of the image. Background class everything else in the image.. E(x, θ) = ln(p(x i θ)) + i V (i,j) E w i,j x i x j (1) x the assignment of pixels and θ is the set of model parameters. Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

7 Image segmentation Given a cropped image, split it into two consistent classes: Foreground class a single object in the centre of the image. Background class everything else in the image.. E(x, θ) = ln(p(x i θ)) + i V (i,j) E w i,j x i x j (1) x the assignment of pixels and θ is the set of model parameters. Submodular in x. Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

8 Image segmentation Given a cropped image, split it into two consistent classes: Foreground class a single object in the centre of the image. Background class everything else in the image.. E(x, θ) = ln(p(x i θ)) + i V (i,j) E w i,j x i x j (1) x the assignment of pixels and θ is the set of model parameters. Submodular in x. Easy if θ is known. Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

9 Coping with unknown θ Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

10 Coping with unknown θ Pretend θ is known. Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

11 Coping with unknown θ Pretend θ is known. We bootstrap θ. Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

12 Coping with unknown θ Pretend θ is known. We bootstrap θ. Assume that a central region is our foreground object and the rest is background. Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

13 Coping with unknown θ Pretend θ is known. We bootstrap θ. Assume that a central region is our foreground object and the rest is background. We learn a model for foreground and background. (Either gmm, or histogram based) Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

14 Coping with unknown θ Pretend θ is known. We bootstrap θ. Assume that a central region is our foreground object and the rest is background. We learn a model for foreground and background. (Either gmm, or histogram based) Then run graph-cut to find a new central region. Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

15 Coping with unknown θ Pretend θ is known. We bootstrap θ. Assume that a central region is our foreground object and the rest is background. We learn a model for foreground and background. (Either gmm, or histogram based) Then run graph-cut to find a new central region. Repeat till convergence. Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

16 An example Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

17 What s it doing? Every move proposed maximises P(x θ) (2) Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

18 What s it doing? Every move proposed maximises Can be seen as an em or hill climbing approach. P(x θ) (2) Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

19 What s it doing? Every move proposed maximises P(x θ) (2) Can be seen as an em or hill climbing approach. Guaranteed to converge. Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

20 Joint optimisation of segmentation and appearance models Is there a better way? Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

21 Joint optimisation of segmentation and appearance models Is there a better way? Let θ be a histogram based model. U(x, θ) = i V ln(p(x i θ)) = i V ln θ x i b i (3) Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

22 Joint optimisation of segmentation and appearance models Is there a better way? Let θ be a histogram based model. U(x, θ) = i V ln(p(x i θ)) = i V ln θ x i b i (3) where b B θ s b = 1 s {0, 1} (4) Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

23 Joint optimisation of segmentation and appearance models Is there a better way? Let θ be a histogram based model. U(x, θ) = i V ln(p(x i θ)) = i V ln θ x i b i (3) where b B θ s b = 1 s {0, 1} (4) We rephrase this. Let nk s be the number of pixels taking label s that lie in bin k. U(x, θ) = nk s ln θs k (5) s k Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

24 Joint optimisation of segmentation and appearance models The optimal value of θ s k is θ s k = ns k k ns k (6) Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

25 Joint optimisation of segmentation and appearance models The optimal value of θ s k is θ s k = ns k k ns k (6) Use this to eliminate θ E(x) = min E(x, θ) = θ k h k (n 1 k ) + h(n1 ) + P(x) (7) h k (n 1 k ) = g(n1 k ) g(n k n 1 k ) h(n 1 ) = g(n 1 ) + g(n n k ) g(z) = z ln z (8) Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

26 Nearly there... g(z) = z ln z is super-linear so... Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

27 Nearly there... g(z) = z ln z is super-linear so... h k (n 1 k ) = g(n1 k ) g(n k n 1 k ) is concave and symmetric about n k/2. Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

28 Nearly there... g(z) = z ln z is super-linear so... h k (n 1 k ) = g(n1 k ) g(n k n 1 k ) is concave and symmetric about n k/2. Similarly, h(n 1 ) = g(n 1 ) + g(n n 1 ) is convex and symmetric about n/2. Joint optimization of segmentation and appearance models November Vicente, 26, Kolmogorov, / Rothe 14

29 New energy E(x) = E 1 (x) + E 2 (x) (9) Joint optimization of segmentation and appearance models November Vicente, 26, 2009 Kolmogorov, 10 / Rothe 14

30 New energy E(x) = E 1 (x) + E 2 (x) (9) Submodular component E 1 (x) = k h k (nk 1 ) + P(x) (10) Joint optimization of segmentation and appearance models November Vicente, 26, 2009 Kolmogorov, 10 / Rothe 14

31 New energy E(x) = E 1 (x) + E 2 (x) (9) Submodular component E 1 (x) = k h k (nk 1 ) + P(x) (10) very high order, can be solved using general submodular solver(slow), or a lazy variant of the robust P n model (fast). Joint optimization of segmentation and appearance models November Vicente, 26, 2009 Kolmogorov, 10 / Rothe 14

32 New energy E(x) = E 1 (x) + E 2 (x) (9) Submodular component E 1 (x) = k h k (nk 1 ) + P(x) (10) very high order, can be solved using general submodular solver(slow), or a lazy variant of the robust P n model (fast). Super-modular component E 2 (x) = h(n 1 ) (11) Joint optimization of segmentation and appearance models November Vicente, 26, 2009 Kolmogorov, 10 / Rothe 14

33 New energy E(x) = E 1 (x) + E 2 (x) (9) Submodular component E 1 (x) = k h k (nk 1 ) + P(x) (10) very high order, can be solved using general submodular solver(slow), or a lazy variant of the robust P n model (fast). Super-modular component E 2 (x) = h(n 1 ) (11) Convex, piecewise linear with 2n pieces. Solved by brute force. Joint optimization of segmentation and appearance models November Vicente, 26, 2009 Kolmogorov, 10 / Rothe 14

34 Dual Decomposition We can solve E 1 and E 2 on their own, but not together. Joint optimization of segmentation and appearance models November Vicente, 26, 2009 Kolmogorov, 11 / Rothe 14

35 Dual Decomposition We can solve E 1 and E 2 on their own, but not together. So we perturb E 1 and E 2 to try to enforce agreement. Joint optimization of segmentation and appearance models November Vicente, 26, 2009 Kolmogorov, 11 / Rothe 14

36 Dual Decomposition We can solve E 1 and E 2 on their own, but not together. So we perturb E 1 and E 2 to try to enforce agreement. Create new energies E 1 (x) = E 1 (x) < y, x > (12) and E 2 (x) = E 2 (x)+ < y, x > (13) Joint optimization of segmentation and appearance models November Vicente, 26, 2009 Kolmogorov, 11 / Rothe 14

37 Dual Decomposition We can solve E 1 and E 2 on their own, but not together. So we perturb E 1 and E 2 to try to enforce agreement. Create new energies E 1 (x) = E 1 (x) < y, x > (12) and E 2 (x) = E 2 (x)+ < y, x > (13) Then E(x) = E 1 (x) + E 2 (x) Joint optimization of segmentation and appearance models November Vicente, 26, 2009 Kolmogorov, 11 / Rothe 14

38 Dual Decomposition We can solve E 1 and E 2 on their own, but not together. So we perturb E 1 and E 2 to try to enforce agreement. Create new energies E 1 (x) = E 1 (x) < y, x > (12) and E 2 (x) = E 2 (x)+ < y, x > (13) Then E(x) = E 1 (x) + E 2 (x) Try to pick y such that arg min E 1 (x) = arg min E 2 (x) (14) x x Joint optimization of segmentation and appearance models November Vicente, 26, 2009 Kolmogorov, 11 / Rothe 14

39 Dual Decomposition We can solve E 1 and E 2 on their own, but not together. So we perturb E 1 and E 2 to try to enforce agreement. Create new energies E 1 (x) = E 1 (x) < y, x > (12) and E 2 (x) = E 2 (x)+ < y, x > (13) Then E(x) = E 1 (x) + E 2 (x) Try to pick y such that arg min E 1 (x) = arg min E 2 (x) (14) x x Such a y can be found 61% of the time. Joint optimization of segmentation and appearance models November Vicente, 26, 2009 Kolmogorov, 11 / Rothe 14

40 Is it worth it? Sort of Joint optimization of segmentation and appearance models November Vicente, 26, 2009 Kolmogorov, 12 / Rothe 14

41 Is it worth it? Sort of Joint optimization of segmentation and appearance models November Vicente, 26, 2009 Kolmogorov, 12 / Rothe 14

42 Is it worth it? Sort of Joint optimization of segmentation and appearance models November Vicente, 26, 2009 Kolmogorov, 12 / Rothe 14

43 Encouraging heterogeneity E 2 (x) = λh(n 1 ) (15) Joint optimization of segmentation and appearance models November Vicente, 26, 2009 Kolmogorov, 13 / Rothe 14

44 Optimal Results Joint optimization of segmentation and appearance models November Vicente, 26, 2009 Kolmogorov, 14 / Rothe 14

Joint optimization of segmentation and appearance models

Joint optimization of segmentation and appearance models Joint optimization of segmentation and appearance models Sara Vicente Vladimir Kolmogorov University College London, UK {S.Vicente,V.Kolmogorov}@cs.ucl.ac.u Carsten Rother Microsoft Research, Cambridge,

More information

Higher-order models in Computer Vision

Higher-order models in Computer Vision Chapter 1 Higher-order models in Computer Vision PUSHMEET KOHLI Machine Learning and Perception Microsoft Research Cambridge, UK Email: pkohli@microsoft.com CARSTEN ROTHER Machine Learning and Perception

More information

Markov/Conditional Random Fields, Graph Cut, and applications in Computer Vision

Markov/Conditional Random Fields, Graph Cut, and applications in Computer Vision Markov/Conditional Random Fields, Graph Cut, and applications in Computer Vision Fuxin Li Slides and materials from Le Song, Tucker Hermans, Pawan Kumar, Carsten Rother, Peter Orchard, and others Recap:

More information

Discriminative Clustering for Image Co-Segmentation

Discriminative Clustering for Image Co-Segmentation Discriminative Clustering for Image Co-Segmentation Joulin, A.; Bach, F.; Ponce, J. (CVPR. 2010) Iretiayo Akinola Josh Tennefoss Outline Why Co-segmentation? Previous Work Problem Formulation Experimental

More information

Energy Minimization for Segmentation in Computer Vision

Energy Minimization for Segmentation in Computer Vision S * = arg S min E(S) Energy Minimization for Segmentation in Computer Vision Meng Tang, Dmitrii Marin, Ismail Ben Ayed, Yuri Boykov Outline Clustering/segmentation methods K-means, GrabCut, Normalized

More information

Cosegmentation Revisited: Models and Optimization

Cosegmentation Revisited: Models and Optimization Cosegmentation Revisited: Models and Optimization Sara Vicente 1, Vladimir Kolmogorov 1, and Carsten Rother 2 1 University College London 2 Microsoft Research Cambridge Abstract. The problem of cosegmentation

More information

CS448f: Image Processing For Photography and Vision. Graph Cuts

CS448f: Image Processing For Photography and Vision. Graph Cuts CS448f: Image Processing For Photography and Vision Graph Cuts Seam Carving Video Make images smaller by removing seams Seam = connected path of pixels from top to bottom or left edge to right edge Don

More information

MRFs and Segmentation with Graph Cuts

MRFs and Segmentation with Graph Cuts 02/24/10 MRFs and Segmentation with Graph Cuts Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem Today s class Finish up EM MRFs w ij i Segmentation with Graph Cuts j EM Algorithm: Recap

More information

Lecture 8: The EM algorithm

Lecture 8: The EM algorithm 10-708: Probabilistic Graphical Models 10-708, Spring 2017 Lecture 8: The EM algorithm Lecturer: Manuela M. Veloso, Eric P. Xing Scribes: Huiting Liu, Yifan Yang 1 Introduction Previous lecture discusses

More information

Computer Vision : Exercise 4 Labelling Problems

Computer Vision : Exercise 4 Labelling Problems Computer Vision Exercise 4 Labelling Problems 13/01/2014 Computer Vision : Exercise 4 Labelling Problems Outline 1. Energy Minimization (example segmentation) 2. Iterated Conditional Modes 3. Dynamic Programming

More information

Markov Random Fields and Segmentation with Graph Cuts

Markov Random Fields and Segmentation with Graph Cuts Markov Random Fields and Segmentation with Graph Cuts Computer Vision Jia-Bin Huang, Virginia Tech Many slides from D. Hoiem Administrative stuffs Final project Proposal due Oct 27 (Thursday) HW 4 is out

More information

Tri-modal Human Body Segmentation

Tri-modal Human Body Segmentation Tri-modal Human Body Segmentation Master of Science Thesis Cristina Palmero Cantariño Advisor: Sergio Escalera Guerrero February 6, 2014 Outline 1 Introduction 2 Tri-modal dataset 3 Proposed baseline 4

More information

Image Segmentation Using Iterated Graph Cuts Based on Multi-scale Smoothing

Image Segmentation Using Iterated Graph Cuts Based on Multi-scale Smoothing Image Segmentation Using Iterated Graph Cuts Based on Multi-scale Smoothing Tomoyuki Nagahashi 1, Hironobu Fujiyoshi 1, and Takeo Kanade 2 1 Dept. of Computer Science, Chubu University. Matsumoto 1200,

More information

Image Segmentation with a Bounding Box Prior Victor Lempitsky, Pushmeet Kohli, Carsten Rother, Toby Sharp Microsoft Research Cambridge

Image Segmentation with a Bounding Box Prior Victor Lempitsky, Pushmeet Kohli, Carsten Rother, Toby Sharp Microsoft Research Cambridge Image Segmentation with a Bounding Box Prior Victor Lempitsky, Pushmeet Kohli, Carsten Rother, Toby Sharp Microsoft Research Cambridge Dylan Rhodes and Jasper Lin 1 Presentation Overview Segmentation problem

More information

Parallel constraint optimization algorithms for higher-order discrete graphical models: applications in hyperspectral imaging

Parallel constraint optimization algorithms for higher-order discrete graphical models: applications in hyperspectral imaging Parallel constraint optimization algorithms for higher-order discrete graphical models: applications in hyperspectral imaging MSc Billy Braithwaite Supervisors: Prof. Pekka Neittaanmäki and Phd Ilkka Pölönen

More information

Multi-Label Moves for Multi-Label Energies

Multi-Label Moves for Multi-Label Energies Multi-Label Moves for Multi-Label Energies Olga Veksler University of Western Ontario some work is joint with Olivier Juan, Xiaoqing Liu, Yu Liu Outline Review multi-label optimization with graph cuts

More information

Parallel and Distributed Graph Cuts by Dual Decomposition

Parallel and Distributed Graph Cuts by Dual Decomposition Parallel and Distributed Graph Cuts by Dual Decomposition Presented by Varun Gulshan 06 July, 2010 What is Dual Decomposition? What is Dual Decomposition? It is a technique for optimization: usually used

More information

Gradient Descent. 1) S! initial state 2) Repeat: Similar to: - hill climbing with h - gradient descent over continuous space

Gradient Descent. 1) S! initial state 2) Repeat: Similar to: - hill climbing with h - gradient descent over continuous space Local Search 1 Local Search Light-memory search method No search tree; only the current state is represented! Only applicable to problems where the path is irrelevant (e.g., 8-queen), unless the path is

More information

Uncertainty Driven Multi-Scale Optimization

Uncertainty Driven Multi-Scale Optimization Uncertainty Driven Multi-Scale Optimization Pushmeet Kohli 1 Victor Lempitsky 2 Carsten Rother 1 1 Microsoft Research Cambridge 2 University of Oxford Abstract. This paper proposes a new multi-scale energy

More information

s-t Graph Cuts for Binary Energy Minimization

s-t Graph Cuts for Binary Energy Minimization s-t Graph Cuts for Binary Energy Minimization E data term ( L) = D ( ) + ( ) P Lp λ Ι Lp Lq p prior term Now that we have an energy function, the big question is how do we minimize it? pq N n Exhaustive

More information

Image Segmentation. April 24, Stanford University. Philipp Krähenbühl (Stanford University) Segmentation April 24, / 63

Image Segmentation. April 24, Stanford University. Philipp Krähenbühl (Stanford University) Segmentation April 24, / 63 Image Segmentation Philipp Krähenbühl Stanford University April 24, 2013 Philipp Krähenbühl (Stanford University) Segmentation April 24, 2013 1 / 63 Image Segmentation Goal: identify groups of pixels that

More information

Markov Networks in Computer Vision. Sargur Srihari

Markov Networks in Computer Vision. Sargur Srihari Markov Networks in Computer Vision Sargur srihari@cedar.buffalo.edu 1 Markov Networks for Computer Vision Important application area for MNs 1. Image segmentation 2. Removal of blur/noise 3. Stereo reconstruction

More information

UNSUPERVISED CO-SEGMENTATION BASED ON A NEW GLOBAL GMM CONSTRAINT IN MRF. Hongkai Yu, Min Xian, and Xiaojun Qi

UNSUPERVISED CO-SEGMENTATION BASED ON A NEW GLOBAL GMM CONSTRAINT IN MRF. Hongkai Yu, Min Xian, and Xiaojun Qi UNSUPERVISED CO-SEGMENTATION BASED ON A NEW GLOBAL GMM CONSTRAINT IN MRF Hongkai Yu, Min Xian, and Xiaojun Qi Department of Computer Science, Utah State University, Logan, UT 84322-4205 hongkai.yu@aggiemail.usu.edu,

More information

Markov Random Fields and Segmentation with Graph Cuts

Markov Random Fields and Segmentation with Graph Cuts Markov Random Fields and Segmentation with Graph Cuts Computer Vision Jia-Bin Huang, Virginia Tech Many slides from D. Hoiem Administrative stuffs Final project Proposal due Oct 30 (Monday) HW 4 is out

More information

Applications. Foreground / background segmentation Finding skin-colored regions. Finding the moving objects. Intelligent scissors

Applications. Foreground / background segmentation Finding skin-colored regions. Finding the moving objects. Intelligent scissors Segmentation I Goal Separate image into coherent regions Berkeley segmentation database: http://www.eecs.berkeley.edu/research/projects/cs/vision/grouping/segbench/ Slide by L. Lazebnik Applications Intelligent

More information

An Integrated System for Digital Restoration of Prehistoric Theran Wall Paintings

An Integrated System for Digital Restoration of Prehistoric Theran Wall Paintings An Integrated System for Digital Restoration of Prehistoric Theran Wall Paintings Nikolaos Karianakis 1 Petros Maragos 2 1 University of California, Los Angeles 2 National Technical University of Athens

More information

Image Segmentation Using Iterated Graph Cuts BasedonMulti-scaleSmoothing

Image Segmentation Using Iterated Graph Cuts BasedonMulti-scaleSmoothing Image Segmentation Using Iterated Graph Cuts BasedonMulti-scaleSmoothing Tomoyuki Nagahashi 1, Hironobu Fujiyoshi 1, and Takeo Kanade 2 1 Dept. of Computer Science, Chubu University. Matsumoto 1200, Kasugai,

More information

Clustering web search results

Clustering web search results Clustering K-means Machine Learning CSE546 Emily Fox University of Washington November 4, 2013 1 Clustering images Set of Images [Goldberger et al.] 2 1 Clustering web search results 3 Some Data 4 2 K-means

More information

UNSUPERVISED COSEGMENTATION BASED ON SUPERPIXEL MATCHING AND FASTGRABCUT. Hongkai Yu and Xiaojun Qi

UNSUPERVISED COSEGMENTATION BASED ON SUPERPIXEL MATCHING AND FASTGRABCUT. Hongkai Yu and Xiaojun Qi UNSUPERVISED COSEGMENTATION BASED ON SUPERPIXEL MATCHING AND FASTGRABCUT Hongkai Yu and Xiaojun Qi Department of Computer Science, Utah State University, Logan, UT 84322-4205 hongkai.yu@aggiemail.usu.edu

More information

Energy Minimization Under Constraints on Label Counts

Energy Minimization Under Constraints on Label Counts Energy Minimization Under Constraints on Label Counts Yongsub Lim 1, Kyomin Jung 1, and Pushmeet Kohli 2 1 Korea Advanced Istitute of Science and Technology, Daejeon, Korea yongsub@kaist.ac.kr, kyomin@kaist.edu

More information

4/13/ Introduction. 1. Introduction. 2. Formulation. 2. Formulation. 2. Formulation

4/13/ Introduction. 1. Introduction. 2. Formulation. 2. Formulation. 2. Formulation 1. Introduction Motivation: Beijing Jiaotong University 1 Lotus Hill Research Institute University of California, Los Angeles 3 CO 3 for Ultra-fast and Accurate Interactive Image Segmentation This paper

More information

GrayCut Object Segmentation in IR-Images

GrayCut Object Segmentation in IR-Images Department of Signal Processing and Communications Prof. Dr.-Ing. Udo Zölzer GrayCut Object Segmentation in IR-Images Christian Ruwwe & Udo Zölzer 2 nd International Symposium on Visual Computing (ISVC)

More information

1 Overview. 2 Applications of submodular maximization. AM 221: Advanced Optimization Spring 2016

1 Overview. 2 Applications of submodular maximization. AM 221: Advanced Optimization Spring 2016 AM : Advanced Optimization Spring 06 Prof. Yaron Singer Lecture 0 April th Overview Last time we saw the problem of Combinatorial Auctions and framed it as a submodular maximization problem under a partition

More information

WHAM. The Weighted Histogram Analysis Method. Alan Grossfield November 7, 2003

WHAM. The Weighted Histogram Analysis Method. Alan Grossfield November 7, 2003 WHAM The Weighted Histogram Analysis Method Alan Grossfield November 7, 2003 Outline Statistical Mechanics Non-Boltzmann Sampling WHAM equations Practical Considerations Example: Butane Statistical Mechanics

More information

Segmentation with non-linear constraints on appearance, complexity, and geometry

Segmentation with non-linear constraints on appearance, complexity, and geometry IPAM February 2013 Western Univesity Segmentation with non-linear constraints on appearance, complexity, and geometry Yuri Boykov Andrew Delong Lena Gorelick Hossam Isack Anton Osokin Frank Schmidt Olga

More information

An Introduction to PDF Estimation and Clustering

An Introduction to PDF Estimation and Clustering Sigmedia, Electronic Engineering Dept., Trinity College, Dublin. 1 An Introduction to PDF Estimation and Clustering David Corrigan corrigad@tcd.ie Electrical and Electronic Engineering Dept., University

More information

COMPUTATIONAL STATISTICS UNSUPERVISED LEARNING

COMPUTATIONAL STATISTICS UNSUPERVISED LEARNING COMPUTATIONAL STATISTICS UNSUPERVISED LEARNING Luca Bortolussi Department of Mathematics and Geosciences University of Trieste Office 238, third floor, H2bis luca@dmi.units.it Trieste, Winter Semester

More information

Feature Selection. Department Biosysteme Karsten Borgwardt Data Mining Course Basel Fall Semester / 262

Feature Selection. Department Biosysteme Karsten Borgwardt Data Mining Course Basel Fall Semester / 262 Feature Selection Department Biosysteme Karsten Borgwardt Data Mining Course Basel Fall Semester 2016 239 / 262 What is Feature Selection? Department Biosysteme Karsten Borgwardt Data Mining Course Basel

More information

Discrete Optimization Methods in Computer Vision CSE 6389 Slides by: Boykov Modified and Presented by: Mostafa Parchami Basic overview of graph cuts

Discrete Optimization Methods in Computer Vision CSE 6389 Slides by: Boykov Modified and Presented by: Mostafa Parchami Basic overview of graph cuts Discrete Optimization Methods in Computer Vision CSE 6389 Slides by: Boykov Modified and Presented by: Mostafa Parchami Basic overview of graph cuts [Yuri Boykov, Olga Veksler, Ramin Zabih, Fast Approximation

More information

Advanced A* Improvements

Advanced A* Improvements Advanced A* Improvements 1 Iterative Deepening A* (IDA*) Idea: Reduce memory requirement of A* by applying cutoff on values of f Consistent heuristic function h Algorithm IDA*: 1. Initialize cutoff to

More information

Improved Gomory Cuts for Primal Cutting Plane Algorithms

Improved Gomory Cuts for Primal Cutting Plane Algorithms Improved Gomory Cuts for Primal Cutting Plane Algorithms S. Dey J-P. Richard Industrial Engineering Purdue University INFORMS, 2005 Outline 1 Motivation The Basic Idea Set up the Lifting Problem How to

More information

Markov Networks in Computer Vision

Markov Networks in Computer Vision Markov Networks in Computer Vision Sargur Srihari srihari@cedar.buffalo.edu 1 Markov Networks for Computer Vision Some applications: 1. Image segmentation 2. Removal of blur/noise 3. Stereo reconstruction

More information

Convexization in Markov Chain Monte Carlo

Convexization in Markov Chain Monte Carlo in Markov Chain Monte Carlo 1 IBM T. J. Watson Yorktown Heights, NY 2 Department of Aerospace Engineering Technion, Israel August 23, 2011 Problem Statement MCMC processes in general are governed by non

More information

K-Means and Gaussian Mixture Models

K-Means and Gaussian Mixture Models K-Means and Gaussian Mixture Models David Rosenberg New York University June 15, 2015 David Rosenberg (New York University) DS-GA 1003 June 15, 2015 1 / 43 K-Means Clustering Example: Old Faithful Geyser

More information

Nearest Neighbor with KD Trees

Nearest Neighbor with KD Trees Case Study 2: Document Retrieval Finding Similar Documents Using Nearest Neighbors Machine Learning/Statistics for Big Data CSE599C1/STAT592, University of Washington Emily Fox January 22 nd, 2013 1 Nearest

More information

Submodular Optimization

Submodular Optimization Submodular Optimization Nathaniel Grammel N. Grammel Submodular Optimization 1 / 28 Submodularity Captures the notion of Diminishing Returns Definition Suppose U is a set. A set function f :2 U! R is submodular

More information

Hidden Markov Models in the context of genetic analysis

Hidden Markov Models in the context of genetic analysis Hidden Markov Models in the context of genetic analysis Vincent Plagnol UCL Genetics Institute November 22, 2012 Outline 1 Introduction 2 Two basic problems Forward/backward Baum-Welch algorithm Viterbi

More information

Lecturers: Sanjam Garg and Prasad Raghavendra March 20, Midterm 2 Solutions

Lecturers: Sanjam Garg and Prasad Raghavendra March 20, Midterm 2 Solutions U.C. Berkeley CS70 : Algorithms Midterm 2 Solutions Lecturers: Sanjam Garg and Prasad aghavra March 20, 207 Midterm 2 Solutions. (0 points) True/False Clearly put your answers in the answer box in front

More information

Mixture Models and EM

Mixture Models and EM Table of Content Chapter 9 Mixture Models and EM -means Clustering Gaussian Mixture Models (GMM) Expectation Maximiation (EM) for Mixture Parameter Estimation Introduction Mixture models allows Complex

More information

Cross-Monotonic Multicast

Cross-Monotonic Multicast Cross-Monotonic Multicast Zongpeng Li Department of Computer Science University of Calgary April 17, 2008 1 Multicast Multicast models one-to-many data dissemination in a computer network Example: live

More information

VIDEO MATTING USING MOTION EXTENDED GRABCUT

VIDEO MATTING USING MOTION EXTENDED GRABCUT VIDEO MATTING USING MOTION EXTENDED GRABCUT David Corrigan 1, Simon Robinson 2 and Anil Kokaram 1 1 Sigmedia Group, Trinity College Dublin, Ireland. Email: {corrigad, akokaram}@tcd.ie 2 The Foundry, London,

More information

Today. Logistic Regression. Decision Trees Redux. Graphical Models. Maximum Entropy Formulation. Now using Information Theory

Today. Logistic Regression. Decision Trees Redux. Graphical Models. Maximum Entropy Formulation. Now using Information Theory Today Logistic Regression Maximum Entropy Formulation Decision Trees Redux Now using Information Theory Graphical Models Representing conditional dependence graphically 1 Logistic Regression Optimization

More information

Mesh segmentation. Florent Lafarge Inria Sophia Antipolis - Mediterranee

Mesh segmentation. Florent Lafarge Inria Sophia Antipolis - Mediterranee Mesh segmentation Florent Lafarge Inria Sophia Antipolis - Mediterranee Outline What is mesh segmentation? M = {V,E,F} is a mesh S is either V, E or F (usually F) A Segmentation is a set of sub-meshes

More information

Interactive Foreground Extraction using graph cut

Interactive Foreground Extraction using graph cut Interactive Foreground Extraction using graph cut Carsten Rother, Vladimir Kolmogorov, Yuri Boykov, Andrew Blake Microsoft Technical Report: MSR-TR-2011-46 Note, this is an extended version of chapter

More information

Linear Programming. Linear Programming. Linear Programming. Example: Profit Maximization (1/4) Iris Hui-Ru Jiang Fall Linear programming

Linear Programming. Linear Programming. Linear Programming. Example: Profit Maximization (1/4) Iris Hui-Ru Jiang Fall Linear programming Linear Programming 3 describes a broad class of optimization tasks in which both the optimization criterion and the constraints are linear functions. Linear Programming consists of three parts: A set of

More information

Lecture 16 Segmentation and Scene understanding

Lecture 16 Segmentation and Scene understanding Lecture 16 Segmentation and Scene understanding Introduction! Mean-shift! Graph-based segmentation! Top-down segmentation! Silvio Savarese Lecture 15 -! 3-Mar-14 Segmentation Silvio Savarese Lecture 15

More information

Bilinear Programming

Bilinear Programming Bilinear Programming Artyom G. Nahapetyan Center for Applied Optimization Industrial and Systems Engineering Department University of Florida Gainesville, Florida 32611-6595 Email address: artyom@ufl.edu

More information

CS4670 / 5670: Computer Vision Noah Snavely

CS4670 / 5670: Computer Vision Noah Snavely { { 11/26/2013 CS4670 / 5670: Computer Vision Noah Snavely Graph-Based Image Segmentation Stereo as a minimization problem match cost Want each pixel to find a good match in the other image smoothness

More information

Outline for today s lecture. Informed Search. Informed Search II. Review: Properties of greedy best-first search. Review: Greedy best-first search:

Outline for today s lecture. Informed Search. Informed Search II. Review: Properties of greedy best-first search. Review: Greedy best-first search: Outline for today s lecture Informed Search II Informed Search Optimal informed search: A* (AIMA 3.5.2) Creating good heuristic functions Hill Climbing 2 Review: Greedy best-first search: f(n): estimated

More information

Multiple cosegmentation

Multiple cosegmentation Armand Joulin, Francis Bach and Jean Ponce. INRIA -Ecole Normale Supérieure April 25, 2012 Segmentation Introduction Segmentation Supervised and weakly-supervised segmentation Cosegmentation Segmentation

More information

LOOSECUT: INTERACTIVE IMAGE SEGMENTATION WITH LOOSELY BOUNDED BOXES

LOOSECUT: INTERACTIVE IMAGE SEGMENTATION WITH LOOSELY BOUNDED BOXES Loose Input Box LOOSECUT: INTERACTIVE IMAGE SEGMENTATION WITH LOOSELY BOUNDED BOXES Hongkai Yu 1, Youjie Zhou 1, Hui Qian 2, Min Xian 3, and Song Wang 1 1 University of South Carolina, SC 2 Zhejiang University,

More information

ITCS 6150 Intelligent Systems. Lecture 6 Informed Searches

ITCS 6150 Intelligent Systems. Lecture 6 Informed Searches ITCS 6150 Intelligent Systems Lecture 6 Informed Searches Compare two heuristics Compare these two heuristics h 2 is always better than h 1 for any node, n, h 2 (n) >= h 1 (n) h 2 dominates h 1 Recall

More information

Divide and Conquer. Algorithm Fall Semester

Divide and Conquer. Algorithm Fall Semester Divide and Conquer Algorithm 2014 Fall Semester Divide-and-Conquer The most-well known algorithm design strategy: 1. Divide instance of problem into two or more smaller instances 2. Solve smaller instances

More information

Segmentation. Separate image into coherent regions

Segmentation. Separate image into coherent regions Segmentation II Segmentation Separate image into coherent regions Berkeley segmentation database: http://www.eecs.berkeley.edu/research/projects/cs/vision/grouping/segbench/ Slide by L. Lazebnik Interactive

More information

Announcements. Image Segmentation. From images to objects. Extracting objects. Status reports next Thursday ~5min presentations in class

Announcements. Image Segmentation. From images to objects. Extracting objects. Status reports next Thursday ~5min presentations in class Image Segmentation Announcements Status reports next Thursday ~5min presentations in class Project voting From Sandlot Science Today s Readings Forsyth & Ponce, Chapter 1 (plus lots of optional references

More information

Simulated Annealing. Slides based on lecture by Van Larhoven

Simulated Annealing. Slides based on lecture by Van Larhoven Simulated Annealing Slides based on lecture by Van Larhoven Iterative Improvement 1 General method to solve combinatorial optimization problems Principle: Start with initial configuration Repeatedly search

More information

Clustering K-means. Machine Learning CSEP546 Carlos Guestrin University of Washington February 18, Carlos Guestrin

Clustering K-means. Machine Learning CSEP546 Carlos Guestrin University of Washington February 18, Carlos Guestrin Clustering K-means Machine Learning CSEP546 Carlos Guestrin University of Washington February 18, 2014 Carlos Guestrin 2005-2014 1 Clustering images Set of Images [Goldberger et al.] Carlos Guestrin 2005-2014

More information

Problem 1: Complexity of Update Rules for Logistic Regression

Problem 1: Complexity of Update Rules for Logistic Regression Case Study 1: Estimating Click Probabilities Tackling an Unknown Number of Features with Sketching Machine Learning for Big Data CSE547/STAT548, University of Washington Emily Fox January 16 th, 2014 1

More information

MultiDimensional Signal Processing Master Degree in Ingegneria delle Telecomunicazioni A.A

MultiDimensional Signal Processing Master Degree in Ingegneria delle Telecomunicazioni A.A MultiDimensional Signal Processing Master Degree in Ingegneria delle Telecomunicazioni A.A. 205-206 Pietro Guccione, PhD DEI - DIPARTIMENTO DI INGEGNERIA ELETTRICA E DELL INFORMAZIONE POLITECNICO DI BARI

More information

Interactive Image Segmentation with GrabCut

Interactive Image Segmentation with GrabCut Interactive Image Segmentation with GrabCut Bryan Anenberg Stanford University anenberg@stanford.edu Michela Meister Stanford University mmeister@stanford.edu Abstract We implement GrabCut and experiment

More information

Clustering in R d. Clustering. Widely-used clustering methods. The k-means optimization problem CSE 250B

Clustering in R d. Clustering. Widely-used clustering methods. The k-means optimization problem CSE 250B Clustering in R d Clustering CSE 250B Two common uses of clustering: Vector quantization Find a finite set of representatives that provides good coverage of a complex, possibly infinite, high-dimensional

More information

Lecture 9. Heuristic search, continued. CS-424 Gregory Dudek

Lecture 9. Heuristic search, continued. CS-424 Gregory Dudek Lecture 9 Heuristic search, continued A* revisited Reminder: with A* we want to find the best-cost (C ) path to the goal first. To do this, all we have to do is make sure our cost estimates are less than

More information

Models for grids. Computer vision: models, learning and inference. Multi label Denoising. Binary Denoising. Denoising Goal.

Models for grids. Computer vision: models, learning and inference. Multi label Denoising. Binary Denoising. Denoising Goal. Models for grids Computer vision: models, learning and inference Chapter 9 Graphical Models Consider models where one unknown world state at each pixel in the image takes the form of a grid. Loops in the

More information

The Alternating Direction Method of Multipliers

The Alternating Direction Method of Multipliers The Alternating Direction Method of Multipliers With Adaptive Step Size Selection Peter Sutor, Jr. Project Advisor: Professor Tom Goldstein October 8, 2015 1 / 30 Introduction Presentation Outline 1 Convex

More information

(Refer Slide Time 04:53)

(Refer Slide Time 04:53) Programming and Data Structure Dr.P.P.Chakraborty Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture 26 Algorithm Design -1 Having made a preliminary study

More information

Missing variable problems

Missing variable problems Missing variable problems In many vision problems, if some variables were known the maximum likelihood inference problem would be easy fitting; if we knew which line each token came from, it would be easy

More information

Introduction to Machine Learning CMU-10701

Introduction to Machine Learning CMU-10701 Introduction to Machine Learning CMU-10701 Clustering and EM Barnabás Póczos & Aarti Singh Contents Clustering K-means Mixture of Gaussians Expectation Maximization Variational Methods 2 Clustering 3 K-

More information

A Block Cipher Basing Upon a Revisit to the Feistel Approach and the Modular Arithmetic Inverse of a Key Matrix

A Block Cipher Basing Upon a Revisit to the Feistel Approach and the Modular Arithmetic Inverse of a Key Matrix IAENG International Journal of Computer Science, 32:4, IJCS_32_4_ A Block Cipher Basing Upon a Revisit to the Feistel Approach and the Modular Arithmetic Inverse of a Key Matrix S. Udaya Kumar V. U. K.

More information

Analysis: TextonBoost and Semantic Texton Forests. Daniel Munoz Februrary 9, 2009

Analysis: TextonBoost and Semantic Texton Forests. Daniel Munoz Februrary 9, 2009 Analysis: TextonBoost and Semantic Texton Forests Daniel Munoz 16-721 Februrary 9, 2009 Papers [shotton-eccv-06] J. Shotton, J. Winn, C. Rother, A. Criminisi, TextonBoost: Joint Appearance, Shape and Context

More information

Iteratively Reweighted Graph Cut for Multi-label MRFs with Non-convex Priors

Iteratively Reweighted Graph Cut for Multi-label MRFs with Non-convex Priors Iteratively Reweighted Graph Cut for Multi-label MRFs with Non-convex Priors Thalaiyasingam Ajanthan, Richard Hartley, Mathieu Salzmann, and Hongdong Li Australian National University & NICTA Canberra,

More information

Spatial-Color Pixel Classification by Spectral Clustering for Color Image Segmentation

Spatial-Color Pixel Classification by Spectral Clustering for Color Image Segmentation 2008 ICTTA Damascus (Syria), April, 2008 Spatial-Color Pixel Classification by Spectral Clustering for Color Image Segmentation Pierre-Alexandre Hébert (LASL) & L. Macaire (LAGIS) Context Summary Segmentation

More information

intro, applications MRF, labeling... how it can be computed at all? Applications in segmentation: GraphCut, GrabCut, demos

intro, applications MRF, labeling... how it can be computed at all? Applications in segmentation: GraphCut, GrabCut, demos Image as Markov Random Field and Applications 1 Tomáš Svoboda, svoboda@cmp.felk.cvut.cz Czech Technical University in Prague, Center for Machine Perception http://cmp.felk.cvut.cz Talk Outline Last update:

More information

Applied Bayesian Nonparametrics 5. Spatial Models via Gaussian Processes, not MRFs Tutorial at CVPR 2012 Erik Sudderth Brown University

Applied Bayesian Nonparametrics 5. Spatial Models via Gaussian Processes, not MRFs Tutorial at CVPR 2012 Erik Sudderth Brown University Applied Bayesian Nonparametrics 5. Spatial Models via Gaussian Processes, not MRFs Tutorial at CVPR 2012 Erik Sudderth Brown University NIPS 2008: E. Sudderth & M. Jordan, Shared Segmentation of Natural

More information

Adaptive Multiple-Frame Image Super- Resolution Based on U-Curve

Adaptive Multiple-Frame Image Super- Resolution Based on U-Curve Adaptive Multiple-Frame Image Super- Resolution Based on U-Curve IEEE Transaction on Image Processing, Vol. 19, No. 12, 2010 Qiangqiang Yuan, Liangpei Zhang, Huanfeng Shen, and Pingxiang Li Presented by

More information

Graphical Models for Computer Vision

Graphical Models for Computer Vision Graphical Models for Computer Vision Pedro F Felzenszwalb Brown University Joint work with Dan Huttenlocher, Joshua Schwartz, Ross Girshick, David McAllester, Deva Ramanan, Allie Shapiro, John Oberlin

More information

10701 Machine Learning. Clustering

10701 Machine Learning. Clustering 171 Machine Learning Clustering What is Clustering? Organizing data into clusters such that there is high intra-cluster similarity low inter-cluster similarity Informally, finding natural groupings among

More information

Computer Vision I - Filtering and Feature detection

Computer Vision I - Filtering and Feature detection Computer Vision I - Filtering and Feature detection Carsten Rother 30/10/2015 Computer Vision I: Basics of Image Processing Roadmap: Basics of Digital Image Processing Computer Vision I: Basics of Image

More information

A Principled Deep Random Field Model for Image Segmentation

A Principled Deep Random Field Model for Image Segmentation A Principled Deep Random Field Model for Image Segmentation Pushmeet Kohli Microsoft Research Cambridge, UK Anton Osokin Moscow State University Moscow, Russia Stefanie Jegelka UC Berkeley Berkeley, CA,

More information

Curvature Prior for MRF-based Segmentation and Shape Inpainting

Curvature Prior for MRF-based Segmentation and Shape Inpainting Curvature Prior for MRF-based Segmentation and Shape Inpainting Alexander Shekhovtsov, Pushmeet Kohli +, Carsten Rother + Center for Machine Perception, Czech Technical University, Microsoft Research Cambridge,

More information

DFS. Depth-limited Search

DFS. Depth-limited Search DFS Completeness? No, fails in infinite depth spaces or spaces with loops Yes, assuming state space finite. Time complexity? O(b m ), terrible if m is much bigger than d. can do well if lots of goals Space

More information

CAP5415-Computer Vision Lecture 13-Image/Video Segmentation Part II. Dr. Ulas Bagci

CAP5415-Computer Vision Lecture 13-Image/Video Segmentation Part II. Dr. Ulas Bagci CAP-Computer Vision Lecture -Image/Video Segmentation Part II Dr. Ulas Bagci bagci@ucf.edu Labeling & Segmentation Labeling is a common way for modeling various computer vision problems (e.g. optical flow,

More information

Active 3D Segmentation through Fixation of Previously Unseen Objects

Active 3D Segmentation through Fixation of Previously Unseen Objects BJÖRKMAN, KRAGIC: ACTIVE SEGMENTATION OF PREVIOUSLY UNSEEN OBJECTS 1 Active 3D Segmentation through Fixation of Previously Unseen Objects Mårten Björkman celle@csc.kth.se Danica Kragic danik@csc.kth.se

More information

Matt Weinberg. Princeton University

Matt Weinberg. Princeton University Matt Weinberg Princeton University Online Selection Problems: Secretary Problems Offline: Every secretary i has a weight w i (chosen by adversary, unknown to you). Secretaries permuted randomly. Online:

More information

Recent Developments in Model-based Derivative-free Optimization

Recent Developments in Model-based Derivative-free Optimization Recent Developments in Model-based Derivative-free Optimization Seppo Pulkkinen April 23, 2010 Introduction Problem definition The problem we are considering is a nonlinear optimization problem with constraints:

More information

ADAPTIVE LOW RANK AND SPARSE DECOMPOSITION OF VIDEO USING COMPRESSIVE SENSING

ADAPTIVE LOW RANK AND SPARSE DECOMPOSITION OF VIDEO USING COMPRESSIVE SENSING ADAPTIVE LOW RANK AND SPARSE DECOMPOSITION OF VIDEO USING COMPRESSIVE SENSING Fei Yang 1 Hong Jiang 2 Zuowei Shen 3 Wei Deng 4 Dimitris Metaxas 1 1 Rutgers University 2 Bell Labs 3 National University

More information

Tracking system. Danica Kragic. Object Recognition & Model Based Tracking

Tracking system. Danica Kragic. Object Recognition & Model Based Tracking Tracking system Object Recognition & Model Based Tracking Motivation Manipulating objects in domestic environments Localization / Navigation Object Recognition Servoing Tracking Grasping Pose estimation

More information

An Efficient Image Co-segmentation Algorithm based on Active Contour and Image Saliency

An Efficient Image Co-segmentation Algorithm based on Active Contour and Image Saliency An Efficient Image Co-segmentation Algorithm based on Active Contour and Image Saliency Zhizhi Zhang 1, Xiabi Liu 1, Nouman Qadeer Soomro 2 1 Beijing Laboratory of Intelligent Information Technology, School

More information

Data-driven Depth Inference from a Single Still Image

Data-driven Depth Inference from a Single Still Image Data-driven Depth Inference from a Single Still Image Kyunghee Kim Computer Science Department Stanford University kyunghee.kim@stanford.edu Abstract Given an indoor image, how to recover its depth information

More information

Clustering K-means. Machine Learning CSEP546 Carlos Guestrin University of Washington February 18, Carlos Guestrin

Clustering K-means. Machine Learning CSEP546 Carlos Guestrin University of Washington February 18, Carlos Guestrin Clustering K-means Machine Learning CSEP546 Carlos Guestrin University of Washington February 18, 2014 Carlos Guestrin 2005-2014 1 Clustering images Set of Images [Goldberger et al.] Carlos Guestrin 2005-2014

More information

The Round Complexity of Distributed Sorting

The Round Complexity of Distributed Sorting The Round Complexity of Distributed Sorting by Boaz Patt-Shamir Marat Teplitsky Tel Aviv University 1 Motivation Distributed sorting Infrastructure is more and more distributed Cloud Smartphones 2 CONGEST

More information