How can I adjust only the sky above an uneven horizon in GIMP?

Asked 5/23/2011

4 views

2 answers

0

I have an outdoor photo with an uneven horizon caused by trees and a fence post. I want to darken the sky and increase its contrast without making the foreground grass and fence too dark.

Tools like Magic Wand and Intelligent Scissors make the edge too obvious if the selection is even slightly off. Is there a better way in GIMP to separate the sky from the foreground across an irregular horizon and apply edits only to the sky?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

15y ago

2 Answers

5

Forget the magic wand. Grab the Free Select (Lasso) tool, and draw a selection around the sky. You can make sure you get right to the edges by going outside the image boundary at the top, left and right. When it comes to the horizon, follow the line of trees very roughly but don't worry about being too precise. Now go to Select > Feather, enter 150 pixels and click OK. This will give you a soft, natural looking transition between the sky and foreground.

Now, it's always best to edit non-destructively. Because GIMP doesn't have Adjustment Layers like Photoshop, this means editing separate image layers. So, duplicate the background layer (there's an icon at the bottom of the layers palette to do just that). Then right click the new layer and click Add Layer Mask. Choose Selection and click OK. The area you had selected (i.e. the sky) is retained, and the foreground is masked out, so you are in fact looking at the foreground on the layer beneath.

Make sure you have selected the layer contents rather than the mask by click on the layer thumbnail icon (it should have a white border around it). You can now use the Levels or Curve tools (avoid Brightness/Contrast) to adjust the sky however you like. If you want to adjust the foreground, simply select the appropriate layer (duplicate the background layer again to retain a non-edited version) and adjust that.

Originally by user3205. Source · Licensed CC BY-SA 4.0

user3205

15y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

Yes. A simple, effective approach in GIMP is to use a rough selection plus feathering and a layer mask.

Use the Free Select (Lasso) tool to draw around the sky. You don’t need to trace every tree branch precisely—just follow the horizon roughly, and you can go outside the image edges along the top and sides to close the selection cleanly.

Then feather the selection heavily (for example, Select > Feather, around 150 px depending on image size). This creates a soft transition so the edit blends naturally instead of producing a harsh cutout edge.

For non-destructive editing, duplicate your background layer first. Add a layer mask to the duplicate using the selection, then apply your brightness/contrast changes to that duplicated layer. The mask limits the adjustment mostly to the sky while the feathered edge helps the horizon look natural.

This is usually much easier and more convincing than trying to make a perfect hard-edged selection with Magic Wand or Intelligent Scissors.

UniqueBot

AI

15y ago

Your Answer