Compositing is the process or technique of combining visual elements from separate sources into single images, often to create the illusion that all those elements are parts of the same scene. Live-action shooting for compositing is variously called "chroma key", "blue screen", "green screen" and other names. Today, most, though not all, compositing is achieved through digital image manipulation. Pre-digital compositing techniques, however, go back as far as the trick films of Georges Méliès in the late 19th century, and some are still in use.
All compositing involves the replacement of selected parts of an image with other material, usually, but not always, from another image. In the digital method of compositing, software commands designate a narrowly defined color as the part of an image to be replaced. Then the software (e.g. Natron) replaces every pixel within the designated color range with a pixel from another image, aligned to appear as part of the original. For example, one could record a television weather presenter positioned in front of a plain blue or green background, while compositing software replaces only the designated blue or green color with weather maps.
In television studios, blue or green screens may back news-readers to allow the compositing of stories behind them, before being switched to full-screen display. In other cases, presenters may be completely within compositing backgrounds that are replaced with entire "virtual sets" executed in computer graphics programs. In sophisticated installations, subjects, cameras, or both can move about freely while the computer-generated imagery (CGI) environment changes in real time to maintain correct relationships between the camera angles, subjects, and virtual "backgrounds".
Virtual sets are also used in motion picture filmmaking, usually photographed in blue or green screen environments (other colors are possible but less common), as for example in Sky Captain and the World of Tomorrow. More commonly, composited backgrounds are combined with sets – both full-size and models – and vehicles, furniture, and other physical objects that enhance the realism of the composited visuals. "Sets" of almost unlimited size can be created digitally because compositing software can take the blue or green color at the edges of a backing screen and extend it to fill the rest of the frame outside it. That way, subjects recorded in modest areas can be placed in large virtual vistas.
Most common, perhaps, are set extensions: digital additions to actual performing environments. In the film Gladiator, for example, the arena and first tier seats of the Roman Colosseum were actually built, while the upper galleries (complete with moving spectators) were computer graphics, composited onto the image above the physical set. For motion pictures originally recorded on film, high-quality video conversions called "digital intermediates" enable compositing and other operations of computerized post production. Digital compositing is a type of matting, and one of four basic compositing methods. The others are physical compositing, multiple exposure, and background projection, a method which utilizes both front projection and rear projection.
In physical compositing the separate parts of the image are placed together in the photographic frame and recorded in a single exposure. The components are aligned so that they give the appearance of a single image. The most common physical compositing elements are partial models and glass paintings.
Partial models are typically used as set extensions such as ceilings or the upper stories of buildings. The model, built to match the actual set but on a much smaller scale, is hung in front of the camera, aligned so that it appears to be part of the set. Models are often quite large because they must be placed far enough from the camera so that both they and the set far beyond them are in sharp focus.
Glass shots are made by positioning a large pane of glass so that it fills the camera frame, and is far enough away to be held in focus along with the background visible through it. The entire scene is painted on the glass, except for the area revealing the background where action is to take place. This area is left clear. Photographed through the glass, the live action is composited with the painted area. A classic example of a glass shot is the approach to Ashley Wilkes' plantation in Gone with the Wind. The plantation and fields are all painted, while the road and the moving figures on it are photographed through the glass area left clear.
A variant uses the opposite technique: most of the area is clear, except for individual elements (photo cutouts or paintings) affixed to the glass. For example, a ranch house could be added to an empty valley by placing an appropriately scaled and positioned picture of it between the valley and the camera.
An in-camera multiple exposure is made by recording on only one part of each film frame, rewinding the film to exactly the same start point, exposing a second part, and repeating the process as needed. The resulting negative is a composite of all the individual exposures. (By contrast, a "double exposure" records multiple images on the entire frame area, so that all are partially visible through one another.) Exposing one section at a time is made possible by enclosing the camera lens (or the whole camera) in a light-tight box fitted with maskable openings, each one corresponding to one of the action areas. Only one opening is revealed per exposure, to record just the action positioned in front of it.
Multiple exposure is difficult because the action in each recording must match that of the others; thus, multiple-exposure composites typically contain only two or three elements. However, as early as 1900 Georges Méliès used seven-fold exposure in L'homme-orchestre/The One-man Band; and in the 1921 film The Playhouse, Buster Keaton used multiple exposures to appear simultaneously as nine different actors on a stage, perfectly synchronizing all nine performances.
Background projection throws the background image on a screen behind the subjects in the foreground while the camera makes a composite by photographing both at once. The foreground elements conceal the parts of the background image behind them. Sometimes, the background is projected from the front, reflecting off the screen but not the foreground subjects because the screen is made of highly directional, exceptionally reflective material. (The prehistoric opening of 2001: A Space Odyssey uses front projection.) However, rear projection has been a far more common technique.
In rear projection, (often called process shooting) background images (called "plates", whether they are still pictures or moving) are photographed first. For example, a camera car may drive along streets or roads while photographing the changing scene behind it. In the studio, the resulting "background plate" is loaded into a projector with the film "flipped" (reversed), because it will be projected onto (and through) the back of a translucent screen. A car containing the performers is aligned in front of the screen so that the scenery appears through its rear and/or side windows. A camera in front of the car records both the foreground action and the projected scenery, as the performers pretend to drive.
Like multiple exposure, rear projection is technically difficult. The projector and camera motors must be synchronized to avoid flicker and perfectly aligned behind and before the screen. The foreground must be lit to prevent light spill onto the screen behind it. (For night driving scenes, the foreground lights are usually varied as the car "moves" along.) The projector must use a very strong light source so that the projected background is as bright as the foreground. Color filming presents additional difficulties, but can be quite convincing, as in several shots in the famous crop duster sequence in Alfred Hitchcock's North by Northwest. (Much of the sequence, however, was shot on location.) Because of its complexity, rear projection has been largely replaced by digital compositing with, for example, the car positioned in front of a blue or green screen.
Traditional matting is the process of compositing two different film elements by printing them, one at a time, onto a duplicate strip of film. After one component is printed on the duplicate, the film is re-wound and the other component is added. Since the film cannot be exposed twice without creating a double exposure, the blank second area must be masked while the first is printed; then the freshly exposed first area must be masked while the second area is printed. Each masking is performed by a "traveling matte": a specially altered duplicate shot which lies on top of the copy film stock.
Like its digital successor, traditional matte photography uses a uniformly colored backing – usually (but not always) a special blue or green. Because a matching filter on the camera lens screens out only the backing color, the background area records as black, which, on the camera's negative film, will develop clear.
First, a print from the original negative is made on high-contrast film, which records the backing as opaque and the foreground subject as clear. A second high-contrast copy is then made from the first, rendering the backing clear and the foreground opaque.
Next, a three-layer sandwich of film is run through an optical printer. On the bottom is the unexposed copy film. Above it is the first matte, whose opaque backing color masks the background. On top is the negative of the foreground action. On this pass, the foreground is copied while the background is shielded from exposure by the matte.
Then the process is repeated; but this time, the copy film is masked by the reverse matte, which excludes light from the foreground area already exposed. The top layer contains the background scene, which is now exposed only in the areas protected during the previous pass. The result is a positive print of the combined background and foreground. A copy of this composite print yields a "dupe negative" that will replace the original foreground shot in the film's edited negative.
Advantages of digital mattesEdit
Digital matting has replaced the traditional approach for two reasons. In the old system, the five separate strips of film (foreground and background originals, positive and negative mattes, and copy stock) could drift slightly out of registration, resulting in halos and other edge artifacts in the result. Done correctly, digital matting is perfect, down to the single-pixel level. Also, the final dupe negative was a "third generation" copy, and film loses quality each time it is copied. Digital images can be copied without quality loss.
This means that multi-layer digital composites can easily be made. For example, models of a space station, a space ship, and a second space ship could be shot separately against blue screen, each "moving" differently. The individual shots could then be composited with one another, and finally with a star background. With pre-digital matting, the several extra passes through the optical printer would degrade the film quality and increase the probability of edge artifacts. Elements crossing behind or before one another would pose additional problems.
- Alpha compositing
- Broadcast designer
- Character generator
- Clean feed (TV)
- Compositing window manager
- Deep image compositing
- Derivative work
- Digital asset
- Digital compositing
- Digital on-screen graphic (Bug or DOG)
- Graphics coordinator
- Image stitching
- Matte painting
- Video matting
- Motion graphic design
- Multiple exposure
- Photographic mosaic
- Primatte chromakey technology
- Professional Cinematography, Clarke, Charles G., A.S.C., Los Angeles, 1964, p 152 ff.
- T. Porter and T. Duff, "Compositing Digital Images", Proceedings of SIGGRAPH '84, 18 (1984).
- Ron Brinkmann, The Art and Science of Digital Compositing (ISBN 0-12-133960-2)
- Steve Wright, Digital Compositing for Film and Video, Second Edition (ISBN 0-240-80760-X)
- American Cinematographer Manual, 2nd ed., Mascelli, Joseph V., A.S.C. and Miller, Arthur, A.S.C, eds. Los Angeles, 1966, p. 500 ff.