Perspective Correction

Perspective correction is an editing step that straightens lines that lean because the camera was tilted. Point a camera up at a building and its walls appear to narrow toward the top, an effect called keystoning or converging verticals. Tilt down at a table and the near edge grows wider than the far one. The lens did nothing wrong; the tilt changed the angle between the sensor and the subject. The correction stretches the narrow end of the frame until the lines run parallel again, as if the camera had been held level. A wide-angle lens shows the effect most because it takes in more above and below eye level.

pit

This corridor at the Langen Foundation was shot on a 13mm lens from below the center of the wall, and a small perspective correction brought the verticals back to straight. The concrete seams and roof beams run parallel from floor to sky, while the lines heading into the distance still converge, which is normal perspective.

How perspective correction affects photography

The tool has three main sliders. Vertical fixes lines that lean from tilting the camera up or down. Horizontal fixes lines that converge from shooting a wall at an angle. Rotate levels a tilted horizon. An automatic mode reads the straight edges in the photo and sets all three, and a guided mode lets the editor draw lines along edges that should be straight. The tool sits next to lens correction, but the two fix different problems. Lens correction reverses flaws in the glass with a stored profile; perspective depends on where the camera pointed, so no profile can predict it.

Correction has a price. Stretching one end of the frame leaves empty wedges at the corners, and cropping them away means a corrected photo covers a narrower field of view than the capture. Strong corrections also make a tall building look top-heavy, because the eye expects some convergence. Many photographers leave a hint of lean so the building still looks tall.

Not every lean needs fixing. Aiming straight up at a skyscraper so its walls rush toward a vanishing point is a deliberate point of view, and correcting it would flatten the drama. Photographers who need straight lines at capture use a tilt-shift lens, which slides the front of the lens upward while the camera body stays level, or step back and shoot from a higher floor so no tilt is needed.

Tips for working with perspective correction

  • Keep the camera level at capture, especially for symmetry shots, and use the grid or electronic level in live view.

  • Leave room around the subject. Correction crops the corners, so tight framing loses the top of the building.

  • Run lens correction first. The profile moves where the edges land.

  • Use the guided mode on two vertical edges when the automatic mode picks a sloping roof instead.

  • Check the aspect slider after a strong vertical fix. Stretching the top makes a building look squat.

Frequently Asked Questions

Perspective correction is an editing step that straightens lines that lean because the camera was tilted when the photo was taken. Tilting up at a building makes its walls converge toward the top; tilting down makes the near edge of a floor or table wider than the far edge. The tool stretches the narrow end of the frame until those lines run parallel again, then crops away the empty corners. Lightroom calls it Upright or Transform, Capture One calls it Keystone, and most phone editors offer Vertical and Horizontal sliders.

Keystoning is the wedge shape a rectangle takes on when it is photographed at an angle instead of straight on. A building shot from the ground looks wider at the base than at the roof, like the keystone at the top of a stone arch. The effect comes from the tilt of the camera, not from the lens. A projector pointed up at a screen shows the same wedge, which is where the name comes from.

Because the camera was pointed upward. When the sensor tilts back to fit the top of a building into the frame, the top of the building is farther from the camera than the base, so it records smaller. The walls appear to lean toward each other and the building seems to fall away. Keeping the camera level and stepping back, shooting from a higher spot, or applying perspective correction in editing all bring the walls back to vertical.

Lens correction fixes flaws built into the lens: barrel or pincushion distortion, dark corners, and color fringes. It uses a stored profile for that lens model and gives the same result every time. Perspective correction fixes converging lines caused by the camera angle, which changes with every shot, so no profile can predict it. Editors keep the two in separate sections of the same panel. Lens correction should run first, because it moves the edges the perspective tool reads.

Yes. Stretching one end of the frame to straighten the lines leaves empty wedges at the corners, and the software crops them away to keep a rectangle. A light vertical fix loses a few percent of the frame; a strong one can lose a quarter of it, mostly from the top and the sides. Framing with extra space around the subject at capture leaves room for that crop. Some editors offer a fill option that paints in the missing corners instead.

Keep the camera level. Turn on the grid or the electronic level in the viewfinder, hold the sensor parallel to the building, and step back until the whole subject fits. Shooting from a higher position, such as a stairway or a window across the street, puts the camera closer to the middle of the building so less tilt is needed. A wider lens with the camera level and a crop afterward keeps the verticals straight. A tilt-shift lens solves the problem optically.

A tilt-shift lens moves its front element up or down while the camera body stays level, so the whole building fits in the frame with straight verticals at the moment of capture. Nothing is stretched or cropped afterward, so the corners keep full sharpness and the full field of view. Perspective correction in software stretches pixels and crops the frame, which softens the corners slightly. Tilt-shift lenses cost more and focus manually, so most photographers rely on the software fix.

Yes. The rotate slider in the same panel levels a horizon that slopes because the camera was not held straight. Automatic modes usually detect the horizon or the dominant vertical edge and level it in one click. Rotation also crops the frame, since a turned rectangle no longer fits inside the original one. A tilted horizon and converging verticals often appear together, and the automatic mode fixes both at once.

No. Convergence is how depth looks to the eye, and a photo with every line forced parallel can look flat or top-heavy. Looking straight up at a skyscraper so its walls rush to a point is a deliberate style, and a tall building with a slight lean reads as tall. Correct verticals when the subject is a building or a room shot from near eye level and the lean looks like a mistake. Leave them when the angle is the point of the picture.

Yes. The built-in editors on iPhone and Android phones include Vertical, Horizontal, and Straighten sliders under the crop tool, and they work the same way as the desktop versions. Some camera apps go further and correct the perspective while the photo is being taken, using the phone's motion sensors to detect the tilt. Phone lenses are wide, so the effect shows up often, and the correction crops a noticeable slice from the frame.

Discover more

There's so much photography to see.

Sign Up
Profile pictureProfile pictureProfile picture

Community, not comparison

Build relationships with and learn from other photographers while enjoying a chronological feed and no public counts.

Learn more

Focused features

Gorgeous apps, public profiles, appreciations, categories, ad free, high quality images, camera and lens feeds…

Learn more