Quick Tip: Straighten and Level Out a Crooked Photo

Quick Tip: Straighten and Level Out a Crooked Photo

Tutorial Details
  • Program: Adobe Photoshop CS2+
  • Difficulty: Beginner
  • Estimated Completion Time: 5 Minutes

Final Product What You'll Be Creating

Getting perfectly straight or level photos can be hard in some circumstances. Uneven ground or an off-centred camera can result in a crooked photo, and lower its quality. Using Photoshop, we can correct for these errors and create an accurately cantered and well-leveled photo.


Step 1: Opening the Image

Our first step is to open our image that we want to level or straighten out. The photo needs to have some visual elements, that when taking it where straight either horizontal or vertical straight.
For example edges of buildings/structures, horizon lines, etc. which should have a straight edge that we can use as a reference. In my case, I am using the photo below. When taking the photo, the building structure was straight, but unfortunately the ground was not, and I am left with this off-angled photo. However, this building is perfect to use as a reference to adjust my image.


Step 2: Using the "Ruler Tool or Measurement Tool"

Using the Ruler/Measurement tool (I), or within CS5 you can go via the menu: Analysis > Ruler Tool, we want to draw a line along a straight edge that we wish to re-orientate in the photo. I am going to use the edge of this building because I know this should be straight and aligned to the vertical axis.

Clicking and dragging from one point of the edge to the other (as seen below) gives us a line that Photoshop can use and recognise as a line that should be straight.


Step 3: Method One, "Straightening" (CS5)

Using Photoshop’s inbuilt method of straightening is one way to correct the photo. With the line drawn and the ruler tool still selected, click the “Straighten” button on the ruler tool menu below the main menu bar. This should automatically straighten the image and accurately fit it to the line you drew. The tool also crops the image for you, removing empty space created by skewing the image in order to get it straight.

Our newly straightened image:


Step 4: Method Two, "Arbitrary Rotate" (CS2+)

Another and just as effective way to fix an image using the ruler tool is to do an arbitrary image rotation. With the line from the ruler tool still drawn on the unlevel photo, apply an “Arbitrary Rotation” (Image > Image Rotation > Arbitrary). Photoshop automatically finds the angle needed to rotate the canvas so the line is perfectly straight, and inputs this into the field. Select “Ok” while leaving the fields as they are.

After cropping out the edges of the photo that are empty due to the rotation, you should have a precisely aligned photo that adds to the overall composition of the image.

Both these methods work well in their own different ways. By experimenting with them, it’s possible to get an unlevel photo to look just right. Remember that this method can also be applied along the horizontal axis, with the ground or horizon line being perfect visual points to straighten a photo


Final Image

Tags: Tips
  • neil

    I like this. One of my legs is longer than the other so all my photos come out looking like the original shot. Now I can fix it in post.

  • Nick

    LOL :-)

  • http://www.17ps8.com peter

    good tip i think so

  • http://www.photoblog.net.ms Andreas Schroeder

    I’m not a fan of straightening in CS5. The ruler is useless when there is nothing you can use it on (like horizon lines or edges of buildings). Picasa’s rotate option is so much better in my opinion.

    • Suki C

      Another vote for picasa – so simple!!!

  • http://www.cwdmedia.co.uk Steve Braund

    Fantastic quick tip… I’d always done it ‘by eye’ previously, or by dragging a guide to align to. Thanks!

  • http://don-amine.deviantart.com AMINE BJD

    I LIKE THIS….

  • Allan Santiago

    I’m using the same technique in all my photos. It’s accurate than trusting your eye ;)

  • Aaron

    Go Swanston St!

  • http://google.com Peter

    never used Measure tool)
    Good article, thanks :)

  • http://google.com Peter

    never used Measure tool before)
    Good article, thanks :)

  • McAsh

    Thx! I’ve been using PS for quite some years now, but have never used Ruler tool before :) But I think I will now..

  • http://BruniusArt.pixbox.se jenny

    A really nice tip.I photograph a lot of buildings so this will come in handy :)
    Thanks.

  • http://www.clickgranada.com Jimmy

    Bring up grids (ctrl + ‘) Select all (ctrl + A) free transform (ctrl + T) then move the corners to line up the image with grids!

  • http://www.tylermccutchan.com Tyler McCutchan

    normally i just go with rotating it. Nice to know there’s other options which don’t crop the original.

  • http://www.ScrappyDigits.com/sd_blog/ ScrappyDigits

    Hi,

    Great tip – fast and effective!

    FYI, when you use the first method (“Straightening”), the rotation is done first and then the crop is done. So, if you don’t like the way the image was cropped, you can un-do to get back to the uncropped, but straightened image. This is helpful if you’re using the method to straighten an element on a transparent background that doesn’t have a lot of room around it because the crop step can sometimes remove part of the element in those cases and you don’t want that.

    Thanks again-

    -Mary

  • Yongsoo

    Key thing to remember when doing this:

    When you are shooting wide, where there are some distortions, you have to be careful which line you want to straighten. In this example, Aaron used the edge of the building on the far side. It was also on the right/top side of the photo. You can see that the building edges on the left side of the photo are heavily leaning left. What would have been better, is to use the edge of the building in the middle of the frame, preferably the one right above Starbucks. Though the difference may be subtle, it would look a bit more stable.

  • http://facebbok.com/carlos.h.san.juan Carlos H. San Juan

    I Have the Photoshop Elements 8,and i will try.Never Know about this!Very Good!

  • RJ

    It still bothers me that the prominent right angle to the left of the image is still skewed.

  • Tom V

    If you find a line to straighten at or near the center of your original image, and then straighten according to that angle, the result is more true to reality. Then you can correct the perspective of verticals near the edges using the perspective corrections.

  • Kassis

    if you use
    edit
    transform
    distort
    you can fix ALL sides of the distorted image

  • Ying Yang

    Great tip – fast and effective!