of 67
8/6/2019 Com Positing
1/67
Digital Compositing
CS5245 Vision and Graphics for Special Effects
Leow Wee Kheng
Department of Computer Science
School of Computing
National University of Singapore
Leow Wee Kheng (CS5245) Digital Compositing 1 / 67
http://find/http://goback/8/6/2019 Com Positing
2/67
Introduction
Introduction
Digital compositing means
digitally manipulated integration of at least two images to
produce a new image.
The new image must appear realistic.
It must be completely and seamlessly integrated,as if it were actually photographed by a single camera.
Leow Wee Kheng (CS5245) Digital Compositing 2 / 67
http://find/http://goback/8/6/2019 Com Positing
3/67
Introduction
Example: A scene in Saint (1997) shot in front from blue screen.
Leow Wee Kheng (CS5245) Digital Compositing 3 / 67
http://find/http://goback/8/6/2019 Com Positing
4/67
Introduction
Main Topics
Keying
Separate foreground elements from background elements.
Rig RemovalRemove unwanted elements in footage.
Alpha Blending
Blend foreground elements with new background footage.
Other topics: Refer to [Kel00].
Leow Wee Kheng (CS5245) Digital Compositing 4 / 67
Al h Bl di
http://find/http://goback/8/6/2019 Com Positing
5/67
Alpha Blending
Alpha Blending
Basic equation
C = F + (1 )B (1)
F: foreground image
B: background image
C: composite: opacity or transparency
matte: an image of values
The above operation is performed on each corresponding pixel.
If = 1, then C = F,foreground is shown, i.e., foreground is opaque.
If = 0, then C = B,background is shown, i.e., foreground is transparent.
0