• home
  • forum
  • my
  • kt
  • download
  • Photoshop HDR Processing

    Author: 2009-05-13 09:29:22 From:

    Creating an HDR image in Photoshop is very simple:

    • Click Merge to HDR... in the menu (File > Automate > Merge to HDR...)
    • Click Browse button and select all the photos you want to use (at least two). The photos can be for example in JPEG or RAW format.
    • Click OK and Photoshop merges the photos automatically. This operation might take some time If you are merging many high resolution raw photos. (According to my experience it can take ½-3 hours when Intel Core 2 Duo 1.8GHz merges nine 14-bit 12 megapixel raw photos.)

    When the merging is done you see the preview window like in picture 2. On the left side you see the original photos, in the middle you see the HDR photo and on the right side you see the histogram. The red ticks in the histogram represent EV steps. Normal digital camera is able to capture 6-8 EVs of dynamic range. My HDR photo covers a dynamic range of almost 10EVs (picture 2). So there is more dynamic range than a single shot could capture. In my example the HDR image is made from 9 shots with 1EV intervals. Some might think that 9 exposures is ridiculously too much. It's true that the dynamic range of 10EVs could be captured even with just two shots but the result would be of lower quality. I don't know the merging algorithms of HDR programs but presumably they take best parts of the photos and / or do some averaging between the pixels in different shots and therefore noise is reduced effectively if there are several exposures. So several photos with small exposure intervals is better than a few photos with large exposure intervals (at least what comes to noise). My example photo is noise free even in the darkest shadows.

    (One might wonder, what is the meaning of the slider below the histogram. That's just for viewing the HDR image at different exposures. All the HDR image data remains intact while using the slider.)

    Saving the HDR Image

    After clicking OK in the HDR tool, the image is normally opened in Photoshop. At first it should be saved. An HDR photo can be saved for example to PSD or OpenEXR format. I personally use OpenEXR because it can be opened in several other programs (such as Photomatix) that support HDR imaging.

    Merge to HDR preview in Photoshop

    Picture 2. Merge to HDR tool in Adobe Photoshop.

    Original HDR Image in Photoshop

    In picture 3 you see how the original HDR image looks like in Photoshop. Let's examine it a little and set some goals. There are obviously several problems: yellow cast, perspective distortion, some barrel distortion, and distracting elements on the left side. My goal is to fix all these and create a symmetrical and simple high contrast photo with completely black sky.

    HDR image in Adobe Photoshop

    Picture 3. The original unprocessed HDR image in Photoshop.

    Basic Clean Up

    First, let's do some basic clean up to fix some problem areas. I adjusted the exposure slider (in the bottom of the HDR image) about +4EV to see the problem areas in the sky. My goal is to have completely black sky. If you look at the original image on the left (picture 4), you see several lens reflections and a few stars. I use Clone Stamp Tool and other copying methods to get rid of these (see the picture on the right). After clean up there are still some large faded lens reflections in the sky but these will be darkened to pure black later in the tone mapping process.

    HDR photo is cleaned from lens reflections

    Picture 4. Basic clean up in Photoshop.

    Perspective Correction

    The next step is perspective correction. First I turn Grid on (View > Show > Grid) to be my guide. Then I use Perspective Tool (Edit > Transform > Perspective) to fix the perspective distortion. After that I notice that there is unfortunately some barrel distortion. Barrel distortion is somewhat tricky to fix but doable with careful use of the Warp Tool (Edit > Transform > Warp). To keep the maximum image quality, It's best to commit all transform operations at once. In picture 5 you see the image after perspective correction.

    HDR image with corrected perspective

    Picture 5. The perspective is corrected.

    Removing Distractions and Creating Symmetry

    There are some distracting elements in the lower left corner of picture 5. Next I'll use Clone Stamp Tool and other copying methods to fix that area. Now the photo is cleaner and the effect of symmetry is stronger (picture 6).

    Symmetrical composition of Nikolai Church

    Picture 6. Symmetrical and simple.

    Removing Yellow / Red Cast

    Now is the time to remove the yellow / red cast from the HDR photo. I do that by applying Hue / Saturation adjustment filter. I decrease the saturation of reds and yellows (picture 7).