• About pixelens
  • Services
  • Portfolio
  • Contact

HDR : Battle Royale!

NOTE: Clicking on the images in this post will open them larger in a new window.

High Dynamic Range Imaging

HDR, or High Dynamic Range Imaging seems to be all the rage these days. HDRI is described as:

In image processing, computer graphics and photography, high dynamic range imaging (HDRI) is a set of techniques that allows a greater dynamic range of exposures (the range of values between light and dark areas) than normal digital imaging techniques. The intention of HDRI is to accurately represent the wide range of intensity levels found in real scenes ranging from direct sunlight to shadows.

More accurately however, the images that are commonly seen and referred to as HDR or HDRI images are tone-mapped.

Tone mapping is a technique used in image processing and computer graphics to map a set of colours to another; often to approximate the appearance of high dynamic range images in media with a more limited dynamic range. Print-outs, CRT or LCD monitors, and projectors all have a limited dynamic range which is inadequate to reproduce the full range of light intensities present in natural scenes. Essentially, tone mapping addresses the problem of strong contrast reduction from the scene values (radiance) to the displayable range while preserving the image details and color appearance important to appreciate the original scene content.

Definitions and technicalities aside, I decided to look into HDR and tone mapping a bit closer to see if there really was a difference between different processes. I was curious to see if there was noticeable differences between generating HDR/tone-mapped shots from a single RAW, multiple RAWs, multiple JPGs from the camera, and multiple JPGs generated from a single RAW. For the purposes of the rest of this post, I will be referring to my final images as HDR images (even though we all now know that’s not exactly correct).

Here is the original, straight out of the camera image shot with my Canon Digital Rebel XT/350D.

HDR Test : Original Image

Honestly, not a bad image for SOOC! Anyways, the recommended way to produce HDR is to take multiple exposures using your camera’s Auto Exposure Bracketting (AEB) setting. I’m not going to get into the details on this, I’m merely posting my comparison results here.

ReDynaMix

In the past, I’ve used the ReDynaMix Photoshop plugin to generate my HDR images from a single RAW file. It really can’t be beat for the $16 price tag. It worked pretty decently, but I’d heard that Photomatix was a much better program to use. Below is the image above run through the ReDynaMix plugin.

HDR Test : ReDynaMix

Not too shabby.

Photomatix

Photomatix is a much more robust, and more expensive ($99), program to use but allows for blending of multiple exposures into a single HDR file, as is recommended. I’m going to be up front here. I don’t walk around with my tripod in my back pocket, so taking multiple exposures without getting movement is very difficult. I tried Photomatix ages ago, but for some reason I guess I just wasn’t steady enough. Fortunately, this set of multiple exposures turned out and aligned nicely when I imported them into Photomatix. The three shots were taken at an exposure value of 2, meaning I had a shot that was properly exposed, one that was underexposed by 2 steps and one that was overexposed by 2 steps. Because the Canon Digital Rebel series only allows for 3 photos in AEB mode, that is all I am going to use.

Using the .CR2 (RAW) files out of the camera I created the HDR image you see below (note, clicking this image takes you to the Flickr page). I processed it as I normally would process for HDR, tracked the settings and made some final curves and unsharpen mask adjustments in Photoshop.

BMW hood reflection

Pretty close to the ReDynaMix version, but definitely crisper and more variation between the dark and light areas. This is especially noticeable in the BMW logo area, below the BMW logo on the grill, the upper right corner, the dirt/water streaks and between the buildings near the top. A much better looking HDR image in my opinion.

As a comparison, I created an HDR image using the corresponding JPG files from the camera. I used the exact same Photomatix settings and Photoshop Curves and Unsharpen Mask adjustments. The image below is the result.

HDR Test : 3xp Camera JPG

Still cripser than the ReDynaMix version, slightly washed out I think from the RAW version, but not much.

Camera JPG or generated JPG?

If you’re still reading, thanks for sticking with me this far. This is what I was really wanting to test out. Are there noticeable results between exposures generated in camera, and exposures generated using Photoshop’s Camera RAW plugin from a single RAW? Using the Camera RAW plugin for CS3, I can generate JPG files with various exposure values ranging from -4 to +4. For the intent of this test, I created a -2EV and +2EV from the 0EV RAW file out of the camera, and used the 0EV JPG from the camera as well. Below are comparison shots of the in camera EV JPG files (on the left) and the Photoshop generated EV JPG files (on the right). The top image is +2EV, the bottom -2EV.

HDR Test : +2 EV Comparison

HDR Test : -2EV Comparision

