GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake...

22
GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake – Michel Gangnet

Transcript of GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake...

Page 1: GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake – Michel Gangnet.

GrabCutInteractive Foreground Extraction

Carsten Rother – Vladimir Kolmogorov – Andrew Blake – Michel Gangnet

Page 2: GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake – Michel Gangnet.

GrabCut – Patchworks – Blender Three complementary Tools

GrabCut

Patchworks

Compose

Page 3: GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake – Michel Gangnet.

The Goal

User friendly tool for extracting objects in images

Page 4: GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake – Michel Gangnet.

Basic Idea

GrabCut - better Quality in less Time

User Input

Result

Magic Wand Magnetic Lasso GrabCut

Colour Contrast Colour & Contrast

Page 5: GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake – Michel Gangnet.

How does it work?

Energy minimization based on a novel “MinCut” algorithm

Foreground &Background

Background

Foreground

Background

Colour Space Colour Space

?

Page 6: GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake – Michel Gangnet.

User Interface

User Input

User Edit

Result

Rectangle Lasso First Result

Brushes Magnetic Lasso

Page 7: GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake – Michel Gangnet.

Energy Minimization

User Edit: Fore- and Background brush

User Interface

Page 8: GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake – Michel Gangnet.

Evaluation – Moderately Difficult Images

Initially 100% correct Initially 83% correctInitially 91% correct

GrabCut is superior to Magnetic Lasso if more than 50% of the initial boundary is correct

FirstUser Input

FirstResult

FinalResult

Page 9: GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake – Michel Gangnet.

Evaluation - Difficult Images

Camouflage &

Low ContrastAmbiguous colours Thin structure

Initially 75% correct Initially 45% correct Initially 5% correct

GrabCut is superior to Magnetic Lasso if more than 50% of the initial boundary is correct

First User Input

InitialResult

Page 10: GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake – Michel Gangnet.

Hard & Soft Extraction

Hard Extraction Soft ExtractionInput

Alpha Matting: Boundary pixels are a combination of Foregroundand Background

Page 11: GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake – Michel Gangnet.

Basic IdeaRegularized Transition

“Skin”-Colour Profile

GrabCut

Foreground Mixed Background

Energy minimization with regularization

Page 12: GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake – Michel Gangnet.

Soft Extraction Comparison

Input

Bayes Matte

Research

Knockout 2

Photoshop Plug InGrabCut

Page 13: GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake – Michel Gangnet.

Comparison

GrabCut - better Quality in less Time

Magic Wand

Photoshop 7

Magnetic Lasso

Photoshop 7

Knockout 2

Photoshop Plug-In

BJ-GraphCut

Research

GrabCut

Page 14: GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake – Michel Gangnet.

Application – Home UsersEdit your holiday photos

Page 15: GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake – Michel Gangnet.

Application – Home UsersDigital Photomontage

Page 16: GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake – Michel Gangnet.

Application – Home UsersDigital Photomontage

Page 17: GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake – Michel Gangnet.

Application – Home UsersSell objects on eBay

Page 18: GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake – Michel Gangnet.

Application – ProfessionalsAdvertisement

Page 19: GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake – Michel Gangnet.

Summary

• GrabCut is a user friendly method for extracting objects in images

• Two major steps - Hard & Soft extraction

• For moderately difficult images GrabCut gives better Quality in less Time

• GrabCut will be presented at SIGGRAPH ‘04

Page 20: GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake – Michel Gangnet.

Future Ideas

Fully automatic system using object recognition

GrabCut Foreground

FaceRecognition

Page 21: GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake – Michel Gangnet.

Carsten Rother

GrabCut Team

Andrew BlakeVladimir Kolmogorov

Page 22: GrabCut Interactive Foreground Extraction Carsten Rother – Vladimir Kolmogorov – Andrew Blake – Michel Gangnet.