Title: Environment Matting and Compositing
1Environment Matting and Compositing
CS 395 Advanced Graphics Presented by Jay
Hetler Douglas E. Zongker Dawn M. Werner
Brian Curless David H. Salsin
2- What is Matting?
- Extracting the foreground image from the
background - Describing the opacity of the foreground at every
point
- What is Compositing?
- Holding back the part of the new background that
theforeground blocks. - Placing the foreground element in a new
background
3Original Uses
Weather Reports
Cinema Special Effects
4Matting Equation
- C F (1- a)B
- C Color
- F Foreground color
- B Background color
- a Amount of light that passes through the
foreground
5How difficult is Matting?
6Matte Image
7Good Results?
8Problems with Matting
- Images do not look realistic
- Lack of Refracted Light
- Lack of Reflected Light
Solution Modify the Matting Equation
9Environment Matting Equation
- C F (1- a)B F
- C Color
- F Foreground color
- B Background color
- a Amount of light that passes through the
foreground - F Contribution of light from Environment that
travels through the object
10Explanation of F
m
S
i
i
i
i 1
R Reflectance coefficient M Texture mapping
operator for axis-aligned rectangle (A) of
texture (T)
11Environment Mattes
12Performance
- Calibration
- Matting 10-20 minutes extraction time for each
texture map (Pentium II 400Mhz) - Compositing 4-40 frames per second
- Real-Time?
13How much better is Environment Matting?
Alpha Matte Environment Matte
Photograph
14How much better is Environment Matting?
Alpha Matte Environment Matte
Photograph
15Movies!
16Importance of Sidedrops
Light comes from other parts of the environment
17Sidedrop Example
18Sidedrop x2
19Failure Cases
Box-filter
Gaussian-weighted Photograph
20Failure Cases
Failure of Engineering
Failure of Theory
Composite Photograph
21Next Steps
- Depth
- Accuracy
- Real-Time Capture
22Progress?
Depth
Accuracy
No Real-Time