Presenter : Kuang-Jui Hsu Date : 2011/5/12(Tues.).

Slides:



Advertisements
Similar presentations
Image Segmentation with Level Sets Group reading
Advertisements

New Segmentation Technique
SOFT SCISSORS: AN INTERACTIVE TOOL FOR REALTIME HIGH QUALITY MATTING International Conference on Computer Graphics and Interactive Techniques ACM SIGGRAPH.
Cutting Images: Graphs and Boundary Finding Computational Photography Derek Hoiem, University of Illinois 09/15/11 “The Double Secret”, Magritte.
Graph cut Chien-chi Chen.
Carolina Galleguillos, Brian McFee, Serge Belongie, Gert Lanckriet Computer Science and Engineering Department Electrical and Computer Engineering Department.
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:
Automatic Histogram Threshold Using Fuzzy Measures 呂惠琪.
LING 111 Teaching Demo By Tenghui Zhu Introduction to Edge Detection Image Segmentation.
Segmentation and Fitting Using Probabilistic Methods
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.
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
Jue Wang Michael F. Cohen IEEE CVPR Outline 1. Introduction 2. Failure Modes For Previous Approaches 3. Robust Matting 3.1 Optimized Color Sampling.
Stephen J. Guy 1. Photomontage Photomontage GrabCut – Interactive Foreground Extraction 1.
GrabCut Interactive Image (and Stereo) Segmentation Joon Jae Lee Keimyung University Welcome. I will present Grabcut – an Interactive tool for foreground.
Image Segmentation some examples Zhiqiang wang
Boundary matting for view synthesis Samuel W. Hasinoff Sing Bing Kang Richard Szeliski Computer Vision and Image Understanding 103 (2006) 22–32.
Thresholding Otsu’s Thresholding Method Threshold Detection Methods Optimal Thresholding Multi-Spectral Thresholding 6.2. Edge-based.
Advanced Topics in Computer Vision Spring 2006 Video Segmentation Tal Kramer, Shai Bagon Video Segmentation April 30 th, 2006.
Abstract Extracting a matte by previous approaches require the input image to be pre-segmented into three regions (trimap). This pre-segmentation based.
CS292 Computational Vision and Language Visual Features - Colour and Texture.
Pattern Recognition. Introduction. Definitions.. Recognition process. Recognition process relates input signal to the stored concepts about the object.
Information that lets you recognise a region.
Clustering with Bregman Divergences Arindam Banerjee, Srujana Merugu, Inderjit S. Dhillon, Joydeep Ghosh Presented by Rohit Gupta CSci 8980: Machine Learning.
Image Segmentation Rob Atlas Nick Bridle Evan Radkoff.
Methods in Medical Image Analysis Statistics of Pattern Recognition: Classification and Clustering Some content provided by Milos Hauskrecht, University.
MRFs and Segmentation with Graph Cuts Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 03/31/15.
Multimodal Interaction Dr. Mike Spann
Prakash Chockalingam Clemson University Non-Rigid Multi-Modal Object Tracking Using Gaussian Mixture Models Committee Members Dr Stan Birchfield (chair)
October 14, 2014Computer Vision Lecture 11: Image Segmentation I 1Contours How should we represent contours? A good contour representation should meet.
MRFs and Segmentation with Graph Cuts Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 02/24/10.
7.1. Mean Shift Segmentation Idea of mean shift:
Lecture 3: Region Based Vision
EE 492 ENGINEERING PROJECT LIP TRACKING Yusuf Ziya Işık & Ashat Turlibayev Yusuf Ziya Işık & Ashat Turlibayev Advisor: Prof. Dr. Bülent Sankur Advisor:
S EGMENTATION FOR H ANDWRITTEN D OCUMENTS Omar Alaql Fab. 20, 2014.
Object Stereo- Joint Stereo Matching and Object Segmentation Computer Vision and Pattern Recognition (CVPR), 2011 IEEE Conference on Michael Bleyer Vienna.
CHAPTER 7: Clustering Eick: K-Means and EM (modified Alpaydin transparencies and new transparencies added) Last updated: February 25, 2014.
The Dirichlet Labeling Process for Functional Data Analysis XuanLong Nguyen & Alan E. Gelfand Duke University Machine Learning Group Presented by Lu Ren.
Image Modeling & Segmentation Aly Farag and Asem Ali Lecture #2.
Non-Photorealistic Rendering and Content- Based Image Retrieval Yuan-Hao Lai Pacific Graphics (2003)
D. M. J. Tax and R. P. W. Duin. Presented by Mihajlo Grbovic Support Vector Data Description.
Computer Vision Lecture 6. Probabilistic Methods in Segmentation.
GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake – Michel Gangnet.
Presenter : Kuang-Jui Hsu Date : 2011/3/24(Thur.).
Gaussian Mixture Models and Expectation-Maximization Algorithm.
Flat clustering approaches
Course14 Dynamic Vision. Biological vision can cope with changing world Moving and changing objects Change illumination Change View-point.
Journal of Visual Communication and Image Representation
October 1, 2013Computer Vision Lecture 9: From Edges to Contours 1 Canny Edge Detector However, usually there will still be noise in the array E[i, j],
ES 07 These slides can be found at optimized for Windows)
CS654: Digital Image Analysis Lecture 28: Advanced topics in Image Segmentation Image courtesy: IEEE, IJCV.
Improving Image Matting using Comprehensive Sampling Sets CVPR2013 Oral.
Implementing the By: Matthew Marsh Supervisors: Prof Shaun Bangay Mrs Adele Lobb segmentation technique as a plugin for the GIMP.
Cutting Images: Graphs and Boundary Finding Computational Photography Derek Hoiem, University of Illinois 09/20/12 “The Double Secret”, Magritte.
May 2003 SUT Color image segmentation – an innovative approach Amin Fazel May 2003 Sharif University of Technology Course Presentation base on a paper.
Cutting Images: Graphs and Boundary Finding
GrabCut Interactive Foreground Extraction using Iterated Graph Cuts Carsten Rother Vladimir Kolmogorov Andrew Blake Microsoft Research Cambridge-UK.
Project Progress and Future Plans By: Matthew Marsh
Latent Variables, Mixture Models and EM
“The Truth About Cats And Dogs”
PRAKASH CHOCKALINGAM, NALIN PRADEEP, AND STAN BIRCHFIELD
“grabcut”- Interactive Foreground Extraction using Iterated Graph Cuts
Image Segmentation.
EE 492 ENGINEERING PROJECT
EM Algorithm and its Applications
Random Neural Network Texture Model
Presentation transcript:

