Sub topic 7
Getting scale right
Scale is the size of an element relative to everything else in the scene. A person who is the right size for a foreground position but stands in the far distance looks like a giant. This chapter assumes you can use Free Transform, Smart Objects, and guides. It also assumes you have already found the horizon line in the background, as covered in the earlier chapter on horizon and eye level.
Why scale goes wrong
Viewers judge size by comparing objects they already know. Doors, cars, people, fence posts and street lamps all act as rulers. If your element disagrees with those rulers, the composite fails even when the light and colour are perfect.
Scale errors usually come from three causes:
- The element was shot with a different lens or from a different distance, so its perspective does not fit the plate.
- The element was resized by eye, without a reference in the scene.
- The element was moved after scaling, and its size was never changed to match its new distance.
The last cause is the most common. Scale and position are linked. When you move an element up or down the frame, you are also moving it nearer to or farther from the camera, so you must resize it.
The rule: size follows distance
For objects standing on a flat ground, apparent size is inversely proportional to distance from the camera. An object twice as far away looks half as tall.
The horizon line gives you a practical way to use this. When the camera is at eye level, the horizon crosses every standing person at the same height on their body, roughly at eye level. This works for any person, near or far, as long as they stand on the same level ground as the camera. Taller or shorter people sit above or below the line in proportion.
Method 1: the horizon-line method
Use this when the plate has a visible horizon and level ground.
- Add a guide at the horizon. Drag from the ruler (View > Rulers, Ctrl/Cmd+R) and place it on the horizon you found earlier.
- Place your element at the spot where its feet will stand.
- Scale it with Free Transform (Ctrl/Cmd+T) until the horizon guide crosses it at the correct height. For an adult of average height, that is near the eyes. For a child, the guide crosses above the head level of the child's eyes, so the child's eyes sit below the line.
- Check the feet. The base of the element must touch the ground at the spot you chose.
Hold Shift while dragging a corner handle to keep proportions. In current Photoshop versions, proportional scaling is the default for pixel layers and Shift toggles it off, so check your Maintain Aspect Ratio (link) icon in the options bar before you drag.
Method 2: the reference-object method
When the horizon is hidden by trees or buildings, measure against something of known size in the plate.
- Find an object whose real height you know, such as a door (about 2 m), a car (about 1.5 m) or a lamp post.
- Mark its top and bottom with two guides, or draw a thin line on a new layer.
- Compare your element to it. Decide how tall the element should be in real life. Then size it as a fraction of the reference at the same distance.
- Move the element to the reference object's ground position and compare the heights directly. Then slide it to its final position and scale it using the ratio of distances.
Photoshop's Measure tool, nested under the Eyedropper tool, gives pixel lengths. Drag it from the base to the top of the reference, and read the length in the Info panel (F8). It shows the length as D.
Worked example: a person in a street scene
Suppose a street plate has a door at the middle distance. The door is 410 px tall in the image, and it is 2.0 m in real life. You want a 1.8 m person standing next to it.
The scale is 410 px / 2.0 m = 205 px per metre. The person should be 1.8 × 205 = 369 px tall at the door's distance.
Now you move the person closer, so their feet sit lower in the frame. You need the ratio of distances. If the new spot is half as far from the camera, the person must be twice as tall, 738 px.
You can run the same arithmetic in a small script. This one is plain Python and needs no libraries:
def element_height(ref_px, ref_m, subject_m, ref_dist, new_dist):
"""Pixel height for a subject at a new distance from the camera."""
px_per_m_at_ref = ref_px / ref_m
height_at_ref = subject_m * px_per_m_at_ref
return height_at_ref * ref_dist / new_dist
# Door: 410 px tall, 2.0 m, at 10 units from the camera.
# Person: 1.8 m, standing at 5 units from the camera.
print(round(element_height(410, 2.0, 1.8, 10, 5)))This prints 738. You rarely know real distances in a photo, so in practice you use the horizon method to get the ratio. The script is useful for checking your numbers when a scene has several elements.
Ground position and the grid
Distance on the ground maps to vertical position in the frame. Points lower in the frame are nearer. Points that sit on the horizon are infinitely far.
A useful trick is to build a scale ruler. Place one copy of your element where you want it. Duplicate it, then move the duplicate to another position on the ground and scale it until the horizon again crosses it at the same relative height. The line connecting the tops of the two heads should run to the same vanishing point on the horizon as the line connecting the two sets of feet. This is a check, and it works for any number of identical objects.
Keep scale non-destructive
Resizing a pixel layer repeatedly loses detail. Each transform resamples the pixels.
- Convert the element to a Smart Object before you scale it (right-click the layer > Convert to Smart Object). You can then rescale as often as you like without losing quality, as long as you never exceed the original size.
- Scaling up beyond 100% of the original still enlarges pixels and softens detail. If you need a big increase, go back to the source file, or use Image > Image Size on the Smart Object's contents with a preserve-details resampling method.
- Check the percentage in the options bar while you transform (the W and H fields). Note it down. If you add more elements from the same source photo, use a consistent resolution.
Edge cases
- Different resolutions. A small element at 72 ppi and a large plate at 300 ppi will force heavy upscaling. Compare pixel dimensions, not print size. If the element has far fewer pixels than the plate, expect softness and plan to match sharpness later.
- Wide-angle plates. Near the frame edges, a wide lens stretches objects. A person placed at the corner can look distorted even at the right size. Move them toward the centre or use Warp to reduce the stretch.
- Sloping ground. On a hill or ramp, the horizon method fails because the ground is not level with the camera. Use the reference-object method instead, and compare against objects on the same slope.
- Seated, bent, or leaning figures. The horizon rule applies to the eye line of a standing person. For others, estimate the head height from a standing figure and adjust.
- Mixed camera heights. If the element was photographed from a lower or higher camera than the plate, scale alone will not fix it. The viewing angle is wrong, and you need the perspective tools from the previous chapter.
Common errors
| Symptom | Likely cause | Fix |
|---|---|---|
| Element looks like a giant or a miniature | Scaled by eye, no reference | Use the horizon guide or a reference object |
| Element looks pasted on top | Feet do not sit at the right ground position | Move the base to a point on the ground and rescale |
| Element looks right but soft | Upscaled past 100% | Return to the original, or sharpen later |
| Several figures look inconsistent | Heads do not follow a line to the vanishing point | Draw lines through heads and feet and adjust |
| Element is correct in the centre but wrong at the edge | Lens distortion | Warp or move the element |
Final check
Before you move on, toggle the element's visibility and look at the plate alone. Ask where a real person would stand and how large they would appear. Then switch the element back on. Squint, or shrink the view to a small thumbnail with Ctrl/Cmd+minus. Scale errors that hide at full size often show at thumbnail size.
Exercise
A background photo shows a 2.0 m door that measures 300 px tall. You place a 1.7 m person at the same distance as the door. How tall in pixels should the person be? You then move the person to a spot twice as far from the camera. What is the new height?
Show answer
Scale at the door is 300 / 2.0 = 150 px per metre, so the person is 1.7 × 150 = 255 px tall. At twice the distance the height halves, so the new height is about 128 px (127.5).
Exercise
The horizon in your plate sits at eye level for the camera. You place two adults of average height at different distances. Where should the horizon guide cross each of them, and why does this help you scale them?
Show answer
The guide should cross both at about eye level. Because the camera is at eye level, any standing adult on level ground is cut by the horizon at the same height on the body. If the guide crosses one figure at the chest and another at the head, one of them is scaled wrongly.