Beginner’s Guide to HDR

Well, you’ve done cheap Macro photos in the last post, so it’s time to try this madfangled HDR thingy you’ve seen everyone doing.

HDR (High Dynamic Range photography) is taking a photo at low, medium and high exposure and blending them together to get the best results. You know how when you get a decent holiday sunset photo and the beach is just a black smear under the gorgeous sky, or you see all the details of the sands with a white sky? That’s what HDR kicks to the kerb. Check out this slightly exaggerated example to see what I mean.

sunset

HDR tries to get around the limitations of traditional photography to present images in the same way as the eye sees them. When you look at a sunset, you see the sky and the beach equally as clearly.

You can see the HDR photos on my Flickr page. As you can see, the more I do them, the less outrageous they become.

What you’ll need is a camera that does bracketing (more about this in a minute), a computer and some HDR software. We know you’ve got a computer as this isn’t a dead-tree edition so we’ll get on with the software.

Software

This is dead easy as you have two options and they’re the same on both Mac and Windows PC:

  1. Photomatix
  2. Adobe Photoshop and the Photomatix plug-in

Yes, there does indeed seem to be a pattern there. So, go get the demo of Photomatix and get your camera ready.

Camera Settings

Bracketing is the art of taking a photo and having the camera then take a darker one and a lighter one just to make sure you get the right levels of light. I won’t go into too much detail on how to do this as every camera handles it differently so open your manual and look for bracketing in the index. It’ll be there, even on lesser cameras. Oh, if you have ever read any other articles on HDR, they all stress the importance of having a good tripod, but if you don’t have a tripod, don’t worry as this tutorial is to get you past the hurdle of taking your first HDR photo to see if you like it. We’ll not be spending any money on this technique until you’re happy it’s worth buying the software and getting a decent tripod.

Before you get too bored of all this dry text, here’s the picture I’ll be showing you how to produce:

barge

Taking your first photos

Sunsets, skies and the like. This is what you should learn on. Getting a triptych of a decent sunset or two or should set you in good stead to discover the software, or if you want to take daytime shots, a decent half-cloudy sky should provide all the contrasty goodness you need.

I took three photos, without a tripod, at +2ev, 0ev and -2ev, which is posh-speak for dark, normal and light. You’ve looked up how to do bracketing on your camera by now, right?

See how on the left, you can see amazing cloud patterns in the sky but they’re above an inky blackness, and how on the right, the clearly pictured trees are sitting beneath a flat white sky? Normally, those would get stickers stuck on them by Boots the Chemist for being craply taken, but, in conjunction with the well-exposed middle photo, they are precisely what we want.

Before I forget, you need to be shooting all three shots with the same aperture settings. Look up “Aperture Priority” in your camera manual. Remember lower numbers (like f2.8) allow quicker shutter speeds but only have a short range of focus (depth of field) whereas higher numbers (f22, for instance) allow much more to remain in focus, but require more light or slower shutter speeds. If light allows it, go for higher aperture numbers, especially if you are using a tripod.

Photomatix

Load up the demo version of Photomatix and click on the Generate HDR Image button and select your three photos like so and click OK.

This will give you the settings as follows. The image alignment feature can make up for our spack-handedness not using a tripod. Click OK and wait for the progress bar to do its thing.

Just click through the next screen by clicking Tone Mapping.

On the next screen, you’ll get loads of options. If the photo looks too weird, click Default and start again. Settings can be saved and loaded.

Play with the settings until you get something that looks good. There are no hard and fast rules, but here’s one setting I find makes a huge difference in picking out detail: the Microcontrast slider.

Once you’re done, you may want to save your settings. However, you will want to press Process (cropped off the bottom of these grabs, I’m afraid) and watch the progress bar march relentlessly from left to right.

Save your picture and post it on the internet somewhere for all to see. Don’t forget, when you look back at your earlier HDR attempts, you may well cringe at how overdone they look. Don’t worry about that just yet. Play with the sliders to your heart’s content and get the outrageous manipulations out of your system.

Here are some examples of my HDR photos:

boats

Please take the time to comment.

Update: Photos now linked to Flickr. Go comment on them there.

Tags:



