Camera Nitty Gritty: Supplemental - EDoF

Published by Steve Litchfield at 8:06 UTC, April 15th 2010

Summary:

In a late-breaking(!) addition to his extended Camera Nitty Gritty series, Steve Litchfield looks at the EDoF cameras in some of Nokia's S60 smartphones and compares performance to traditional focussing units. EDoF: a step forwards for convenience? Or a step backwards in terms of flexibility?

E55 EDoF Camera

First introduced on the slim E52 and E55, Nokia has now used an EDoF camera again, on the upcoming E5, which will prompt questions as to whether such non-focussing camera can compete with traditional (bulkier) focussing units. Here I want to address how EDoF works and demonstrate its effects.

EDoF stands for Extended Depth of Field and is a new idea, borne of the digital age. Rather than having a bulky and expensive auto-focus mechanism, the idea is that a cheaper fixed focus camera can be dramatically improved by using a custom lens which has been designed to focus the different colour components of light differently.

Simplifying things slightly, a digital camera's sensor is typically composed of clusters of RGB (Red-Green-Blue) pixels - essentially electronic 'buckets' into which photons of light fall and are counted. In the case of an EDoF lens, constructed asymmetrically so that Red, Green and Blue regions of the visible spectrum are each focussed differently - the exact details are probably a commercial secret (but I'd guess at Blue being focussed closest, then Green, then Red - if anyone reading can offer hard data on this, I'd be grateful, and will build the info into an article update).

When an image is captured (effectively three 'photos', in this case, one for each of the RGB components), every part of the photo's viewing area is analysed, in turn, with the sharpest of the RGB images for each individual part determining the detail used (for that part), with the other images supplying appropriate coloration. Then it's onto the next part, in turn. The exact size of each 'part' is also a commercial secret but is likely to be in the order of 10 by 10 pixel squares. Here's an example of the output (taken on the Nokia E55):

EDoF at work

Download the full, original image

EDoF at work - note that the grass in the foreground and trees and buildings in
the background and everything in between ALL seem to be in focus - magical, isn't it?

This all sounds like a huge computational headache, but this is the sort of repetitive task that can be handled in custom electronics in the camera unit very quickly indeed - the EDoF calculations actually happen in a tiny fraction of a second. In this way, the normal depth of field for a 'fixed focus' camera is effectively extended and objects a metre or so away can be captured fairly sharply, something which wouldn't be possible with a vanilla 'fixed focus' camera, for which everything closer than two or three metres is blurred. There are advantages too, for users of casual ability, on phones with smarter, auto-focus cameras, i.e. there's less chance of messing up!

To illustrate the depth of field again, in comparison to a familiar camera setup, let's consider the 3 megapixel cameras in the Nokia E90 and E55, the latter with EDoF. The subject is a daffodil, around a metre away, with other flowers behind and buildings about 20 metres away. Here's the traditional shot from the E90:

E90, focussed

As you can see, the flower's nice and crisp, but the buildings and background are out of focus
- as you'd expect for a focussing camera - only one thing can be focussed on at a time, or at least a
number of things within a certain range of distances - the so-called depth of field

E55, EDoF-shot

... and here's the E55's EDoF shot. As before, almost everything's now 'in focus'.
It's a trick in software, to be sure, but it really works well. The depth of field for Nokia's EDoF cameras seems to be from
about 1 metre to infinity. The central daffodill here is a little blurred, I'm right on the lower edge of the depth of field. 

Here's another good example photo from the Nokia E55's EDoF camera, showing absolutely everything crisply, whether close up, mid-range or far-off.

E55, EDoF-shot

Download the full, original image

Again, the raw lens itself is only doing the work of a traditional fixed focus lens - with focus point set
around 4 or 5 metres away and with depth of field from about 2 or 3 metres to infinity. But the special
EDoF lens coating, allied to the compensating electronics, mean that the depth of field is 'extended' to
'1 metre to inifinity' - moreover, many parts of the image will be much sharper than those from a traditional
fixed focus lens. So there's a double benefit to going EDoF.

The extra image processing can't work miracles however, and once the light levels go down (say, in the evening, or indoors) you get the same reduction in depth of field, the same sensor noise and the same blurred subjects as with any other small-lensed fixed focus camera. It's also worth noting that because the lens is fixed focus, there also can't (by definition) be a 'Close up' (or 'macro') mode, so anything closer to the EDoF camera than about half a metre is destined to stay blurry and out of focus.

 

Here's a summary of the differences between the different sorts of Nokia phone camera:

