COMPUTER PHOTO COMPOSITINGby D'Lynn Waldron. PhD. copyright Artistic compositing that is extremely difficult to achieve in the dark room, can be done easily and far better in the computer.
CRETE -above- These pictures above were taken within a few minutes of each other in Anogia, in the mountains of Crete in January. Fortunately, each was photographed from the same direction relative to the sun, so there was a perfect match in the direction and quality of the light. You can feed the coldness of the winter light which goes with the bare tree draped with fresh dyed wool, the heavy cloak on the Cretan man, and the tension in his facial muscles.
The original picture of the man had a dark, mottled background, and I cut him out both for a blue sky background (shown) and to composite against the house and tree with wool (also shown).
The man was originally wearing a shiny, blue nylon jacket, in place of which I painted in a cloak such as other men in the village wore. I then added HSB Noise followed by Blur to the cloak, to simulate the grain in the rest of the image. There are a number of filters for adding grain to an image, but so far none of them let you control the size of the grain, just the color and density.
The original house front (shown) had a lot of clutter that I cloned away, along with the various pipes and powerlines, and the TV antenna. I also used the clone tool to extend the wall down (shown) below the original picture. I had to be careful when doing this not to create repeating patterns.
I resized the man to composite him into the composition.
IRELAND -below- These two photographs were taken in Connemara on the West coast of Ireland. I had to repaint the face of the originally black face lamb the boy is holding to match the white face lamb the old man is holding. I erased around the boy in a transparent layer, then I selectively erased with reduced opacity in areas such as the top of the boy's head, and finally I reduced the opacity of that entire layer before flattening the image.
You can make a number of very dfferent image from the same source materials, including changing the lighting effects. Below a portrait was composited in front of a harbor at sunset, and a night sky (the sky is made up of a photo of the sky and a photo of the moon
Layers
In all aspects of compositing, the Layers function in Photoshop is very valuable. Elements should be kept in different layers, and permanently saved that way, before the final image is flattened in a separate file.
Resizing
When making a composite, it is often necessary to resize elements. Photoshop shop offers you three algorithms for doing this. These algorithms are called Modes of Interpolation, because, in enlarging, they interpolate new pixels between existing ones. In reducing they remove pixels. Resizing is also called resampling.
The three Modes of Interpolation for resizing:
Photoshop's Default is Bicubic, but for reasons discussed below, many professionals change the default to Bilinear in the Preferences. The Mode can be changed on the fly in the Image Size window.
1- Nearest Neighbor enlarges the image by adding pixels in the color of the nearest pixel. The result is just a larger version of the original pixel structure and this emphasizes existing "jaggies". It can also create visible jaggies where edges were originally antialiased.
- If an image is resized in Nearest Neighbor by other than doubles (200%, 400%, 1600%) the jaggies become uneven stairsteps.
- If an image is resized more than once in Nearest Neighbor, an artifact of plaid-like lines will result. A Gaussian blur can smooth out this pattern.
2- Bilinear adds intermediate colors between the original pixels to create an antialiasing that reduces visible jaggies, but the image is less sharp than the original.
- When thin lines are enlarged in Bilinear, the antialiasing will completely cover over the original color, dulling its color and making it less distinct.
- If an image is resized more than once in Bilinear, the blurring of edges is increased.
3- Bicubic artificially reintroduces definition by inserting a band of pixels that are lighter or darker than the original on either side of the intermediate pixels created by the antialiasing. The affect of this is to create what that looks like ridges. This increases definition but can be very undesirable in many types of images. For example, pores in skin become lunar craters.
- Bicubic often introduces colors within its "ridging" that are entirely different from the colors in the original image.
- If an image is resized more than once using Bicubic, this ridging will build on itself and also become uneven.
Invisible Seams
To be invisible, seams cannot have a color fringe and the amount of blur must match the rest of the image. In all aspects of compositing, the Layers function in Photoshop is very valuable, and elements should all be kept in different layers, and permanently saved that way
COLOR FRINGE is a normally an unwanted artifact that comes from pixels beyond the edge of the element, including antialiasing with the original background. If you have a stock image that comes with a clipping path that cuts inside the unwanted antialiased area or an alpha channel that masks off the unwanted area, use one of these to select the image, after pasting it onto a transparent layer, you may want to soften the edges, before flattening the image.
In Photoshop 4 & 5 there are many ways to take away the unwanted areas of a picture and create an invisible seam. There are also third party filters to help you create a mask for what you want to retain. As an artist, I like to put the roughly cut out the new element and put it onto a transparent layer. Then I erase to transparent everything thing I do not want. This process can be fine tuned by adjusting both the softness and the opacity of the brush.
EDGE SHARPNESS: The eye and the camera rarely see sharp edges between objects, and where these do exist, it is only within the depth of field of the eye or the camera, outside of which the whole image becomes increasingly blurred. Objects at the same distance from the viewer must have the same amount of blur at their edges.
Matching the Elements
The two basic types of computer photo composites are montage and realistic. A montage can combine images in any manner, such as the images from Ireland. The elements in a realistic composites must appear to match and must have invisible seams, as in the images from Crete.
Compositor's Checklist
In realistic photo-compositing you should try to match the elements in as many of these categories as possible. Some matches are critical, others are not as noticeable. There are some matches that must be in the original source photograph, while others can be adjusted in the computer to create a match.
LIGHT
Direction
Intensity
Kelvin
Color
Reflected Light
ATMOSPHERICS
Haze, Fog -
Particulates
WIND
Direction
Force
PERSPECTIVE
Linear
Aerial
FOCUS
EDGE DEFINITION
POSITION
PROPORTION
GRAIN and NOISE
TEXTURE
REALITY MATCHING
Location
Time Period
Social Context
Season
Weather
Time of Day
Discussion of the Compositor's Checklist
LIGHT has many qualities and most of them can be adjusted in the computer.
Direction: When images are composited together, the light must come from the same direction. Sometimes an element can be flipped to achieve this, but it is very difficult to realistically match a figure shot a noon with a scene shot in the low angled light of late afternoon. If this must be done, the best thing is to reduce the contrast between the highlights and shadows as much as possible to make the difference less obvious.
Intensity: A figure illuminated by direct flash or bright sun has sharply defined areas of light and shadow and strong highlights. The same figure in open shade or on an overcast day with will look softly modeled. When matching elements for intensity of light, it is easier to increase the contrast to simulate more intense light than to achieve soft modeling from an image with bright highlights and deep shadows.
Kelvin is the color temperature of light. The 'white' sunlight at high noon and a daylight flash are about 5500 Kelvin. The bluish light of open shade on a clear day is about 8500 Kelvin. The warm light of a tungsten household bulb is about 2800 Kelvin, and candlelight is about 1800 Kelvin. You can correct for some Kelvin differences in the computer, but where only shades of orange or blue were registered on the film, there are no other colors to bring out.
Color: The color of light is effected by the particulates in the air, the time of day, and the reflections from colors around the image. It can also be given color if it comes through things like colored glass. As the sun gets lower in the sky it must pass through more and more of the earths atmosphere with its particulates, thus the lower the sun is, the more it is colored by particulates, giving us the red light of some of sunsets. Adjusting the color of light is fairly easy if it is unidirectional, but reflected sources of different colors can be difficult to match.
Reflected Light of various colors, as the Impressionists have shown us, is an important part of the coloration of the objects we see. Rough surfaces with many planes have more varieties of light. Fortunately, most people are not as visually attuned to secondary light sources as to the predominate light source, but if you are an artist, you can try your hand at adding the appropriate tints (always saving your work before you start!) When you are matching similar surfaces, both need a similar mottling of colors, and to achieve this you can use the clone tool at an appropriate setting to borrow from one for the other.
ATMOSPHERICS refers to the way particulate matter in the air affects the appearance of things as they get farther away from us. Fog is perhaps the best know atmospheric, but all air contains some amount of particulate matter. In clear air, distant scenery will take on a bluish tint. Smog will turn scenery more and more yellowish the farther away it is.
A figure photographed on a clear day cannot be composited into a scene photographed on a hazy day without making adjustments to the figure by desaturating the color and blurring the image appropriate to how near the figure is to the viewer in the scene. It is rarely as successful to intensify the colors and sharpen a picture taken in haze so it will match an image taken in clear light.
Atmospherics will be discussed again under Aerial Perspective.
WIND: The speed and direction of the wind affect everything from the way clothes drape and grass bends to how hair blows. All these elements should be matched for a realistic composite, if the wind is noticeable.
Direction: When images are composited together, any visible effects of the wind should agree as to direction. If the wind is strong, people will lean against it and trees will bend with it. Also in a strong, and especially a cold wind, people squint up their faces and angle their backs against it.
Force: A gale force wind has very different and more visible effects from a light breeze, and requires more careful matching.
PERSPECTIVE: Scientific perspective is an element unique to Western art and has only been around about 500 years. However, because our brain uses spatial relationships and linear clues to orient us, if these are incorrect in an image that is supposed to be realistic, it has a very unsettling effect.
Aerial Perspective refers to the way that particulates in the atmosphere cause objects to get paler and less distinct the further away they are from us. You must therefore blur and desaturate sharp-edged, brightly colored elements when compositing then into the distant part of a scene that has noticeable aerial perspective.
Linear Perspective refers to the way lines converge to a vanishing point. Temporary guidelines will help you aligning objects such as buildings, and place people so their feet seem to be on the ground. (Cutting off the feet will not disguise the fact that the figure is standing in thin air.)
FOCUS: When matching elements that come from photographs, you will have to match the focus of elements that are at the same depth in the picture. This may require sharpening or blurring of one or more elements. If the depth of field is very narrow, you may have to blur just part of the composited element, such as the sides of the face.
EDGE DEFINITION: The sharp edge of a computer cut out looks very unnatural, and this is best corrected with the blur tool set to the right size and amount to create a match with the edges of the other elements.
POSITION: Composited elements must be placed in the proper relationship to each other. This is most easily done by pasting in the things that are farthest away first, but you may have to create a selection and past into it so that elements come in the right order.
PROPORTION is the size relationship between elements. A child composited next to an adult must be proportionately smaller. Calculating this gets more difficult when objects of different sizes are also in linear perspective to one another. First determine the size they would be on the same plane and then adjust the size of the more distant object in accord with perspective lines. Errors can be caused by not knowing how large an element really is- is a destroyer bigger than a cruiser? Only research can help here.
GRAIN and NOISE can be very difficult to make uniform among composited elements. Different types of film, and the same film at different enlargements, have different sizes and structure of grain. Due to the nature of scanning, the grain in film is emphasized, and it is particularly visible in pale, even-colored areas such as skies.
Various program functions such as Despeckle, Remove Mars and Scratches, Blur, and Median can smooth out grain and noise in areas like a selected sky, but if used generally these functions can blur the image out of sharp focus. In some cases, you will need to add grain to make a match.
When retouching with paint tools, or compositing a non-photographic element, that area can look slick and flat because it lacks grain or noise. Adding carefully chosen and adjusted HSV noise can be done straight, or semi-transparent, and/or blurred, and to one or more of the color channels.
TEXTURE is one of the most important and difficult elements to match. It is often necessary to create areas of texture to fill in where an overlaying object has been cut away, or where something must be extended.
Texture can be matched between composited elements in a number of ways such as a carefully adjusted clone tool, a semi-transparent paste, or painting the texture.
In cases where it is necessary to put texture on top of an element without obscuring its original shape and shading, the multiply setting or procedural blend may work very well
Faces: When repainting parts of a face, the lack of the variegated colors normally found in the skin tones can make that area look unnatural, and cloning from other areas of skin can improve this.
REALITY requires knowing or researching the subject. It is very easy to mistakenly composite elements from different cultures, time periods, or situations. Sometimes this is accepted, as in Western movies where 19th Century cowboys ride on 20th Century saddles, and King ArthurÕs knights sit down to dinner in their battle armor. But if accuracy is important, research is essential.
Location requires that the elements could be found in the same place- there are no tigers wild in Africa, and tropical foliage is not native to northern climes, nor would an English country manor have adobe walls.
Time Period means watching out for anachronistic elements- telephone poles outside castles, TV antennas on top of Victorian residences, clothes and jewelry that were not worn at the time you wish to recreate. Fortunately some things are usually quite easy to remove in the computer.
Social Context: You would not put a Rolls Royce in the carport of a tract house. You must understand the context or mistakes will be made.
Season: If the season is apparent, then the elements must agree. Not only the folliage changes with the season, but the quality of the light, and in latitudes away from the equator, the maximum height that the sun reaches in the sky. In a Canadian winter you will not find the sun over head at noon, but rather it is always low in the sky and moves around the horizon.
Weather: If the weather condition is apparent, then the elements must agree. Sometimes you can create effects like rain and snow so they match across the elements.
Time of Day is shown by the direction and color of light. Be careful of having sunrises and sunsets from the wrong direction- a sunrise over the ocean viewed from California just doesn't happen.
NOTE: When compositing, remember those art school rules:
Do not to cut figures off in awkward or pricise places, such as at the ankles wrists.
A composition that is too perfectly balanced looks unnatural and often is not aesthetically pleasing.