Presenter : Kuang-Jui Hsu Date : 2011/5/12(Tues.)

Outline Introduction Image segmentation by graph cut The GrabCut segmentation alog. Transparency Results and conclusion

Introduction What is the GrabCuts?? The user drags a rectangle loosely around an object. The object is then extracted automatically.

Previous approaches to interactive matting Magic Wand Starts with a user-specified point or region Compute a region of connected pixels All the selected pixels fall within some adjustable tolerance of the colour statistics of the specified region.

Previous approaches to interactive matting Intelligent Scissors Allow a user to choose a minimum cost contour The minimum cost path from the cursor position back to the last seed If the computed path deviates from the desired one, addition user-specified seed points are needed.

Previous approaches to interactive matting Bayes Matting Models colour distribution probabilistically The user specifies a trimap T = { } Alpha values are computed over the region

Previous approaches to interactive matting Knockout 2 A proprietary plug-in for Photoshop which is driven from a user-defined trimap.

Previous approaches to interactive matting Graph Cut A powerful optimisation technique that can be used in a setting similar to Bayes Matting, including trimaps and probabilistic

Proposed system: GrabCut 1.Obtain a “hard segmentation using iterative graph cut. 2. Use by border matting, for the boundary. 3. Full transparency, other than at the border.

Image segmentation by graph Cut Make two enhancements to the graph cuts mechanism Iterative estimation Incomplete labelling This allows GrabCut to put light load on the user The user is indicating a region of background, and is free of any need to make foreground region Ideally, a matting tool should be able to produce continuous alpha values

Image segmentation Given an initial trimap T The image is an array z of grey values, indexed by the index n The segmentation of the image is expressed as an array of opacity values at each pixel. General, but for hard segmentation, with 0 for background and with 1 for foreground.

Image segmentation The parameter describe image foreground and background grey-level distribution. background foregroundhistograms of grey values The segmentation task is to infer the unknown opacity variables from the given image data z and the model

Segmentation by energy minimisation Energy function: Date term: Smoothness term: the indicator function taking values 0,1 the set of pairs of neighboring The Euclidean distance of neighboring pixels

Segmentation by energy minimisation denotes expectation over an image sample The choice of β ensures that the exponential term switches appropriately between high and low contrast Obtained as 50 By optimizing performance against truth ground over a training set of 15 images

Segmentation by energy minimisation Energy function: Minimisation is done using a standard minimum cut algorithm

