IMAGEWAVELAB
Geometry correction

How to Straighten a Photo and Fix Perspective

Correct a tilted horizon and converging architectural lines in the right order, then crop the empty edges without stretching important objects.

Open editor8 min read
Tilted source geometryTilted source geometry — How to Straighten a Photo and Fix Perspective
Straightened and cropped frameStraightened and cropped frame — How to Straighten a Photo and Fix Perspective
Use a real horizon for rotation and reliable building edges for perspective; decorative or naturally angled lines are poor references.

Rotation fixes a tilted camera, while perspective correction changes the geometry created when the camera points upward, downward, or sideways. Diagnose these problems separately, correct the largest structural error first, and leave enough border for the final crop.

STEP BY STEP

Recommended workflow

  1. 01

    Identify the reference lines

    Choose the true horizon, door frames, wall corners, or other lines known to be level or vertical. Ignore sloped terrain and intentionally angled design elements.

  2. 02

    Straighten the rotation

    Rotate the image until the horizon or primary horizontal reference is level. Do not crop tightly yet because perspective correction will move the corners again.

  3. 03

    Correct converging lines

    Use Perspective Warp with a modest adjustment so architectural verticals become believable. Watch people, circles, and edge objects for unnatural stretching.

  4. 04

    Crop and inspect

    Crop transparent or empty wedges, preserve the intended aspect ratio, and compare the result with the original at normal size before committing.

Rotation and perspective are different errors

When every line leans by roughly the same angle, the camera was rotated and a simple correction can level the frame. When vertical lines converge toward the top or bottom, the camera axis was not parallel to the subject plane.

Applying perspective correction to a rotation problem can bend geometry unnecessarily. Level the image first, then decide whether the remaining convergence is distracting or an intentional sense of depth.

Avoiding stretched subjects

Strong corner movements redistribute pixels and can widen people or circular objects near the frame edge. Make the minimum correction that solves the structural problem instead of forcing every line into mathematical perfection.

If an important subject distorts, reduce the warp, crop more tightly, or accept a small amount of convergence. A believable photograph is usually more valuable than perfectly parallel edges.

Common mistakes

  • Using a sloped shoreline or roof as if it were a true horizon.
  • Cropping tightly before perspective correction is complete.
  • Forcing perfect verticals while stretching people near the edge.
FAQ

Questions and answers

Should every building photo have perfectly vertical lines?

No. Some convergence communicates camera position and height. Correct it when it distracts from the subject, not by default.

Why do empty triangles appear after straightening?

Rotation and warping move the original rectangle inside a new boundary. Crop those uncovered areas or extend the background carefully.

Can perspective correction reduce image quality?

It resamples and stretches parts of the image, so strong corrections can soften detail. Work from the largest clean source and correct only as much as needed.

CONTINUE THE WORKFLOW

Tools and resources

All guides