7 Methods to Create Realistic HDR Images

Mention the phrase “HDR photography,” and you will definitely get some cringes. HDR is one technique that you either love or hate. Fortunately for me, I have been using this technique to create many of my images ever since I picked up a DSLR, and it is a tool I definitely have grown to appreciate. Personally, I love taking photos during sunset and sunrise, which means most of the scenes I encounter are of extreme contrast and therefore high dynamic range. Depending upon the shot, it can be nearly impossible to create a tonally balanced image without doing HDR photography of some kind, although there are many different methods of blending exposures with different results, some more natural than others.

When learning how to create HDR images, most of us probably started off using HDR software. Combining multiple exposures and tone-mapping take only a few minutes and we are often impressed by the result because the image simply pops. While this is all good, it is also the reason why HDR photography has a bad reputation. HDR software merges multiple exposures automatically and the tone-mapping algorithm often creates a visual effect that seems “out of the world.” Even though we have control over how much adjustment to apply, it is easy to go overboard and end up with an image that looks distastefully unnatural.

If you enjoy HDR photography as I do, then you should know that tone-mapping is not the only way to create HDR images. Instead of relying on mathematical equations to do the work, you can create HDR images manually. That process is known by the more general term of exposure blending. Don’t be put off by the word “manual”; it simply means you take control of how you like your exposures to be merged and image processed. Blending exposures manually also help to train your mind to think how you can create your image more creatively. In this article, I’m going to show you how to blend exposures in 7 different ways. It is useful to know all your options because not every photo should be post-processed the same way; this way, you have the tools to deal with any high dynamic range scene mother nature may throw at you. Some of these blending techniques may also be used in composite photography. I have listed them below from the easiest to the most technically challenging.

What You Need For Exposure Blending

  1. Multiple exposures of the same scene, preferably shot using a tripod.
  2. Image editing software that supports the use of layer masks (e.g. Adobe Photoshop).
  3. Computer mouse.

You may wonder if you need a tablet such as a Wacom tablet. Personally, I think it is not essential. It is useful to have one because you can make use of the pressure sensitive stylus for blending. Having said that, you can certainly do without it. Apart from that, you should know how layer masks work. All the blending techniques I’m going to explain here are basically layer masking. The difference with each technique is how to create the selection to mask.

Assumptions

I’m using Adobe Photoshop CC 2018 for the purpose of this tutorial. Not to worry if you are not using the same software. All the steps I’m going to demonstrate here are generic. This means if you have a software that supports layer masking, you should be able to follow the principles to replicate the result.

As all the blending techniques are based on different ways of masking layers, I’m going to assume you already have a sound knowledge of basic layer masking. Finally, to ensure we are on the same page for all the examples given below, assume there are 2 exposures of a sunrise image with the darker exposure on top of the brighter exposure.

Canon EOS 5D Mark II + EF16-35mm f/2.8L II USM @ 23mm, ISO 100, 1/25, f/18.0
Canon EOS 5D Mark II + EF16-35mm f/2.8L II USM @ 23mm, ISO 100, 1/100, f/18.0

1. Instant Blend

I came across this one in the Luminous Landscape and I have to say it is the easiest of all techniques explained here. It essentially involves copying the bottom layer and paste it on the layer mask of the top layer. You can use this to blend any kind of images. Although it is quick and simple, it may not always deliver good results.

To blend your images instantly, first, add a white layer mask to the top layer. Next, Cmd/Ctrl click the bottom layer to select the whole image. Then, Cmd/Ctrl C to copy the selection. Pay attention to the next step because it doesn’t work if you don’t follow exactly what I’m about to tell you. Now, Opt/Alt click on the layer mask of the top layer and Cmd/Ctrl V to paste the selection on to the layer mask. You should now see your images blended already!

Final result of the image blended with Instant Blend. It looks slightly underexposed which can be easily fixed with simple tonal adjustment.

2. Apply Image

