One of the nice surprises at today’s Apple event was the addition of HDR (high dynamic range) to the camera app on the iPhone 4 in iOS 4.1. HDR is a photographic technique that blends together three photos taken at various levels of exposure and combines the best of all of them into one. A good explanation can be found on this site, but the result is a shot that captures both the shadows and the bright parts of a picture without washing out and detail. We’ve downloaded the 4.1 GM today and taken a few shots to put it through its paces.
Using HDR on the iPhone is just as easy as you’d imagine — on the camera UI there is now a ‘HDR on’ button at the top of the viewfinder. Tap it to turn it on or off. In the Settings app under Photos, you can choose whether or not to keep the original shot as well as the HDR shot when you have it turned on.
HDR isn’t useful for all types of shot, so you won’t necessarily want to leave it switched on all the time. It’s most useful for shots that capture the extremes of light and dark — for example, pictures of looking out a window where normally either the inside part would be drowned in darkness or the outside part would be nothing but a bright white blur are dramatically improved with HDR.
To show you what I mean, take the below photos. This was taken looking along a fairly dark hallway towards a large arched, lead-light window. The first two photos were taken with the ‘normal’ camera mode. In photo one, I tapped the window to adjust the exposure to the brightest part of the frame. You can make out the lead-lighting on the window and what’s beyond it, but the hallway itself is lost in shadow.
In photo two, I tapped on the darkest part of the frame so that the exposure level was adjusted to show the detail there. You’ll notice that you can no longer make out the lead-lighting and the window is just a mess.
The third photo was taken with HDR mode switched on, and you’ll see that it’s a perfect combination of the best of all modes. The view out the window can be made-out, the lead-lighting can be seen, and the colour and detail of the wood in the hallway can be made out.
Here are some more HDR shots that demonstrate a similar situation.
Notice in the original on the left the car’s bonnet and the garage’s roof is lost in shimmering white, and the detail of the flowers and inside the glass vase is too dark to make out. On the HDR shot, this is all balanced.
Note that in the original shot on the left you cannot make out the view through the furthest window and the wood (particularly at the top of the shot) is in darkness. Again, with HDR switched on detail can be seen and brightness is balanced.
Now here’s the strange bit: because true HDR is a combination of three different shots, theoretically it should only works with still subjects. If you try to take a picture where there is movement in the frame, you should end up with a blurry mess. But somehow, the result is not a blurry mess at all. I took a number of shots with my dog, and I was purposefully panning and moving the camera when I took it, just to see what would happen. The result: a completely still HDR scene.
Take the above for example. My dog does not sit still, and to make it harder for the iPhone I was purposefully moving the camera while it took these shots. I was expecting the result to be a combination of my dog in three slightly different positions all ghosted on top of each other. But you’ll see that didn’t happen.
Couple this with the fact that it also saves both the HDR shot and only one original rather than three, and I’m left wondering whether this is actually true HDR or a software effect along the lines of the ‘Enhance’ button in iPhoto.
If anybody has any insights into this, let us know. But in the meantime: what do you think? Like it? Hate it? See a use for it? Let us know in the comments!


























Can’t upgrade yet….
(aidanhill has made 21 comments)
Looks great to me, I take quite afew photos indoors and it seems like it could be quite usefull.
One thing though, will it work on 3GS?
(evopwr has made 6 comments)
@ aidanhill:
It’s only available to devs right now.
@ evopwr:
The Apple website only mentions iPhone 4 so I presume not
That looks fantastic. Any sign of improved stability in the dev’s version? Thats one thing the camera DEFINITELY needs. Once it has a stabilizer I’ll throw my FLip away.
(Sprok has made 74 comments)
No improvements that I’ve noticed in that respect I’m afraid
It’s a great feature, and and a cool bonus from 4.1. Professional photographers use this technique all the time, the result is outstanding. It takes three near simultaneous shots? How near simultaneous? The delay must be *minuscule* if you couldn’t make it blur.
(Chris Kinnell has made 37 comments)
I’d suggest (in answer to the question in your article title) that, no, it probably isn’t real HDR. As you probably suspect, I’d say it’s just shooting one image & using some internal processing to pull detail out of the shadows & highlight areas. It may be working on the data that is similar to a RAW camera file ie. the captured data before it is squeezed into a jpeg file (altho’ I have read another reference to it taking 3 images…. did Mr. Jobs say this happens?).
When using HDR apps on my iPhone they are based around manipulating a light & dark exposure of the same scene, but it’s possible to get a good result by just selecting the same image twice & letting the app work it’s magic…. I’m guessing that this is what the new function is doing.
(clicknz has made 5 comments)
Off topic, but since you are running 4.1…
Did you notice the birthday calendar bug in 4.0.x? Are you able to check if it has been rectified?
http://discussions.apple.com/thread.jspa?threadID=2469993&tstart=0
http://www.geekzone.co.nz/forums.asp?forumid=76&topicid=63179
Much appreciated.
(pknz has made 92 comments)
@ pknz:
Alas, this is not fixed. If I go into a contact and tap ‘add field’ then enter their birthday and hit ‘done’, it then shows it one day later. Annoying.
@ Steve:
Damn, very annoying indeed.
Strangely seems to be more prevalent in NZ and some Eastern European countries, could be a time zone issue somewhere.
(pknz has made 92 comments)
My understanding is that “true HDR” is done with two or more (typically three) images and indeed that is what Jobs described on stage. However, there is also “tone mapping” which can be done with a single RAW image. All camera sensors capture more data than a JPEG stores, so they probably just grab the raw data, process one shot as previously and save as JPEG, then do an automatic tone map and save as the “HDR” JPEG. I saw it demonstrated today and it did a creditable job of a through-the-office-out-the-window shot.
(zkarj has made 38 comments)