97
Extracting Depth and Matte using a Color-Filtered Aperture Yosuke Bando TOSHIBA + The University of Tokyo Bing-Yu Chen National Taiwan University Tomoyuki Nishita The University of Tokyo

Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

  • Upload
    lyquynh

  • View
    214

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

Extracting Depth and Matte

using a Color-Filtered ApertureYosuke BandoTOSHIBA + The University of Tokyo

Bing-Yu ChenNational Taiwan University

Tomoyuki

NishitaThe University of Tokyo

Page 2: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

2

Outline•

Background

Related Work•

Our Method

Results•

Conclusion

Page 3: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

3

Computational Cameras•

Capture various scene properties–

High dynamic range, high resolution,

Large field of view, reflectance, depth,–

... and more

With elaborate imaging devices–

Camera arrays

Additional optical elements[Wilburn 2005]

[Nayar

1997]

Page 4: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

4

Compact Computational Cameras•

Small devices

Simple optical elements

[Ng 2005] [Levin 2007]

プレゼンター
プレゼンテーションのノート
One of the recent trends in this field is to make computational cameras compact with small devices such as micro-lens arrays and simple optical elements such as aperture masks.
Page 5: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

5

Our Goal•

Capture scene properties

With minimal modification to the camera

プレゼンター
プレゼンテーションのノート
To further boost this trend, our goal is to …
Page 6: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

6

Our Goal•

Capture scene properties–

Depth maps

Alpha mattes•

With minimal modification to the camera

Captured image Depth Matte

Page 7: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

7

Our Goal•

Capture scene properties–

Depth maps

Alpha mattes•

With minimal modification to the camera–

Put color filters in a camera lens aperture

Captured image Depth Matte Lens withcolor filters

Page 8: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

8

Our Goal•

Capture scene properties–

Depth maps

Alpha mattes•

With minimal modification to the camera–

Put color filters in a camera lens aperture

This idea itself is not new

Captured image Depth Matte Lens withcolor filters

Page 9: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

9

Contents•

Background

Related Work•

Our Method

Results•

Conclusion

Page 10: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

10

Previous Color-Filter Methods•

Extract (only) depth maps–

With low precision

Or, a specialized flashbulb is used•

Spoils the visual quality of captured images

[Amari

1992] [Chang 2002]

Page 11: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

11

Coded Aperture•

Patterned mask in the aperture–

Changes frequency characteristics of defocus

Facilitates blur identification/removal

[Levin 2007]

[Veeraraghavan2007]

Lens with a maskCaptured image Amount of defocus

blur (≈

depth)

Page 12: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

12

Single-Lens Multi-View Capture•

Records light rays separately depending on their incident angle–

Enables light field rendering

[Ng 2005]

[Adelson

1992]

[Liang 2008][Georgeiv

2006]

[Veeraraghavan

2007]

Page 13: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

13

Matting•

Automatic matting by multiple cameras

[Joshi 2006]

[McGuire 2005]

3 cameras with half mirrors

Array of 8 cameras Video matting

Video matting

Page 14: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

14

Our Method•

Features–

Automatic depth and matte extraction

Single hand-held camera–

Single shot

Contributions1. Improved depth estimation2. Novel matting algorithmfor images captured thru a color-filtered aperture

プレゼンター
プレゼンテーションのノート
The features that distinguish our method from the previous techniques are that …
Page 15: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

15

Outline•

Background

Related Work•

Our Method

Results•

Conclusion

Page 16: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

16

Our Method•

Color-filtered aperture

Depth estimation•

Matting

Page 17: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

17

Our Method•

Color-filtered aperture

Depth estimation•

Matting

Page 18: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

18

Our Prototype Camera Lens

Canon EF 50mmf/1.8 II lens

Page 19: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

19

Our Prototype Camera Lens

Canon EF 50mmf/1.8 II lens

Aperture part of thedisassembled lens

Page 20: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

20

Our Prototype Camera Lens

Canon EF 50mmf/1.8 II lens

Fujifilter

SC-58,BPB-53, and BPB-45

Page 21: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

21

Our Prototype Camera Lens

Canon EF 50mmf/1.8 II lens

Fujifilter

SC-58,BPB-53, and BPB-45

Our prototype lenswith color-filters

Page 22: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

22

Our Prototype Camera Lens•

Took me just a few hours to fabricate–

Using a micro-screwdriver and a box cutter

Canon EF 50mmf/1.8 II lens

Fujifilter

SC-58,BPB-53, and BPB-45

Our prototype lenswith color-filters

プレゼンター
プレゼンテーションのノート
Visit our website if you would like to know how to disassemble the lens.
Page 23: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

23

Captured Image

Page 24: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

24

