Creating HDR Images in Ubuntu

Wikipedia tells us that “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.”

Phew…

Chris ‘o’ pedia would read something more like “HDR images look really cool. You can make pictures that look kinda neon and freaky, a bit like giving your digital camera an acid tab. What’s more you can create them using Ubuntu Linux – for free!”

All you need other than a digital camera and a computer with Ubuntu installed is a piece of software for creating HDR images. As luck would have it, there’s one in the Ubuntu repository. It’s called Qtpfsgui. Go get it!

sudo apt-get install qtpfsgui

Whilst you’re installing software, you may as well have a method of lining up your photos ‘just in case’ they don’t come out quite as you wanted.

sudo apt-get install hugin hugin-tools

OK, first of all you’ll need some images.

Take your camera and shoot a series of images with a range of exposures. You can do this by decreasing/increasing the shutter speed, aperture or using the ‘bracketing’ mode on your camera. Check out Wikipedia’s article on Exposure Value for more info. The important thing is to get a good range of exposures which show the bright and dark features of the shot you’re taking.

Now you have a few images, simply open Qtpfsgui, create new HDR, load all of your images in (I used 12 for mine but you don’t need that many) follow the wizard then select Tonemap HDR.

Try the ‘fattal’ algorithm, it seems to create the most striking results.

If you want to look at some really great HDR images or find out more about Qtpfsgui then check out the Qtpfsgui group on Flickr. In fact, if you really want to get into creating HDR images you need to do some research and this Flickr group is a good staring point.

Finally, here’s my attempt at creating a HDR. The subject is a little boring but all I could conjure up this evening!

Have fun and post back here to show me your efforts!

Light in the Living Room - HDR Test

Posted by Chris

Post to del.icio.us Post to del.icio.us

Post to Slashdot Post to Slashdot

Digg this Digg this

This entry was posted on Sunday, January 20th, 2008 at 11:34 pm and is filed under Tags: , . You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

9 Responses to “Creating HDR Images in Ubuntu”

  1. Okinawa Says:

    Well done, that’s a great HDR image.

  2. pheonix Says:

    I tried following this, but could not install qtpfsgui or hugin-tools via apt-get, but i did find a ubuntu packaged copy of qtpfsgui at http://www.getdeb.net/release.php?id=1279
    Thanks for the guide!

  3. Chris Says:

    Hi pheonix, you have to have all of the repositories enabled including the universe and multiverse ones.

    Please put a link back to your pictures when you´ve done them, I´d love to see them :-)

  4. sergio Says:

    i tried this out, check out how sweet my image came out
    http://www.eha2.com/random-thoughts/ubuntu-hdr-tutorial/

  5. beerick Says:

    thanks for the howto. here’s my first effort.

    http://www.flickr.com/photos/m8ryx/3379264627/

  6. Nicolas Bouliane Says:

    Thanks a lot for your tutorial! Turns out what works on Windows also works on Ubuntu. I’ll hit you with a link from my blog soon ;)

  7. Darxus Says:

    Chris ‘o’ pedia would be incorrectly referring to local tone mapping, not HDR: http://en.wikipedia.org/wiki/Tone_mapping#Visual_effect

  8. At Beyi Says:

    It does not recognize my images from Nikon D80 :S

  9. sim Says:

    try renaming them.. it doesn’t seem to recognize *.JPG files with uppercase extension but it works with *.jpg lol

Leave a Reply