Friday, 5 June 2009

How big? The answer is 24 (or 42 backwards...)

(You really can ignore this if you have no interest in digital photography...)

I went to a lecture last night on digital camera sensors. As you probably know, each pixel in a digital camera is composed of at least one photosite (sometimes as many as 4, but ignore that for this discussion). Each photosite is basically a switchable photoelectric capacitor: light comes in, some of it is converted to electrons by the photoelectric effect, and the resulting electrons are stored.

Now, here's the kicker. Each photosite can only store tens of thousands of electrons. How many exactly depends on the size, but it's a number like 50,000.

This is really a problem. Why? Well, for two reasons. First the resolution of the camera depends on the signal to noise ratio of the photosite. Quantum effects (in particular shot noise) limit the resolution - and short of increasing the size of the photosite, there is absolutely nothing you can do about this. Second, to read the data out, you need to be able to move and then measure those 50,000 electrons accurately. And that isn't easy either.

Now there are various smart things you can do, including putting in on board noise reduction in the sensor and doing your A2D conversion as near to the photosite as possible. But at the end of the day, noise reduction just amounts to guessing what the signal should have been. The fundamental camera resolution is limited by the number of photosites you can cram on the chip, and the more you cram on, the smaller they get, the fewer electrons they can hold, and the worse your noise problems get.

What's the limit? Well, it turns out that for really high performance sensors, 35 square micrometers is about as small as you want a photosite to be, or roughly 6 micrometers on a side. 35mm is 24mm x 36mm, which translates to 4000x6000 or 24 megapixels. This is more or less exactly where the best full frame sensor DSLRs are already.

In other words, the resolution wars are over. New digital cameras will either cap out around 24 megapixels, have high noise and/or very aggressive and intrusive noise reduction, need bigger than full frame sensors, or use a wholly different light sensing technology from the one we have been using for the last 20 years. High noise is intolerable, bigger than full frame sensors are very expensive because they require huge pieces of silicon, and a new photosite technology does not appear to be around the corner.

Now, 24 Mp is enough for very nearly all applications, and most of the people who need more will move to medium format digital. But still it is sobering to think that a technology that we have been used to delivering seemingly effortless performance increases every two or three years is close to the quantum limit already.

OK, that's enough of that. Back to the economics.

Labels:

Saturday, 25 April 2009

Competence and the consumer

I had a nasty shock the other day. There is a snake's head fritillary on my balcony that was looking rather nice, and I took a picture of it. The image was out of focus. Now, my digital camera is both sophisticated and perfectly capable of handling the conditions, so I wasn't pleased. But I forgot about it until I saw this post on DIY auto focus adjustment.

It looks a bit tricky, but actually it isn't. After an hour, I had recalibrated my Pentax's AF, and it is now much sharper. But what shook me - almost stunned me - was how far out the camera was. 260 microns. That's like trying to get to the Tower of London and ending up in Milton Keynes. My naive assumption that a piece of high end consumer electronics would be properly calibrated out of the box was obviously very foolish.

Of course, by the time I had got this done, the fritillary flower had fallen, but here's a 100% crop from an image of some blossom, taken with the newly calibrated AF:
I wouldn't say the focus is absolutely perfect, but it is an awful lot better than it was, and close to the best that is achievable without lab equipment.

It is interesting that things like my camera are limited not by their maximum performance, but by the competence of the factory and distribution system. Given that these problems get much harder for higher resolution cameras - see here for an extended discussion of calibrating medium format digital backs - you might want to pause before buying a camera with more than 10M pixels. It might be fine out the box, but it might well not be, and if it isn't, extracting the performance that the camera is capable of can be a tedious business.

Labels: