Skip to main content

iPhone HDR - Nice or Naff?

Since iOS 4.1, the iPhone 4 has been able to do HDR, or High Dynamic Range, photography. This means that it can capture a much wider range of brightnesses than other cameras by combining multiple exposures into a single one. For example, one picture with a perfectly exposed sky combined with an identical picture that's exposed for the ground makes a single picture that contains both sets of details.

Sounds like a good idea, and in theory it is. Even in practice, it is often great. Putting that blown out sky back in, or capturing detail in a brightly back-lit window when flash just isn't enough. But sometimes it's just generally awful. Search Google Images for "bad HDR" and have a look at the examples.

The old fashioned way of increasing dynamic range is simply to introduce a different exposure, and mask out the parts that you don't want replaced. In the ideal case, a flat horizon with sky above and ground below, a ND gradient filter on the camera lens, or a simple gradient filter in post-processing, will do the trick. Very much like this picture of a field I took a while ago, in fact.

The new way is something called "tone mapping" and involves averaging the tones of multiple exposures over the whole image. This results in pictures where none of the pixels are natural; they are all the result of post-processing.

And so to the point of this post; HDR on the iPhone. Sadly I don't have an iPhone 4, but I do have a copy of Pro HDR for iPhone 3GS. Its purpose is simple. Allow you to take two identical pictures, exposed for two different parts of the scene, and combine the two. Like this:


It's simple enough in practice, and the software can even pick the brightest/darkest areas and align your pictures (if your hands wobble) before making the final image. Doesn't look too bad, eh? There is some light halo effect around the leaves caused by them moving around in the wind in between the two pictures, but it mostly seems to have worked.

To do a proper comparison, I broke out the tripod and did it "properly" using a real camera. I took  2 exposures at f/6, at 1/1200 and 1/200 seconds respectively and put them together in The Gimp, ensuring that each exposure retained the important elements. I came up with this:


Doesn't look nearly as exciting, but it does look more realistic and natural. The iPhone's picture is clearly artificially oversaturated and, compared to the more pedestrian version taken with a camera and tripod, it looks pretty unrealistic.


Putting the two side by side emphasises the effect. The HDR image from the iPhone starts to resemble a painting rather than a photograph. This is especially evident in these cropped pictures of the hedge.



But what is the conclusion? That a properly taken image, processed to include the highlights of multiple exposures, is better than a quicky app on the iPhone? I think that much is pretty self-evident. But what you do gain on the iPhone app is very simple; speed.

Setting up the tripod, calculating the optimum exposures and taken them is the first issue with multiple exposures using a traditional camera. Aligning and processing them in post-processing is the second. All of this takes time and effort.  It took me approximately 10 seconds to take the picture on the iPhone. Taking and compositing the picture with the camera took closer to 20 minutes. That's a 12000% saving on time. And of course, I don't have to cart the tripod around for the iPhone.

So can I live with the results? Probably. HDR in post-processing using the iPhone is practically impossible because aligning the images is just too much hassle. Having the software take the two images rapidly then automatically align them takes all that had work out straight away. So if I don't have my normal camera with me, or if I want to snap a picture but don't want to spend the evening actually (hopefully) making it contain everything I want, then it's ideal and well worth £1.19.

Comments

Popular posts from this blog

Juniper Network Connect on Mac OS X Snow Leopard

Juniper Network Connect is a very popular VPN client for corporate networks. It bootstraps from a Java applet and has native versions for Windows, Linux and Mac, and works very well. Unfortunately, it seems that Mac OS X 10.5 Leopard and 10.6 Snow Leopard have some issues caused by a dodgy installation program. One common way to make it work is to enable the root user and log in with full admin privileges under OS X and install it that way. This is a sledgehammer approach to a fairly simple problem, opens up security issues, and didn't even work for me. I won't even bother exploring that route in this blog post. There are a couple of other things that can be done to make it work, though. If you upgraded from a previous version of OS X and already had the Network Connect client installed, you may just be suffering a simple permissions issue. These instructions are for Network Connect 6.2.0, but they might well work with other versions with a tweak. From Termin...

Something is afoot - Opera Mini on iPhone

Strange things are afoot. 20 days ago, Opera submitted the iPhone version of Opera Mini , their mobile browser, to the Apple AppStore. 20 days later, it was actually approved, despite previous browser technologies and the like being rejected for "duplicating iPhone functionality". Strange indeed. Having used Opera Mini before on many different devices, both touchscreen and traditional keypad based, I have long appreciated its raw speed, excellent rendering engine and intuitive navigation controls. But can it stand up to Safari on iPhone for browsing excellence? The answer: sort of. The Good Like its predecessors, Opera Mini for iPhone is blazingly fast. Using Opera's own proxies, web content is compressed to within an inch of its life to reduce bandwidth requirements, and the browser itself renders what it downloads so fast that the likes of Safari just can't keep up. Even on a GPRS only connection it is almost as fast as Safari on 3G for largely text based page...

Removing dead tracks from iTunes

On occasion, for one reason or another, iTunes seems to have a link to a file that no longer exists. Your options are then to either hunt for the file manually, one by one, or manually hunt and delete all the dead ones. There is a handy exclamation point icon that will tell you which are broken, but there is no way to filter for these. Fortunately, thanks to a bit of logical jiggery pokery, you can use Smart Playlists and a cunning quirk of iTunes to do it for you. Herein lies a step-by-step guide to finding all those annoying broken links. Step 1 Create a new Smart Playlist with a single Artist Does Not Contains rule. Put some garbage into the search field so it will return every artist. Call this playlist "All Music". Step 2 Create a normal playlist called "Working Music". Step 3 Create a Smart Playlist with 2 rules. These are: Playlist - is - All Music Playlist - is not - Working Music ...