On first sight, it may look similar to instant blend but the method behind is actually more sophisticated. Similar to the technique above, the blending is all done for you by the software but with more promising results than Instant Blend.

After applying a layer mask to the top layer, ensure the layer mask is clicked to select it. Go to the main menu and select Image and choose Apply Image. The images blended instantly and a new panel pops out with several drop-down menus for you to choose. By default, Layer is Merged, Channel is RGB and Blending is Multiply. I recommend keeping the first and the third as it is. In Channel, you can experiment with the individual RGB channels to see if the image blends better. In this example, I chose Blue because blue is the predominant color in the image and it does make the blend looks slightly better. Click OK once you are done.

Image blended with Apply Image. It looks slightly better compared to Instant Blend but still could do with further tonal adjustment.

3. Gradient Mask

Gradient Mask works in a similar way as a graduated neutral density filter. The ideal image to use with this technique is one where the horizon is in a relatively straight line. If there are objects such as mountains or trees crossing the horizon into the sky, then it may not be blended properly.

First, select the Gradient tool from the tools panel. In the options menu above, ensure you select the Linear Gradient with foreground set to white. Now add a white layer mask to the top image. You are going to use the gradient tool to draw a vertical line on the layer mask. Do so by click, hold and drag the line down to where you want it to end. The length of the vertical line is the transition. Above the line will be all white and below the line will be all black. Personally, I would start the line from halfway into the sky and draw it halfway into the foreground. This creates a long and smooth transition to allow the images to blend more naturally. Experiment with the length of transition to see what you like. A useful tip is to hold down Shift to make sure you draw a straight vertical line.

Image blended using Gradient Mask has much better contrast.
The layer mask created using Gradient Mask.

4. Free Hand

The name itself is pretty self-explanatory. There is no selection to make here. All you do is paint on the layer mask of the top layer with either a black or a white brush, depending on whether you have added a white layer mask or a black layer mask. This technique is suitable if the images you want to blend have a relatively straight, non-complex horizon. Comparing this to the Gradient Mask, it is more tolerant of objects crossing the horizon as you can paint around it. This is also the case where it helps the most to have a tablet rather than a mouse, although you can do it successfully either way with enough care.

After adding a white layer mask to the top layer, select the Brush tool, set 100% opacity to begin with, 0% hardness, color to black and size to fairly large. You want to make sure the layer mask of the top layer is selected. Now paint black on the foreground and halfway into the sky. Switch the brush color to white and opacity to 50%. Now paint white from the sky to halfway down the foreground. Switch the brush to black again and opacity to 40%, paint from foreground to halfway into the sky. Repeat this process by switch the color of the brush while reducing opacity by 10% each time until you get to 10% opacity. By now, the transition from sky to the foreground should look beautifully smooth.

Image blended using Free Hand technique. There is much better control in contrast as you decide where and how much you want to reveal/conceal.
The layer mask in Free Hand technique.

5. Color Range

This is a pretty neat technique to use if the areas you want to create a selection are in similar color. Unlike the blending techniques explained above, the transition in the image can be complex as long as the colors are relatively uniform.

As you are going to use color range to create the selection, you don’t have to add a layer mask first in this instance. From the top menu, go to Select and choose Color Range. A new panel pops out at this point and by default, your image turns into grayscale for you to visualize the selection. In the drop-down menu at the top of the panel, choose Sampled Colors. Use the eyedropper tool to click on a color in the image you want to create a selection on. Once you have clicked, the grayscale image will change to reflect the new selection based on the color you have chosen. You can repeat this as many times as you like until you are happy with the selection. Use Fuzziness to change the feathering of the selection and Range to change the intensity of the selection. Hit OK when you are done and you will see marching ants. Click on the top layer in the layers panel and add a layer mask. This will create a mask based on the selection.

6. Blend If

This method is a bit more technical and can take some time to understand how it works. But don’t be put off by the learning curve because it is one of the quickest ways to blend images and it allows you to fine-tune the blend. You can use this technique in images with any kind of horizon. However, it works best if there is good tonal separation. This means when you look at the histogram, you can see a good distribution of pixels in the shadows and highlights instead of all in the midtones.

