Graph cut Chien-chi Chen.

Slides:



Advertisements
Similar presentations
SOFT SCISSORS: AN INTERACTIVE TOOL FOR REALTIME HIGH QUALITY MATTING International Conference on Computer Graphics and Interactive Techniques ACM SIGGRAPH.
Advertisements

Cutting Images: Graphs and Boundary Finding Computational Photography Derek Hoiem, University of Illinois 09/15/11 “The Double Secret”, Magritte.
Presenter : Kuang-Jui Hsu Date : 2011/5/12(Tues.).
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:
S I E M E N S C O R P O R A T E R E S E A R C H 1 1 A Seeded Image Segmentation Framework Unifying Graph Cuts and Random Walker Which Yields A New Algorithm.
GrabCut Interactive Image (and Stereo) Segmentation Carsten Rother Vladimir Kolmogorov Andrew Blake Antonio Criminisi Geoffrey Cross [based on Siggraph.
GrabCut Interactive Foreground Extraction using Iterated Graph Cuts Carsten Rother Vladimir Kolmogorov Andrew Blake Microsoft Research Cambridge-UK.
GrabCut Interactive Foreground Extraction using Iterated Graph Cuts Carsten Rother Vladimir Kolmogorov Andrew Blake Microsoft Research Cambridge-UK.
A Gimp Plugin that uses “GrabCut” to perform image segmentation
Graph-Based Image Segmentation
Foreground/Background Image Segmentation. What is our goal? To label each pixel in an image as belonging to either the foreground of the scene or the.
Stephen J. Guy 1. Photomontage Photomontage GrabCut – Interactive Foreground Extraction 1.
Graph-based image segmentation Václav Hlaváč Czech Technical University in Prague Faculty of Electrical Engineering Department of Cybernetics Prague, Czech.
GrabCut Interactive Image (and Stereo) Segmentation Joon Jae Lee Keimyung University Welcome. I will present Grabcut – an Interactive tool for foreground.
Active Contours (SNAKES) Back to boundary detection –This time using perceptual grouping. This is non-parametric –We’re not looking for a contour of a.
Learning to Detect A Salient Object Reporter: 鄭綱 (3/2)
CS448f: Image Processing For Photography and Vision Graph Cuts.
Announcements Project 2 more signup slots questions Picture taking at end of class.
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-
Snakes Goes from edges to boundaries. Edge is strong change in intensity. Boundary is boundary of an object. –Smooth (more or less) –Closed. –…
Advanced Topics in Computer Vision Spring 2006 Video Segmentation Tal Kramer, Shai Bagon Video Segmentation April 30 th, 2006.
MRF Labeling With Graph Cut CMPUT 615 Nilanjan Ray.
Abstract Extracting a matte by previous approaches require the input image to be pre-segmented into three regions (trimap). This pre-segmentation based.
Stereo Computation using Iterative Graph-Cuts
An Iterative Optimization Approach for Unified Image Segmentation and Matting Hello everyone, my name is Jue Wang, I’m glad to be here to present our paper.
Measuring Uncertainty in Graph Cut Solutions Pushmeet Kohli Philip H.S. Torr Department of Computing Oxford Brookes University.
Perceptual Organization: Segmentation and Optical Flow.
Announcements vote for Project 3 artifacts Project 4 (due next Wed night) Questions? Late day policy: everything must be turned in by next Friday.
Announcements Project 3 questions Photos after class.
Automatic User Interaction Correction via Multi-label Graph-cuts Antonio Hernández-Vela, Carlos Primo and Sergio Escalera Workshop on Human Interaction.
Graph-based Segmentation
Webcam-synopsis: Peeking Around the World Young Ki Baik (CV Lab.) (Fri)
Fast Approximate Energy Minimization via Graph Cuts
Prakash Chockalingam Clemson University Non-Rigid Multi-Modal Object Tracking Using Gaussian Mixture Models Committee Members Dr Stan Birchfield (chair)
Graph Cut & Energy Minimization
MRFs and Segmentation with Graph Cuts Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 02/24/10.
CSCI-256 Data Structures & Algorithm Analysis Lecture Note: Some slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved. 26.
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.
Object Stereo- Joint Stereo Matching and Object Segmentation Computer Vision and Pattern Recognition (CVPR), 2011 IEEE Conference on Michael Bleyer Vienna.
CS 4487/6587 Algorithms for Image Analysis
Feature-Based Stereo Matching Using Graph Cuts Gorkem Saygili, Laurens van der Maaten, Emile A. Hendriks ASCI Conference 2011.
Gaussian Mixture Models and Expectation-Maximization Algorithm.
Machine Learning – Lecture 15
Interactive Image Cutout- Lazy Snapping
Journal of Visual Communication and Image Representation
CS654: Digital Image Analysis Lecture 28: Advanced topics in Image Segmentation Image courtesy: IEEE, IJCV.
A global approach Finding correspondence between a pair of epipolar lines for all pixels simultaneously Local method: no guarantee we will have one to.
Implementing the By: Matthew Marsh Supervisors: Prof Shaun Bangay Mrs Adele Lobb segmentation technique as a plugin for the GIMP.
Markov Random Fields in Vision
Cutting Images: Graphs and Boundary Finding Computational Photography Derek Hoiem, University of Illinois 09/20/12 “The Double Secret”, Magritte.
Graphcut Textures:Image and Video Synthesis Using Graph Cuts
Cutting Images: Graphs and Boundary Finding
Digital Visual Effects, Spring 2009 Yung-Yu Chuang 2009/5/21
GrabCut Interactive Foreground Extraction using Iterated Graph Cuts Carsten Rother Vladimir Kolmogorov Andrew Blake Microsoft Research Cambridge-UK.
Markov Random Fields with Efficient Approximations
Dingding Liu* Yingen Xiong† Linda Shapiro* Kari Pulli†
Graph Cut Weizhen Jing
Automatic User Interaction Correction via Multi-label Graph-cuts
Lecture 31: Graph-Based Image Segmentation
Digital Image Processing
“grabcut”- Interactive Foreground Extraction using Iterated Graph Cuts
Seam Carving Project 1a due at midnight tonight.
Segmentation (continued)
Announcements Project 4 out today (due Wed March 10)
Announcements Project 1 is out today help session at the end of class.
Saliency Optimization from Robust Background Detection
“Traditional” image segmentation
Presentation transcript:

Graph cut Chien-chi Chen

Outline Introduction Graph cut Extensive of Graph cut Interactive segmentation Related work Graph cut Concept of graph cut Hard and smooth constrains Min cut/Max flow Extensive of Graph cut Grab cut Paint Selection Unsupervise graph cut Conclusion Reference

Outline Introduction Graph cut Extensive of Graph cut Demo Related work Graph cut Concept of grap hcut Hard and smooth constrains Min cut/Max flow Extensive of Graph cut Grab cut Paint Selection Unsupervise graph cut Conclusion Reference

Interactive Segmentation

Related Work Scribble-based selection Painting-based selection Graph cut Painting-based selection Paint Selection http://www.youtube.com/watch?v=qC5Y9W-E-po Boundary-based selection Intelligent Scissor http://www.youtube.com/watch?v=3LDsh3vi5fg

Outline Introduction Graph cut Extensive of Graph cut Demo Related work Graph cut Concept of graph cut Hard and smooth constrains Min cut/Max flow Extensive of Graph cut Grab cut Paint Selection Unsupervise graph cut Conclusion Reference

Concept of graph cut Characteristic Interactive Algorithm setting Interactive image segmentation using graph cut Binary label: foreground vs. background Interactive User labels some pixels Algorithm setting Hard constrains Smoothness constrains Min cut/Max flow Energe minimization

Labeling as a graph problem Each pixel = node Add two nodes F & B Labeling: link each pixel to either F or B Desired result

Data term Put one edge between each pixel and F & G Weight of edge = minus data term Don’t forget huge weight for hard constraints Careful with sign

Smoothness term Add an edge between each neighbor pair Weight = smoothness term

Energy function Labeling: one value per pixel, F or B Energy(labeling) = hard + smoothness Will be minimized Hard: for each pixel Probability that this color belongs to F (resp. B) Smoothness (aka regularization): per neighboring pixel pair Penalty for having different label Penalty is downweighted if the two pixel colors are very different One labeling (ok, not best) Data A為binary : obj or bkg Smoothness

Min cut Energy optimization equivalent to min cut Cut: remove edges to disconnect F from B Minimum: minimize sum of cut edge weight http://www.cse.yorku.ca/~aaw/Wang/MaxFlowSt art.htm

Outline Introduction Graph cut Extensive of Graph cut Demo Related work Graph cut Concept of graph cut Hard and smooth constrains Min cut/Max flow Extensive of Graph cut Grab cut Paint Selection Unsupervise graph cut Conclusion Reference

Extensive of Graph cut Grab cut E(φ,S,x, λ) = Ecol(φ,S,x) + Ecol(,S,x, λ) :Gaussian mixture model Image Gaussian mixture model : 用來建立foreground 和background的model

Extensive of Graph cut Paint selection B- user brush, F- existing selection F’- new selection, U- background R-dilated box, L- local foreground, dF-frontal foreground

Extensive of Graph cut E(X)= Hard constrains Using L(local foreground) to build GMM Background model is randomly sampling a number (1200 points)from background to build GMM 表示foreground 只有L,所偵測的區域只有S和Sb(hard background scribble)

Extensive of Graph cut Smoothness constrains Adding frontal forground

Outline Introduction Graph cut Extensive of Graph cut Interactive segmentation Related work Graph cut Concept of graph cut Hard and smooth constrains Min cut/Max flow Extensive of Graph cut Grab cut Paint Selection Unsupervise graph cut Conclusion Reference

Unsupervise graph cut Automatic object segmentation with salient color model Saliency Map:

Unsupervise graph cut Saliency map

Unsupervise graph cut Segmentation Hard constrains K-means is employed to model distribution

Unsupervise graph cut Smoothness constrains

Outline Introduction Graph cut Extensive of Graph cut Interactive segmentation Related work Graph cut Concept of graph cut Hard and smooth constrains Min cut/Max flow Extensive of Graph cut Grab cut Paint Selection Unsupervise graph cut Conclusion Reference

Conclusion Interactive segmentation Graph cut is fast, robust segmentation It consider not only difference between source to node, but also link of node to node.

Reference Lecture slide from Dr. Y.Y. Chuang. Y. Boyjov, “An Experimental Comparison of Min- Cut/Max-Flow Algorithms for Energy Minimization in Vision”, PAMI 2002. J. Liu, J. Sun, H.Y. Shum, ”Paint Selection”, sigraph 2007. C.C. Kao, J.H. Lai, S.Y. Chien,“Automatic Object Segmentation With Salient Color Model”, IEEE 2011.

Q&A