Presentation is loading. Please wait.

Presentation is loading. Please wait.

1School of CS&Eng The Hebrew University

Similar presentations


Presentation on theme: "1School of CS&Eng The Hebrew University"— Presentation transcript:

1 1School of CS&Eng The Hebrew University
Spectral Matting A. Levin D. Lischinski and Y. Weiss. A Closed Form Solution to Natural Image Matting. IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), June 2006, New York A. Levin, A. Rav-Acha, D. Lischinski. Spectral Matting. Best paper award runner up. IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), Minneapolis, June 2007 A. Levin1,2, A. Rav-Acha1, D. Lischinski1. Spectral Matting. IEEE Trans. Pattern Analysis and Machine Intelligence, Oct 2008. 1School of CS&Eng The Hebrew University 2CSAIL MIT

2 Hard segmentation and matting
compositing Source image Matte compositing

3 Previous approaches to segmentation and matting
Input Hard output Matte output Unsupervised Spectral segmentation: Shi and Malik Yu and Shi Weiss Ng et al Zelnik and Perona 05 Tolliver and Miller 06

4 Previous approaches to segmentation and matting
Input Hard output Matte output Unsupervised Supervised July and Boykov01 Rother et al Li et al 04

5 Previous approaches to segmentation and matting
Input Hard output Matte output ? Unsupervised Supervised Trimap interface: Bayesian Matting (Chuang et al 01) Poisson Matting (Sun et al 04) Random Walk (Grady et al 05) Scribbles interface: Wang&Cohen Levin et al Easy matting (Guan et al 06)

6 User guided interface Scribbles Trimap Matting result

7 Generalized compositing equation
2 layers compositing = x +

8 Generalized compositing equation
2 layers compositing = x + K layers compositing = x + Matting components

9 Generalized compositing equation
K layers compositing = x + Matting components: “Sparse” layers- 0/1 for most image pixels

10 Unsupervised matting Input Automatically computed matting components

11 Building foreground object by simple components addition
+ + =

12 Spectral segmentation
Spectral segmentation: Analyzing smallest eigenvectors of a graph Laplacian L E.g.: Shi and Malik Yu and Shi Weiss Ng et al Maila and shi Zelnik and Perona 05 Tolliver and Miller 06

13 Problem Formulation = x + Assume a and b are constant
= x + Assume a and b are constant in a small window

14 Derivation of the cost function

15 Derivation

16 The matting Laplacian semidefinite sparse matrix
local function of the image:

17 The matting affinity

18 The matting affinity Input Color Distribution

19 Matting and spectral segmentation
Typical affinity function Matting affinity function

20 Eigenvectors of input image
Smallest eigenvectors

21 Spectral segmentation
Fully separated classes: class indicator vectors belong to Laplacian nullspace General case: class indicators approximated as linear combinations of smallest eigenvectors Null Binary indicating vectors Laplacian matrix

22 Spectral segmentation
Fully separated classes: class indicator vectors belong to Laplacian nullspace General case: class indicators approximated as linear combinations of smallest eigenvectors Smallest eigenvectors- class indicators only up to linear transformation Zero eigenvectors Binary indicating vectors Laplacian matrix Smallest eigenvectors Linear transformation

23 From eigenvectors to matting components
linear transformation

24 From eigenvectors to matting components
Sparsity of matting components Minimize

25 From eigenvectors to matting components
Minimize Newton’s method with initialization

26 From eigenvectors to matting components
1) Initialization: projection of hard segments Smallest eigenvectors K-means Projection into eigs space 2) Non linear optimization for sparse components

27 Extracted Matting Components

28 Brief Summary Construct Matting Laplacian Smallest eigenvectors Linear
Transformation Matting components

29 Grouping Components + + =

30 Grouping Components Unsupervised matting User-guided matting + + =
Complete foreground matte + + = Unsupervised matting User-guided matting

31 Unsupervised matting Matting cost function Hypothesis:
Hypothesis: Generate indicating vector b

32 Unsupervised matting results

33 User-guided matting Graph cut method Energy function Unary term
Pairwise term Constrained components

34 Components with the scribble interface
Components (our approach) Levin et al cvpr06 Wang&Cohen 05 Random Walk Poisson

35 Components with the scribble interface
Components (our approach) Levin et al cvpr06 Wang&Cohen 05 Random Walk Poisson

36 Direct component picking interface
Building foreground object by simple components addition + + =

37 Results

38 Quantitative evaluation

39 Spectral matting versus obtaining trimaps from a hard segmentation

40 Limitations Number of eigenvectors Ground truth matte Matte from

41 Limitations Number of matting components

42 Conclusion Derived analogy between hard spectral segmentation to image matting Automatically extract matting components from eigenvectors Automate matte extraction process and suggest new modes of user interaction


Download ppt "1School of CS&Eng The Hebrew University"

Similar presentations


Ads by Google