Red Plane

Page 25: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

25

Green Plane

Page 26: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

26

Blue Plane

Page 27: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

27

Captured Image•

Has depth-dependent color-misalignment–

NOT due to chromatic aberration

プレゼンター
プレゼンテーションのノート
You can check the way colors get misaligned directly through the viewfinder of our prototype camera. Please come to me after the session if you are interested.
Page 28: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

28

Why Do Colors Get Misaligned?

Image sensorLensForegroundobject

Color filters

Background

Page 29: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

29

Why Do Colors Get Misaligned?

Image sensorLensForegroundobject

Color filters

Background

Page 30: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

30

Why Do Colors Get Misaligned?

Image sensorLensForegroundobject

Color filters

Background

Image sensorLens

Color filters

Background

Page 31: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

31

Why Do Colors Get Misaligned?

Image sensorLensForegroundobject

Color filters

Background

Image sensorLens

Color filters

Background

Page 32: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

32

Our Method•

Color-filtered aperture

Depth estimation•

Matting

Page 33: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

33

Depth Estimation•

Our camera captures 3 views in the RGB planes– Stereo reconstruction problem

Red plane Green plane Blue plane

Page 34: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

34

Depth Estimation•

Our camera captures 3 views in the RGB planes– Stereo reconstruction problem

However, their intensities donʼt match–

Contribution 1:

improved correspondence

measure between the RGB planes

Red plane Green plane Blue plane

Page 35: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

35

Original Image

Page 36: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

36

Disparity = 1

Page 37: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

37

Disparity = 2

Page 38: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

38

Disparity = 3

Page 39: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

39

Disparity = 4

Page 40: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

40

Disparity = 5

Page 41: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

41

Disparity = 6

Page 42: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

42

When Is The Color Aligned?

Disparity

Page 43: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

43

Color-Alignment Measure•

Local color distribution of natural images tends to form a line [Omer 2004, Levin 2006]

Page 44: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

44

Color-Alignment Measure•

Local color distribution of natural images tends to form a line [Omer 2004, Levin 2006]

Page 45: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

45

Color-Alignment Measure•

Local color distribution of natural images tends to form a line [Omer 2004, Levin 2006]

Page 46: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

46

Color-Alignment Measure•

Local color distribution of natural images tends to form a line [Omer 2004, Levin 2006]

0 0.5

1 0

0.5

1

0

0.5

1

B

R

G

B

Page 47: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

47

Color-Alignment Measure•

Local color distribution of natural images tends to form a line

Misalign

by 1 pixel

Disparity = 0 Disparity = 1

[Omer 2004, Levin 2006]

0 0.5

1 0

0.5

1

0

0.5

1

B

R

G

B

プレゼンター
プレゼンテーションのノート
If we deliberately misalign this sub-image by one pixel,
Page 48: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

48

Color-Alignment Measure•

Local color distribution of natural images tends to form a line

Misalign

by 1 pixel

Disparity = 0 Disparity = 1

[Omer 2004, Levin 2006]

0 0.5

1 0

0.5

1

0

0.5

1

B

R

G

B

0 0.5

1 0

0.5

1

0

0.5

1

B

R

G

B

プレゼンター
プレゼンテーションのノート
we get a more isotropic distribution.
Page 49: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

49

Color-Alignment Measure•

Local color distribution of natural images tends to form a line

Misalign

by 3 pixels

Disparity = 0 Disparity = 1 Disparity = 3

[Omer 2004, Levin 2006]

0 0.5

1 0

0.5

1

0

0.5

1

B

R

G

B

0 0.5

1 0

0.5

1

0

0.5

1

B

R

G

B

プレゼンター
プレゼンテーションのノート
If we increase the misalignment to 3 pixels,
Page 50: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

50

Color-Alignment Measure•

Local color distribution of natural images tends to form a line

Misalign

by 3 pixels

Disparity = 0 Disparity = 1 Disparity = 3

[Omer 2004, Levin 2006]

0 0.5

1 0

0.5

1

0

0.5

1

B

R

G

B

0 0.5

1 0

0.5

1

0

0.5

1

B

R

G

B

0 0.5

1 0

0.5

1

0

0.5

1

B

R

G

B

プレゼンター
プレゼンテーションのノート
we get an even more isotropic distribution.
Page 51: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

51

Color-Alignment Measure

Disparity = 0 Disparity = 1 Disparity = 3

Variances along the principal axes (eigenvalues)

Variances along the RGB axes210 λλλ222bgr σσσ

=L

0 0.5

1 0

0.5

1

0

0.5

1

B

R

G

B

0 0.5

1 0

0.5

1

0

0.5

1

B

R

G

B

0 0.5

1 0

0.5