To blend with Blend If, you must always work on the top layer. To begin, double-click on the top layer. Make sure you click on the empty space instead of the words or the icon. You should now see the Layer Style panel. By default, the Blending Options is selected with its menu displayed in the panel. At the bottom, you will see Blend If. Immediate to the right, there is a scroll down menu with Gray selected – keep that as it is. Below it, there are 2 sliding adjustments, one for This Layer and one for Underlying Layer. Let us start with This Layer.

This Layer affects the top layer, the layer you are working on. Note there is an arrow on each end. The left arrow is for the blacks and the right arrow is for whites. If you move the arrow for blacks to the right, the blackest blacks will start to disappear from the top layer. In other words, pixels to the left of the black arrow will be transparent and pixels to the RIGHT of the black arrow will be visible. If you move the arrow for whites to the left, the whitest white will start to disappear from the top layer. Pixels to the right of the white arrow will be transparent and pixels to the left of the white arrow will be visible.

The Underlying Layer adjustment affects only the layer underneath without affecting the top layer. If you move the black arrow to the right, the blacks in the layer underneath will be revealed. Conversely, if you move the white arrow to the left, the whites in the layer underneath will be revealed.

If you feel the changes are too drastic when moving any of the arrows, you can split each arrow into 2 for more subtle and finer blend. By holding down Opt/Alt and left click on one side of the arrow, you are able to move only half of it. You can first move this half towards the direction you want before moving the other half to complete the blend.

Image blended with Color Range. The contrast in the sky looks slightly imbalanced because the color in the sky is not entirely uniform. I could have added more color by holding down Shift while sampling color with the eyedropper tool. But doing so includes part of the foreground into the selection which I didn’t want.

Both this image and the one below were blended using Blend If. In this one, I moved the dark arrow in This Layer.
Here, I moved the dark arrow in Underlying Layer. This is just to demonstrate there is more than 1 way to achieve the desired result.
Settings for Blend If in This Layer.
Settings for Blend If in Underlying Layer.

7. Luminosity Masks

For those who are not familiar with luminosity masks, it creates selections based on the brightness value of the pixels. It is impossible to explain everything about luminosity masks in a few paragraphs so I will deliver the key points only. If you have never heard of luminosity masks, I hope this sparks an interest in you to explore the topic further. As simple as it may look from the outside, luminosity masks can do a lot more than just selecting bright pixels. You can customize the mask to select pixels of different brightness, reverse it to select dark pixels and even do cross selection to create a highly targeted mask. Luminosity masks is my go-to method when other methods don’t work. You can use this technique to blend literally all kind of images.

Instead of explaining each step of the process, I shall walk you through the workflow of blending with luminosity masks instead. To blend the example images given here, I first select the bottom layer because I want to create the masks based on the brightness of this image. Looking through the luminosity masks, I know I’m going to select one of the bright masks because I want to blend the sky in. I routinely use painting a mask technique, which means I first add a black layer mask to the top layer, select a bright luminosity mask and load the selection on to the black layer mask. Then, I use a white soft brush to paint the sky back in from the darker exposure. Sometimes the blend can look a bit awkward when there is a big gap in exposure value between the 2 images. When that happens, I use the painting method explained in Instant Blend to create a smooth transition.

Image blended using luminosity masks. The contrast in both the sky and the foreground are better preserved in their source image compared to other techniques.
The layer mask after painted black and white with a bright luminosity mask.

Conclusion

Naturally, when we are given multiple choices we tend to want to stick to the best option possible. My aim is always to blend images in the most efficient way possible, and I use any technique that can achieve my goal. After creating HDR with exposure blending for several years now, I know which techniques work best for me I often go straight into it. Having said that, sometimes I do have to experiment with a few methods before I’m satisfied with the result. So, I think the key to blend images successfully is to know all your options, experiment with them, and take your time to find the ones that you prefer.

Exit mobile version