The GrabCut segmentation algorithm This section will outline three development: 1.The monochrome image model is replaced for colour by a Gaussian Mixture Model(GMM) in place of histograms 2. Use iterative procedure that alternate between estimation and parameter learning 3. Users are relaxed by allowing incomplete labelling - only specify for the trimap

Colour data modeling Consider the pixels in RGB colour space Impractical to construct adequate colour space histograms Use 2 GMMs, one for the background and the other for the foreground. Taken to be a full-covariance Gaussian mixture with K components( typically k = 5) An addition vector k = is introduced, with, assigning to each pixel

Colour data modeling Energy function: Date term Smoothness term Gaussian probability distributionMixture weighting corfficients

Colour data modeling Gaussian probability distribution Using the multivariate Gaussian probability distribution

Colour data modeling For example, give a GMM component k in the foreground The mean μ(α, k) and Σ (α, k) is computed from the F(k) Smoothness term: Almost unchanged expect for the contrast term by using Euclidean distance in colour space

Segmentation by iterative energy minimization

Practical benefits of iterative minimisatation This is apparent in two ways: The degree of user editing required, after initialisation and optimisation, is reduced. The initial interaction can be simpler, for example by allowing incomplete labelling by the user.

Practical benefits of iterative minimisatation This is apparent in two ways: The degree of user editing required, after initialisation and optimisation, is reduced. The initial interaction can be simpler, for example by allowing incomplete labelling by the user.

User interaction and incomplete trimaps Incomplete trimaps Further user editing

Incomplete trimaps Incomplete labelling becomes more feasible and more convenient for users. Only specify the background, and let the foreground Iterative minimiastion deals with this incompleteness by allowing provisional labels on some pixels (in the foreground ) which can subsequently retracted In this paper, the initial is determined by the user as a strip of pixels around the outside of marketed rectangle

Segmentation by iterative energy minimization alog.

Transparency A matting tool should be able to produce continuous alpha values Hard segmentation can be augment by “border matting” In border matting, the full transparency is allowed in a narrow strip around the hard segmentation Deal with the problem of matting in the presence of blur and mixed along smooth object boundaries The technical issue: Estimating an alpha value for the strip without generating artefacts Recovering the foreground colour, free of colour bleeding form the backound

Border matting Begin with a closed contour C, obtained by fitting a polyline to the boundary The yellow one A new trimap is computed is the set of pixels in a ribbon of width pixels either side of C The goal is to compute the map, and in order to do this robustly, a strong model is assumed for the shape of α- profile with With two important additions : 1.Regularisation to enhance the quality of estimated α-map 2.A dynamic programming (DP) algorithm for estimating α throughout

Border matting Let t = 1, …, T be a parameterization of contour C, periodic with period T, as curve is cloesed. An index t(n) is assigned to each pixel t(n)t(n) The α-profile is taken to be a soft step- function g: Distance from pixel n to contour C Determine the centre and width respectively of the transition from 0 to 1 in α-profile Assume that all pixels with the same index t share values of the parameter

Border matting Parameter values are estimated by minimizing the following energy function using DP over t : Where is a smoothing regularizer: Its role is to encourage α-values to vary smooth as t increase, along curve C If the contour C is closed, minimization cannot be done exactly using single-pass DP, and approximate by using two complete passes of DP, assuming that the first pass gives the optimal profile for t = T / 2 Date term: denotes a Gaussian probability density for z with mean μ and covariance Σ

Border matting Date term: : size pixels centred on on the boundary C at t

Foreground estimation Estimate foreground pixel colour without bleeding in from the background of the source image. Bleeding occur with Bayes matting because of the probabilistic algorithm used which cannon do so precisely Avoid this by stealing pixels from the foreground itself

Foreground estimation First, the bayes matte algorithm is applied to obtain an estimate of foreground colour on a pixel Second, from the neighbourhood as defined above, the pixel colour that is mose similar to is stolen to form the foreground colour Finally, the combined results of border matting, using both regularised alpha computation and foreground stealing

Foreground estimation result

Results and conclusion Regions of low contrast at the foreground to background

Results and conclusion Camouflage, in which the true foreground and background distributions overlap partially in the colour space

Results and conclusion Background material inside the user rectangle happens not to adequately represented in the background

Results and conclusion Demonstrates that the border matting method can cope with moderately difficult alpha mattes

Results and conclusion For difficult alpha mattes, the matting brush is needed

Results and conclusion A target rectangle of size pixels requires 0.9 sec for initial segmentation and 0.12 sec after each brush stroke on a 2.5 GHz CPU with 512 MB RAM