As you may be able to see, the Photoshop generated JPG files are a bit lighter and washed out, but only slightly.

Using the two newly generated EV JPG files and the originally exposed JPG from the camera, I recreated the HDR image, again using the same settings as before. The images below are a comparison between the in camera JPG HDR file (top) and the Photoshop generated JPG HDR file (bottom).

HDR Test : 3xp Camera JPG

HDR Test : 3xp Photoshop JPG

Can you see the difference? Sometimes I think I can, then other times I think I can’t… there are some areas that are a little lighter and perhaps washed out, for example the area below the BMW symbol, but all in all, it isn’t much.

The final test: 3xp or 7xp?

And that concluded my test. Or so I thought. I see people producing HDR images with 3, 5, 7 and even 9 exposures set to various EVs from 1/3, 1/5, 1 and 2. So I thought I’d do a quick comparison between an HDR using the 3 Photoshop generated exposures and 7 Photoshop generated exposures with an exposure value of one. In layman’s terms, the bottom image above uses +2, 0 and -2 EV JPG files, the image below uses +3, +2, +1, 0, -1, -2, and -3 EV JPG files.

HDR Test : 7xp Photoshop XP

Some obvious differences between the two images, there’s a bit more range in the 7 exposure version, which is understandable.

The verdict

Thanks for hanging in there, hopefully I saved you some time with having to go through this process yourself. The image below (clicking will take you to the Flickr page, which you may have found this article on) is the 4 final HDR versions in a mosaic for easier comparison. Top left: 3 exposure, 2 exposure value, in camera RAW; top right: 3 exposure, 2 exposure value, in camera JPG; bottom left: 3 exposure, 2 exposure value, generated JPG; bottom right: 7 exposure, 1 exposure value, generated JPG:

HDR Test : Final Results

Seeing the images together like this, you can see subtle differences between the three 3 exposure shots (top left, top right and bottom left), and you can see a bit more color variation in the bottom right 7 exposure shot. I do think that the HDR generated from the camera .CR2 (RAW) files turned out the best, I wish my camera was capable of doing 5 or 7EV shots without having to change the settings, and I also wish I was a human tripod. That being said, neither is going to happen and if I showed you each of these images separately, unless you are an HDR geek/expert/guru, you’d be hard pressed to see the differences or tell me one looked better than the other. That being said, I’ll most likely use the Photoshop generated JPG files for my HDR’s unless I have a tripod or can be certain I won’t budge between exposures. Besides, I’d never get an HDR like this based on 3, 5, 7 or 9 EV exposures in a camera:

Envy...

Thanks for stopping by, and I hope you found this informational and useful! Happy HDR’ing.

EDIT: Was reading on a thread over at Flickr and someone mentioned exporting the Photoshop adjusted EV’s as TIFF files and using those in Photomatix. Might have to try that out.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Tags: bikers, bmw, car, comparison, hdr, hdri, hood, motorcycle, motorcycles, photomatix, photoshop, redynamix, reflection, test, tone mapped, tone mapping, tutorial

06 Jun 08 | Tips, Tutorials, hdr
« Shooting the sun…
She’s a winner! »