Possible subjects (all assumed in good light) Fixed focus camera (e.g. on Nokia 5230) EDoF 'full focus' camera (e.g. on Nokia E55) Auto-focus camera (e.g. on N95, E90, etc)
Subject 30cm away (arty shot, phone reviewer(!) etc) Very blurry Blurry  Crisp (focussed, needs a little skill) 
Subject 1 metre away (flower, friend) Blurry  Crisp  Crisp (focussed, needs a little skill)  
Subject 4 metres away (group shot, weddings, etc.) Crisp  Crisp  Crisp (focussed, needs a little skill)  
Subject far away (landscape, scene) Slightly blurry  Crisp  Crisp (focussed)

 

Taken from the original E55 review, here are some more sample EDoF photos - click on each to download or enlarge them.

Sample, click to enlarge or download Sample, click to enlarge or download 

Sample, click to enlarge or download Sample, click to enlarge or download 

Sample, click to enlarge or download Sample, click to enlarge or download

Sample, click to enlarge or download Sample, click to enlarge or download

 

In passing, I think Nokia's use of an EDoF camera on the upcoming E5 is a smart move - the mechanics of focussing were always a problem on an always-portrait device and this way there's no explicit focussing needed. In addition, the camera unit can be smaller, which avoids an unsightly bulge on the phone's back.

And, given the lack of camera skills of 90% of the population (really), I'd wager that the EDoF images from the E5 will  turn out a heck of a lot better than the 'focussed' ones from the likes of the much more expensive E72!

Steve Litchfield, AAS, 15 April 2010


 

Filed: Home > Features > Camera Nitty Gritty: Supplemental - EDoF

Platforms: General, S60 3rd Edition

Categories: How To, Hardware

Discussion

Abushaheed
All that just went WAAAY over my head, but it was an interesting read anyway. I do have one question as a result of my read however and that is: How does an EDoF Camera affect things like the business card macro shots to convert to contacts?
JCB_Digger
@Abushaheed

The way I'm reading it is that an EDoF camera cannot take macro business cards - you need to hold them at around a metre away (which should be in focus), and then zoom/crop them down.. Not ideal..

Another area where EDoF doesn't work is for barcode scanning/shopping applications which work by recognising the barcode and then hunting the product code down on the internet for the cheapest price.
slitchfield
@JCB: Correct, such apps wouldn't work on EDoF cameras. Or at least would be severely limited!
seki
to use the front facing camera .. not ideal .. but if you hold the card with one hand and press the take photo with the other .. uh wait .. well yeah .. its a pain!
PekkaR
The trick looks pretty nice to me. If I was to take shots with an EDoF camera and show them to a serious hobbyist or professional who's a stickler for things like how the colors turn out, would they fall into despair and prepare a hanging noose for both me and themselves?

I'll probably have to look back at the Camera Nitty Gritty articles and see what the little bit of skill needed with auto-focus cameras is, now that I've got one...
mkr10001
Steve, i didn't say you could take a picture of my car :D:D:D
Unregistered
and you also took a picture of my cat.....or was that its twin?
Hurlley
Good read, always wondered why suddenly auto focus became a feature and wondering what the heck all non autofucus cameras did if they werent auto focusing.

although I feel Nokia just cheaped out and this is just the somewhat happy result.
ratza
Large depth field isn't that good. With a narrow depth of field you can bring the subject to attention easier, the background being blured. The attachment tells better than me what I'm refering to. The flowers were at only 10cm (around 4 inches) apart.

Also, the close-up pictures taken with large field depth lenses tend to be fatiguing. For landscapes it's a clear advantage, mostly for the point-and-shoot mode where you need to capture a moment. At least this is my opinion.
bp101
I agree with ratza, I'm not sure that wider depth of field is necessarily the way to go. Surely a large proportion of cameraphone pictures are of people, and having a sharp background can be distracting.

Interesting concept, though.
Unregistered
Can you take a picture of A4 paper full of text? I wonder whether EDOF can serve my needs. Thanks
Moran
Steve Lichfield looks at the EDoF cameras in some of Nokia's S60 smart phones...
illusionado
DOF and Aperture are just proportional in terms of giving focus on the image. Extended DOF means that more of the image will be focus or deeper part of the image will be focus and in terms of Aperture Extended DOF means lower Aperture compare to fixed focus.

Advantage is that you will have a great chance to focus deeper part of the image whilst your fixed focus camera will only focus the farthest object it can reach on its lens. But I think both fixed and edof have still the same largest aperture size also on its shallowest dof.
viipottaja
Is it possible to turn of this approach/effect? Or would the camera not focus anywhere if one did? :)
slitchfield
Well, there's a 'Landscape' option in the scene menu - but no, I think the EDoF optics/electronics are always active, by definition.
Dr Tran
Losing out on the ability to take pictures of documents or business cards or QR codes is a massive failure on Nokia's part, especially considering Nokia brought attention to the world that phones could do these tasks.

Full thread: 16 Comments / Post New Comment

Search

Navigation

Social

Advert

Translate