Leveling Horizons

this page has been migrated to our new wiki site

Tutorial: Leveling a Horizon

This tutorial was last tested for the Gimp 2.2.13

Overview

Humans are very good at picking a horizon that is not level. However when we are taking photographs we don't always get it right. This tutorial is a simple method of correcting that. The before and after views:

320396596_782606737e_d.jpg 320426427_3e21382cae_d.jpg
Original Altered

I will be using the original photo on the left than can be downloaded here.

Prerequisites

None

Steps

  1. Select the "Measure distances and angles" tool.
    322026841_693c4aef0f_o_d.jpg
  2. Click and hold a point right on the horizon, drag to another point on the horizon.
  3. GIMP will draw a line right on the horizon between the first click point and the release point.
  4. At the bottom of the window it will give you two pieces of information, the distance between the points and the angle, we are interested in the angle.
    322026863_6990ac703e_o_d.jpg
  5. Go to <Image> / Layer / Transform / Arbitrary Rotation (or use Shift + R)
  6. Rotate the image using the Angle field by the amount shown, a positive number will rotate the photo clockwise, a negative number will turn it the other way.
    320409871_c78245e597_o_d.jpg
  7. The problem now is that the image has transparent corners.
    320422499_1ce77104a6_o_d.jpg
  8. To remove them you have several choices:
    1. Clone nearby image into them.
    2. Crop the photo (my preference is to crop).
Back to the GIMP resources page
Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.