13 Responses to “HDR : Battle Royale!”

  1. Mike | June 6th, 2008 at 10:51 am

    Nice work man! Thanks for doing all the work so that I didn’t have to :-P

  2. Sime | June 6th, 2008 at 3:45 pm

    J, great article… send it through? simon@gtvone.com

    Sime.

  3. farhantauheed | June 6th, 2008 at 4:53 pm

    gr8 article really helpful

  4. Giya | June 10th, 2008 at 8:37 am

    Very interesting. I have not used Photoshop to produce multiple exposures of a single RAW/JPG for an HDR composite. A few quick things. First, I have used Photomatix, but not the ReDynamics program. But your missing out on one more excellent HDR program! Dynamic Photo HDR http://www.mediachance.com/hdri/index.html. It gives you a different interface and some different tone mapping functions.

    Second, I think you are missing a critical item when you use Photoshop to change exposures. If the shadows and highlights are under/overexposed enough, your camera won’t pickup any of the details in those areas. If the camera couldn’t capture that information Photoshop is not going to be able to magically create it from nothing. Therefore a true HDR composite will have a significantly superior dynamic range than using Photoshop to alter exposures. Maybe not in all cases, but certainly situations where there are extremely bright and extremely dark areas present in the same photo.

    The only thing I would say is that the above HDR images that used RAW files have much better color response vs. the JPG files.

  5. disco~stu | June 11th, 2008 at 7:21 am

    great explanation…dood super dooooper!

  6. Jason | June 11th, 2008 at 12:52 pm

    Thanks for the comments…

    Giya: I chose to run the test with Photomatix as that is what seems to be the most popular in the HDR world these days for combining multiple images. I’ll have to give Dynamic Photo HDR a look in the near future. As for your second point, I’m creating the varied exposures out of the 0EV RAW file from the camera (which is 12 bits wide, not 8 like JPGs) , not adjusting it from a JPG file itself. It’s like changing white balance on a RAW file - it does it as accurately as if you did it in camera. From wikipedia (http://en.wikipedia.org/wiki/Raw_image_format#Benefits):

    “Camera raw files have 12 or 14 bits of intensity information, not the gamma-compressed 8 bits typically stored in processed TIFF and JPEG files; since the data is not yet rendered and clipped to a color space gamut, more precision may be available in highlights, shadows, and saturated colors.”

    Yes, I do understand you may lose some information, and yes I do agree that an HDR created from 3, 5, or 7 RAW files will give you a slightly better output. If you look at the end result though, the difference to the eye is pretty negligible between a 3xp RAW, 3xp JPG, 3xp JPG from 0EV RAW, and 7xp JPG from 0EV RAW.

  7. Pixelpainter | June 11th, 2008 at 7:26 pm

    Great article. Very interesting! Thanx!

  8. pixelens photography » Blog Archive » Published! | June 18th, 2008 at 10:27 am

    [...] sort of… submitted my article on HDR processing to DPS for consideration. Just found out they published it! Thanks Darren and DPS [...]

  9. pixelens photography » Blog Archive » Tone-mapping: Single RAW vs 7 exposures generated from single RAW | June 20th, 2008 at 9:31 pm

    [...] a few people inquiring after reading my blog post about HDR if I’d tried tone-mapping from a single RAW file. So here’s the result… the top [...]

  10. Don McMahan | October 15th, 2008 at 1:59 pm

    when creating multiple exposures from a single raw file i always save them as tiffs rather than jpegs, less compression losses.sorry to toss yet another variable into the mix but it should, at least theoretically, give better results than jpegs

  11. Michael | November 17th, 2008 at 11:09 pm

    Great article. I use PhotoMatrix and find it very simple , not to mention effective. Well worth the $ for the ease of use. thanks again…

  12. mark | December 29th, 2008 at 10:14 pm

    Good job, thanks! Dunno what that line across the hood of the BMW is, but it’s REALLY distracting.. with a paint flaw like that, I would have chosen a different subject for the tutorial, but otherwise - nice job.

  13. Jason | December 30th, 2008 at 10:39 pm

    If you’re talking about the line that starts about a quarter of the way up from the bottom on the left and ends about a third of the way from the top on the right, that’s one of those plastic coatings they put on vehicles up here to protect against rock chips and the likes… glad you liked the tutorial anyways!

Leave a Reply

Buy my art at ImageKind.com.

Recent Flickr uploads

.dexterBest of 2008?.rose.winter.reflected.winter

Categories


Recent Posts


  • 22 Photo New Year’s Resolutions for 2009
  • Canon 5D Mark II
  • Spy vs. Spy!
  • Canon EOS 50D
  • PhotoCalc for iPhone
  • Photography Sites


    • Photojojo
    • Digital Photography School
    • DIYPhotography.net
    • threesixtyfive | website
  • Camera Sites


    • EOS Digital Rebel XTi
    • EOS Digital Rebel XT Tutorials
  • Software


    • Adobe Photoshop Lightroom
    • Adobe Photoshop CS3
    • Photoshop Insider
  • Tutorials


    • Adobe Photoshop Lightroom Tutorial
  • Books


    • Canon EOS Digital Rebel XTi/400D Digital Field Guide
    • Digital Photographer’s Handbook: Third Edition
    • Adobe Photoshop CS3 Book for Digital Photographers
    • Adobe Photoshop Lightroom Book for Digital Photographers
  • Photo Blogs


    • Absolute Ramblings
    • Behind the Shadows
    • Marshall’s Photo Blog
    • Nicole’s blog - Vox
    • rojojam.com
    • Shaun Wilkes Photography
    • Photoblogs.org - The Photoblogging Resource
  • pixelens on the web


    • Imagekind.com
    • JPG Magazine
    • Flickr
    • threesixtyfive
  • © pixelens photography · RSS Feed
    Design by Luka Cvrk · Wordpressed by Ericulous · Customized by pixelens.com