improving image matting using comprehensive sampling sets

28
Improving Image Matting using Comprehensive Sampling Sets CVPR2013 Oral

Upload: hoyt-terry

Post on 30-Dec-2015

33 views

Category:

Documents


0 download

DESCRIPTION

Improving Image Matting using Comprehensive Sampling Sets. CVPR2013 Oral. Outline. Introduction Approach Experiments Conclusions. Introduction. Accurate extraction of a foreground object from an image is known as alpha or digital matting. Introduction. Applications. Introduction. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Improving Image Matting using Comprehensive Sampling Sets

Improving Image Matting using Comprehensive Sampling Sets

CVPR2013 Oral

Page 2: Improving Image Matting using Comprehensive Sampling Sets

Outline

Introduction Approach Experiments Conclusions

Page 3: Improving Image Matting using Comprehensive Sampling Sets

Introduction Accurate extraction of a foreground object from

an image is known as alpha or digital matting.

Page 4: Improving Image Matting using Comprehensive Sampling Sets

Introduction Applications

Page 5: Improving Image Matting using Comprehensive Sampling Sets

Introduction

Compositing Equation

Foreground color of pixel z

Observed color of pixel z

Background color of pixel z

Alpha value of pixel z

Page 6: Improving Image Matting using Comprehensive Sampling Sets

Introduction

Range of α : [ 0, 1] α =1 , foreground. α =0 , background.

Page 7: Improving Image Matting using Comprehensive Sampling Sets

Introduction

ill-posed problem Typically, matting approaches rely on constraints

Assumption on image statistics User constraints like Trimap

Known ForegroundKnown Background

Unknown Region

Page 8: Improving Image Matting using Comprehensive Sampling Sets

Introduction

Current alpha matting approaches can be categorized into

1. alpha propagation based method

2. color sampling based method

Page 9: Improving Image Matting using Comprehensive Sampling Sets

Introduction

Alpha propagation based method Assume that neighboring pixels are correlated under

some image statistics and use their affinities to propagate alpha values of known regions toward unknown ones.

Page 10: Improving Image Matting using Comprehensive Sampling Sets

Introduction

Color sampling based method collect a set of known foreground and background samples to estimate

alpha values of unknown pixels.

The quality of the extracted matte is highly dependent on the selected samples. missing true samples problem

Page 11: Improving Image Matting using Comprehensive Sampling Sets

Introduction

Page 12: Improving Image Matting using Comprehensive Sampling Sets

Approach

Gathering comprehensive sample set Choosing candidate samples Handling overlapping color distributions Selection of best(F, B)pair Pre and Post-processing

Page 13: Improving Image Matting using Comprehensive Sampling Sets

Approach

Gathering comprehensive sample set For each region, a two-level hierarchical

clustering is applied. first level, the samples are clustered with respect to

color second level , respect to spatial index of pixels.

Page 14: Improving Image Matting using Comprehensive Sampling Sets

Approach

Gathering comprehensive sample set

Page 15: Improving Image Matting using Comprehensive Sampling Sets

Approach

Choosing candidate samples Each pixel in the unknown region collects a set

of candidate samples that are in the form of a foreground-background pair

Page 16: Improving Image Matting using Comprehensive Sampling Sets

Approach

Handling overlapping color distributions

Page 17: Improving Image Matting using Comprehensive Sampling Sets

Approach

Selection of best(F, B)pair

K : chromatic distortionS : spatial statistics of the imageC : color statistics

Page 18: Improving Image Matting using Comprehensive Sampling Sets

Approach

Page 19: Improving Image Matting using Comprehensive Sampling Sets

Approach

Page 20: Improving Image Matting using Comprehensive Sampling Sets

Approach

Cohen's d

Page 21: Improving Image Matting using Comprehensive Sampling Sets

Approach

Pre-processing An unknown pixel z is considered as foreground if,

for a pixel q F,∈

Trimap Expanded Trimap

Page 22: Improving Image Matting using Comprehensive Sampling Sets

Approach

Post-processing Eq. (2) is further refined to obtain a smooth matte by

considering correlation between neighboring pixels. Cost function [5] consisting of the data term a and a

confidence value f together with a smoothness term consisting of the matting Laplacian [10]

[10] A. Levin, D. Lischinski, and Y. Weiss. A closed-form solution to natural image matting. IEEE Transactions on Pattern Analysis and Machine Intelligence, 30(1):228–242, 2007

[5] E. Gastal and M. Oliveira. Shared sampling for real time alpha matting. InProc. Eurographics , 2010, volume 29, pages 575–584, 2010.

Page 23: Improving Image Matting using Comprehensive Sampling Sets

Experiments

www.alphamatting.com

Page 24: Improving Image Matting using Comprehensive Sampling Sets

Experiments

www.alphamatting.com

Page 25: Improving Image Matting using Comprehensive Sampling Sets

Experiments

Page 26: Improving Image Matting using Comprehensive Sampling Sets

Experiments

Page 27: Improving Image Matting using Comprehensive Sampling Sets

Experiments

Page 28: Improving Image Matting using Comprehensive Sampling Sets

Conclusions

A new sampling based image matting method New sampling strategy to build a comprehensive set

of known samples. This set includes highly correlated boundary samples

as well as samples inside the F and B regions to capture all color variations and solve the problem of missing true samples.