55 Responses to “Beginner’s Guide to HDR”

  1. Antonio Says:

    Oooh. I’ve been wondering about this. Next time I take my Rebel out, I’m going bracketing!

  2. William Duffy Says:

    Nice tutorial Jared…… That HDR with the boats is awesome!

  3. Beginner’s guide to HDR photography | Stut.net Says:

    [...] mate Jared has posted a most excellent tutorial on High Dynamic Range (HDR) photography. I haven’t tried this yet but I definitely will the next time I’m out with my camera - [...]

  4. Beginner’s Guide to HDR at Imaging Insider Says:

    [...] Read More… [...]

  5. Jeff Says:

    There is a free program called Picturenaut if anyone wants to dip their toes in the water: http://www.hdrlabs.com/picturenaut/

    By the way, your blog concerning munchy boxes caused me to soil my underwear and I will be seeking compensation.

  6. Lewis Says:

    Ooooo, i was wondering how people made those fotos. Wonder if my camera can do that? Wonder if I can find my camera manual…

  7. Jared Earle Says:

    Oh, before I forget, please Digg this story here:
    http://digg.com/arts_culture/Beginner_s_Guide_to_HDR

  8. Richy Says:

    I had no qualms in digging this guide.

  9. Khac Quan Says:

    Thanks for sharing, now I know how to impress others :0

  10. Kath Says:

    I sandwich slides (with different levels of focus) to get a dreamy effect. This looks like something else fun to play with. Thanks

  11. Arne Says:

    Hi,

    is there a plugin or tool for the gimp? Photoshop is great peace of software, put much to expensive for me.

    //Arne

  12. Jared Earle Says:

    Arne,

    Photomatix doesn’t need Photoshop to do this. What you can do is run the demo of Photomatix on its own and then open the result in The Gimp.

    ps. The Gimp sucks. No, really, it does. It’s a worthy and valiant attempt, but … yeah, it sucks. Friends don’t let friends use sucky software.

  13. Davy Boy Says:

    Even simpler HDR…, if your camera supports RAW, shoot one picture. Then use the Photomatrix plugin in tatty shop on your 16bit image (though it is more likely that unless you have a REALLY expensive camera, you’ll actually have a 12-14 bit image, but I digress). You’ll be amazed at how little difference it makes from the 3 photo approach, and means that you don’t have to shoot with a tripod… win-win!

  14. Jared Earle Says:

    RAW isn’t proper HDR per se. RAW will allow you to tone-map images, but at that point, you can convert a single JPEG to a 16-bit TIFF and tone-map it too.

    For instance, this was a single JPEG:

  15. Jimbly’s Blog » Archives » HDR Says:

    [...] http://blog.23x.net/7/beginners-guide-to-hdr.html [...]

  16. Jared Earle Says:

    Welcome b3tards. I hope you like my pictures. :)

  17. Ian Says:

    Am I right in thinking that the first of the big examples is Bowling Basin on the Clyde, at the end of the Forth and Clyde canal?

  18. John Smiths Bitter Says:

    This is a pretty lazy way of acheiving something using a tatty piece of software that you’d be better off learning to do the correct way in the long run…

  19. jonxyz Says:

    Great guide. If you’re a cheaparse like me and only have a standard Canon point and shoot (most of the Ixus range for example) then you can still get in on the action.

    Some bright sparks have rewritten the firmware to access a bunch of hidden features, including raw shooting and bracketing! Let joy be unconfined. There’s more info and the download at:
    http://chdk.wikia.com/wiki/CHDK_in_Brief

  20. Haggisbreeder Says:

    Could anyone recommend a good (camera) to do this with?

  21. sp3ccylad Says:

    This is top. I’ve dabbled in HDR before and I’ve told admirers of my photos that it isn’t hard. You’ve just showed them it isn’t; better than I could.

    Demystifying is cool.

  22. Dani Says:

    Wow, this is an EXCELLENT tutorial. I thought the muchy box one prior to this was informative and well-written, but this one is WONDERFUL. I have tried to read tutorials regarding this type of photography but I was always left feeling confused. I will be back to read any topic you choose to discuss here.

  23. Dani Says:

    Of course I meant “munchy box.”

  24. smiff Says:

    You can get similar results with any image, though its never going to be as good as a proper bracketed image.
    Just create 3 images in photoshop using the exposure setting to create one image -2 and one +2 exposure then build it into a hdr using either photoshop or photomatix.

  25. rory Says:

    I find as well if you edit your photo on IPHOTO on the mac and change the exposure manually you only need to take one photo. Duplicate the photo, change one to high exposure, and one to low exposure, leaving the original as it. Just in case you camera doesnt have this feature. Nice easy-to-use and understand blog though, thanks.

  26. brian t Says:

    Thanks for this - I must do more HDR work. For Linux users (and skinflint PC / Mac users) there’s an open source HDR application: Qtpsfgui (http://qtpfsgui.sourceforge.net/) that can save in various common HDR formats.

  27. smiff Says:

    lol Rory just beat you to it there:)
    Another nice trick is to flatten your final image, duplicate it then set the top layer to soft light and fine tune with the layer opacity.
    It works in a similar way making darks darker and lights lighter and deepening teh contrast of your colours.

  28. Jared Earle Says:

    @Ian
    Yes, this is from Bowling Basin on the Clyde.

    @John Smith’s Bitter
    Um, wtf? I’d love to know what the ‘correct way’ of doing this is. Let’s face it, you’re not going to get this in the lens without special filters and managed lighting. If you’re doing it off the camera, the moment you take it off the memory card, all bets are off; from that moment on, there is no ‘correct way’. If you have any tutorials that show us how to do this the correct way (remembering this is for beginners) then I’d love to be enlightened.

    @All those faking it with one image, what’s wrong with just converting the JPEG into a 16-bit TIFF in Potatoshop?

  29. Fiachra Says:

    Thanks!

    That’s a great article, and smashing photos.

  30. Mashcamo Says:

    I love clouds. I have billions of pics of them as I walk my dogs at sunset and sunrise most days and always carry a camera. But now I can have that bit under them as well in the shot, the ground! Hoopy Doo, I’m going to have fun slapping the pictures about until they look as good as yours. Fantastic. Just the carrot I needed to get me up in the morning to trapes about deserted fields in the wet yet again.

  31. shh.. don't tell the developers Says:

    A mate recently put me onto HDR and photomatix. He’s a PC guy. I’m a mac. But there is a hidden gem in the (PC-only) software to get rid of the demo’s watermarks. Tone map your image - and once your happy save the settings. Then flick into the ‘batch processing’ option - select images, and saved settings, and viola, no watermarks…and out of pocket developers. Catch it while i lasts.

  32. smiff Says:

    @Jared Earle

    “@All those faking it with one image, what’s wrong with just converting the JPEG into a 16-bit TIFF in Potatoshop?”

    Nothing I guess, don’t know enough to be able to tell you otherwise, as you said there is no correct way. I’ll have to give it a try though so cheers for that.

  33. boulette-sud Says:

    I will try this technic tomorrow! Many thanks for this tutorial.

  34. The Imaginary Reviewer Says:

    This is very cool. I shall have a look in the Missus’s camera manual and see what it can do. It’s a pretty decent camera, so it should have it. Here goes nothing!

  35. AlecMac Says:

    This is great fun.

    Anyone know what John Smith’s Bitter was on about, or is he just a random loon?

  36. Jared Earle Says:

    @AlecMac,

    No idea what he was on about. I think he was just a drive-by troll.

  37. John60wales Says:

    I really liked the ‘boats’ - one of the best HDR photos I’ve seen! I’ve dabbled in HDR myself [using Photmatix-basic] but was never happy with my un-realistic results.
    Maybe I should have kept on trying??
    Cheers
    John

  38. A guide to HDR photography | dan-jackson.com Says:

    [...] http://blog.23x.net/7/beginners-guide-to-hdr.html [...]

  39. Mike Says:

    @shh.. don’t tell the developers

    thanks for that! just tried it, it worked a treat! watermark free images. excellent.

    :)

  40. chocolatesa Says:

    Sh… don’t tell the developers - Thank you soooo much!!! I’ve been going crazy downloading other programs to get around the stupid watermarking, and nothing works right. Thank you!!!!

  41. Haggisbreeder Says:

    I’m a software developer on an very small income … I’ve worked for 15 years on projects just like this one, projects designed to make sure that these little computer programs are all easier for people like you to understand….

  42. The Beginners Guide To Photography. | 7Wins.eu Says:

    [...] to Photography info@almostaphotographer.com Sites you may be interested in Beginner’s Guide to HDR | The 23x blog Tags digital photography photography tip stock photography digital camera photography camera [...]

  43. Jared Earle Says:

    One piece of information I forgot to mention is that you should ideally be shooting in Aperture Priority mode. I’ve edited the article accordingly.

  44. Thomas Wright Says:

    So pretty… *sigh*
    Going to have to dig out my camera manual now, but it’ll be great to give my tripod some use.

  45. tom Says:

    […]Good site I “Stumbledupon” it today and gave it a stumble for you.. looking forward to seeing what else you have..later[…]

  46. Photography Articles Around the Web #7 Says:

    [...] High Dynamic Range Photography: http://www.point101.com/news/high-dynamic-range-photography-20.html http://blog.23x.net/7/beginners-guide-to-hdr.html http://techbutter.com/2008/06/02/high-dynamic-range-hdr-photography/ Share and Enjoy: These icons [...]

  47. dubpixel Says:

    Surely shooting one image in RAW and then creating three copies at -2, 0 and +2 EV in software and using them is the same as taking 3 JPGs with different EV values at shoot time?

    I just don’t understand how that be classed as “cheating” at HDR, as the whole point of shooting in RAW is that you can change EV value and WB later.

  48. Jared Earle Says:

    Shooting at +/-2EV isn’t the same as setting the exposure in RAW: Your camera simply doesn’t have 4EV stops of dynamic range in the sensor.

    If in doubt, try it. You’ll see that you cannot create depth and detail where there is none.

  49. 3 articles on High Dynamic Range Photography « Coliseo: bringing the fun back to the people Says:

    [...] http://blog.23x.net/7/beginners-guide-to-hdr.html [...]

  50. Tim Says:

    @All those faking it with one image, what’s wrong with just converting the JPEG into a 16-bit TIFF in Potatoshop?

    Well, nothing, but it doesn’t gain you anything.

    Think of the histograms. Let’s say normal processing is a 12-bit sensor saved as RAW format and converted to 16-bit (TIFF) for photoshopping around. This corresponds to a contrast-range in the source scene - sky 6 stops brighter than ground, for example. When you do HDR, you build a 32-bit image with greater range and greater detail - more information in shadows and highlights and smoother throughout. If you were to convert a pure HDR image straight to a JPEG, you’d simply think it looked very low-contrast.

    If you take an 8-bit JPEG and apply a gamma curve to darken it 1 stop, all that happens is the lower part of the histogram (midtone and darker) get compressed and the higher part expands - so you lose detail. By doing that twice your 32-bit image has merely gained errors in tone-placement - you don’t gain image-data, merely the illusion of it which might look favourable if you’re lucky.

    Tonemapping is where you use some algorithm to simulate apparent increased contrast locally within an image - mostly spatially (adjacent pixels) with some consideration for the pixel values. This is where you have the option to make it look whizzy but disgusting, or exercise some restraint and strive for normality :)

    ObExample: hdr panorama.

    Cameras: what you want to avoid is any pixel changing value unnecessarily between exposures - so you need a still scene or very long exposure for motion-blur - and fix the aperture and focus distance and vary the speed only. You can get somewhere with a simple point-’n'-shoot and exposure compensation; a dSLR would be better so you’re shooting RAW in the first place and have a nice lower-noise sensor. There’s nothing to stop you doing it with film if you want, as long as you can control the scans to represent the different exposures.

    Software: free alternatives include FDRTools and qtpfsgui.

  51.   22 Tutorials For Creating High Dynamic Range Photographs Using Photoshop / Photomatix by projectVISUAL.NET Says:

    [...] the poster so if you find this guide useful it would be worthwhile saving it to your computer. 6. The 23x Blog Another good tutorial, it has nothing new over the five previous ones but hey, it’s good to [...]

  52. Henry McGilton Says:

    So I was trying to do HDR and I started off doing it ‘wrong’, so I thought, hey, Jared has a tutorial on HRD. Sure enough, I was doing things wrong . . . So I read through your tutorial, and all becomes clear, especially your note about Aperture Priority . . .

    However, my camera, a Digital Rebel EOS XTi, has a (at least in my view) peculiar bracketing function. As far as I can tell, I can bracket Blue/Amber, or Green/Magenta, but, I see no way to bracket both. In addition, fairly extensive web searches on the subject have turned up nothing useful that might tell me (1) if bracketing in bot axes is even possible, and, if not, which axis ought I to bracket.

    Cheers, Henry

  53. Pep Says:

    Great tutorial. I would like to add that, after spending plenty of time in Photomatix, I re-focused (ha) on the shooting for HDRs and that is when my results became loads better. I like what you said about the results getting better with practice and I also think that after practice with tone mapping you will improve your shooting since you know what to expect. So set your camera to spot metering and measure the highlights areas and shadow areas of your scene!!

  54. Rob O'Reilly Says:

    I had never known such a thing was possible, great work JJ, I’ll be sure to try it some time.

  55. Holiday 2008 part 1: The Scottish Highlands | Stut.net Says:

    [...] the way we passed the location where Jared had taken the HDR shot he used in the tutorial on his website so we stopped to have a gander. What a great location for HDR!! Rusty boats, Bowling on the River [...]

Leave a Reply