1

0

0.5

1

B

R

G

B

プレゼンター
プレゼンテーションのノート
To quantify isotropy, we propose to use this equation, where …
Page 52: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

52

0 0.5

1 0

0.5

1

0

0.5

1

B

R

G

B

0 0.5

1 0

0.5

1

0

0.5

1

B

R

G

B

0 0.5

1 0

0.5

1

0

0.5

1

B

R

G

B

Color-Alignment Measure

Disparity = 0 Disparity = 1 Disparity = 3

Variances along the principal axes (eigenvalues)

Variances along the RGB axes210 λλλ222bgr σσσ

=L

L = 0.003L = 0.003 L = 0.11 L = 0.39

Page 53: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

53

Depth Estimation•

Solve for the disparity that makes the color-alignment measure minimum

Captured imagePixel-wise estimates(intensity ≈

depth)

Page 54: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

54

Depth Estimation•

Solve for the disparity that makes the color-alignment measure minimum

With smoothness constraints–

Graph-cut optimization

After graph-cuts

[Boykov

2001]

Captured imagePixel-wise estimates(intensity ≈

depth)

Page 55: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

55

Our Method•

Color-filtered aperture

Depth estimation•

Matting

Page 56: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

56

Matting•

Problem of estimating foreground opacity

Inputimage Matte Foreground

colorBackground

