Professional Documents
Culture Documents
2007 @ Mahidol
University
Image Matting and Composition
2
Digital Image Composition
3
Digital Image Composition
Matte
4
How does Superman fly?
5
Pulling a matte
Problem Definition:
• The separation of an image into
• A foreground object image
• A background image
• An alpha matte
Hard problem
6
Matte creation
• From digitized images
– Blue-screen matting
– Video or chroma-keying
– Image processing
7
Blue Screen
8
Nothing special about blue
9
Digital Matting Equation
• For each pixel
C = αF + (1- α)B
• C: Rendered Color
• F: Foreground color
• B: Background color
α: Amount of light passing through the
foreground – called the Alpha-Channel
10
Challenges to Matting &
Compositing
11
What about semi-transparent
mattes?
12
We want a semi-transparent
matte
13
Solution…
14
More example…
15
Problems with Matting
16
Environment Matting and
Composition
17
Process of environment
matting
18
Process of environment
matting
19
Results of environment
matting
20
Results of environment
matting
21
Movies of environment
matting
22
Shadow matting and
compositing
23
Shadow matting and
compositing
24
Shadow matting
• Show clip ShadowMattingDivXS.avi
25
Natural image matting
• Beyasian approach
26
Natural image matting
27
Level of user interaction
Trimap
GrabCut
28
Robust matting tool
• Demo
29
Interactive matting
• Easy matting
30
Interactive matting
31
Interactive matting
• Soft Scissors
32
Flash matting
• Extract mattes using a pair of
flash/no-flash images
33
Image Matting is Difficult
34
Image Matting is Easy with
FLASH
35
Flash Matting
36
Flash matting
37
Video
• Show videoCubism.avi
38
Video matting
• Issues…
• Show VideoCutout.avi
39
Special hardware/cameras
40
Defocus video : Capture Hardware
41
Capture Hardware
42
Preview: Input
IP IF IB
43
Defocus video
44
Multi-cameras system
45
Using a Camera Array
46
4500
2500
500
47
48
Multi-camera system
49