color

),()),(1(),(),(),( yxyxyxyxyx BFI αα −+=

Page 57: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

57

Trimap•

Assigns each pixel to one of 3 labels–

Strictly foreground (α

= 1)

Strictly background (α

= 0)–

Unknown (α

to be computed)

Captured image Trimap

strictlyback-ground

strictlyfore-ground

k

unnown

Page 58: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

58

Trimap•

Assigns each pixel to one of 3 labels–

Strictly foreground (α

= 1)

Strictly background (α

= 0)–

Unknown (α

to be computed)

Generated from the depth map

Captured image Trimap

strictlyback-ground

strictlyfore-ground

k

unnown

プレゼンター
プレゼンテーションのノート
Fortunately, we can automatically generate a trimap by thresholding the depth map.
Page 59: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

59

Trimap-Based Matting

Captured image

Trimap

Page 60: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

60

Trimap-Based Matting•

Errors remain where the foreground and background colors are similar

Captured image

Trimap [Levin 2006]

プレゼンター
プレゼンテーションのノート
Applying the existing trimap-based matting method produces already a good result to some extent, but …
Page 61: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

61

Trimap-Based Matting•

Errors remain where the foreground and background colors are similar–

Contribution 2:

matte error correction using

color misalignment cues

Captured image

Trimap [Levin 2006]

Page 62: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

62

Basic Idea•

Estimate foreground and background colors based on the current matte

Captured image

Current matte

Page 63: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

63

Basic Idea•

Estimate foreground and background colors based on the current matte

Captured image

Current matte

Estimated foreground color

Estimated background color

プレゼンター
プレゼンテーションのノート
The estimated colors are likely to have errors in the same regions where the matte has errors.
Page 64: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

64

Basic Idea•

Estimate foreground and background colors based on the current matte

Detect inconsistent color misalignments

Captured image

Current matte

Estimated foreground color

Estimated background color

プレゼンター
プレゼンテーションのノート
We find such regions by detecting color misalignments that are inconsistent with the estimated depth map.
Page 65: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

65

Synthetic Toy Example

Ground truth matte

Synthesized input image

プレゼンター
プレゼンテーションのノート
To better show what’s going on in our matting algorithm, from now on we use a synthetic toy example shown in this slide.
Page 66: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

66

Synthetic Toy Example

Background

Ground truth matte

Synthesized input image

Camera

Page 67: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

67

Synthetic Toy Example

Foreground

Background

Camera

Ground truth matte

Synthesized input image

プレゼンター
プレゼンテーションのノート
We misaligned the background color to simulate the effect of the color-filtered aperture.
Page 68: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

68

Synthetic Toy Example•

Hard example–

Similar foreground and background colors

Foreground Background

Foreground

Background

Page 69: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

69

Synthetic Toy Example•

Hard example–

Similar foreground and background colors

But solvable–

Color misalignment cues from ʻxʼ

textures

Foreground Background

Foreground

Background

Page 70: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

70

Trimap-Based Matting

Trimap

Input image

Foreground

Background

Page 71: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

71

Trimap-Based Matting

Trimap

Estimated matteInput image

Foreground

Background

Page 72: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

72

Trimap-Based Matting

Trimap

Estimated matteInput image

Ground truth

Foreground

Background

プレゼンター
プレゼンテーションのノート
The estimated matte has large errors as the foreground and background colors are similar.
Page 73: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

73

Matting Algorithm

Input image

Current matte

Foreground

Background

Page 74: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

74

Matting Algorithm

Input image

Current matteEstimated

foreground color

Estimatedbackground color

Foreground

Background

Page 75: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

75

Matting Algorithm

Input image

Current matteEstimated

foreground color

Estimatedbackground color

Detectedcolor-misalignment

プレゼンター
プレゼンテーションのノート
Since we expect the foreground color to be color-aligned, we detect color-misaligned regions using the color-alignment measure I explained earlier.
Page 76: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

76

Matting Algorithm

Input image

Current matteEstimated

foreground color

Estimatedbackground color

Detectedcolor-misalignment

Detectedcolor-alignment

プレゼンター
プレゼンテーションのノート
On the other hand, as we expect the background color to be color-misaligned, we detect color-aligned regions.
Page 77: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

77

Matting Algorithm

Input image

Current matteEstimated

foreground color

Estimatedbackground color

Detectedcolor-misalignment

Detectedcolor-alignment

Page 78: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

78

Matting Algorithm

Input image

Final matte

Foreground

Background

プレゼンター
プレゼンテーションのノート
We iterate this process until change in the matte is sufficiently small.
Page 79: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

79

Matting Algorithm

Input image

Final matte Ground truth

Foreground

Background

Page 80: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

80

Outline•

Background

Related Work•

Our Method

Results•

Conclusion

Page 81: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

81

Results of Depth & Matte Extraction

Captured image Depth Matte

Page 82: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

82

Comparison: Depth Estimation•

With the previous color-filter methods–

Local estimation to show raw performance

[Amari

1992] [Chang 2002]

Captured

Captured

Our method

Page 83: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

83

Comparison: Matting•

With the trimap-based matting methods–

The trimaps

were generated by our method

[Levin 2006] [Wang 2007] Our method

Trimap

Trimap

プレゼンター
プレゼンテーションのノート
Some of you may think that this comparison is unfair because the previous methods are designed for color-aligned images.
Page 84: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

84

Comparison with Ground Truth Mattes

Ground truth Composite image(color-aligned)

Composite image(color-misaligned)

Our method[Levin 2006] [Wang 2007]

プレゼンター
プレゼンテーションのノート
So we conducted experiments using ground truth mattes, where …
Page 85: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

85

Image Editing•

Image composition

Color-alignment reconstruction•

Novel view synthesis

Refocusing•

Video matting

Page 86: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

86

Example 1: Composition

Captured image Composite

Matte

Matte

DifferentBackground

DifferentBackground

Page 87: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

87

Example 2: Color-Alignment Reconst.

Matte

Foregroundcolor

Backgroundcolor

Cancel the estimated misalignment

Re-compose

Cancel the estimated misalignment

Page 88: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

88

Reconstructed Image

Page 89: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

89

Captured Image

Page 90: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

90

Examples 3 & 4: View/Focus Synthesis

プレゼンター
プレゼンテーションのノート
Interactive demo.
Page 91: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

91

Example 5: Video Matting

プレゼンター
プレゼンテーションのノート
Play the video.
Page 92: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

92

Outline•

Background

Related Work•

Our Method

Results•

Conclusion

Page 93: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

93

Conclusion•

Automatic depth and matte extraction using a color-filtered aperture–

Improved depth estimation

Novel matting algorithm

Page 94: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

94

Conclusion•

Automatic depth and matte extraction using a color-filtered aperture–

Improved depth estimation

Novel matting algorithm

Easy-to-use computational photography–

Put color filters in a camera lens

Take a single photo with a hand-held camera

Page 95: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

95

Conclusion•

Automatic depth and matte extraction using a color-filtered aperture–

Improved depth estimation

Novel matting algorithm

Easy-to-use computational photography–

Put color filters in a camera lens

Take a single photo with a hand-held camera

Limitation–

Entirely

red objects cannot be handled

Page 96: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

96

Thank You!!•

Any questions?

Acknowledgments–

Takeshi Naemura

Yusuke Iguchi–

Takuya Saito

Johanna Wolf–

Zoltan

Szego

Paulo Silva–

Saori

Horiuchi

Page 97: Extracting Depth and Matte using a Color-Filtered Aperturebandy/rgb/SIGA08rgb_talk.pdf · Extracting Depth and Matte using a Color-Filtered Aperture ... Alpha mattes • With minimal

97

Other Possible Filter Arrangements

Our prototype

Combination withcoded aperture

Multi-aperture

More light-efficient

Even more light-efficient but with

lower depth resolution

Higher depthresolution

Simple horizontalarrangement

Arbitraryshapes

プレゼンター
プレゼンテーションのノート
Backup slide.