6
\$\begingroup\$

The Lumia 1020 has a 41MP sensor in a PHONE. It down-samples the photo to 5 megapixels, improving the photo quality. But would you get a better photo by using a native 5MP sensor of the same size?

In general, given two sensors of the same size, but with one of them having a higher resolution than the other, would the result of downsampling the higher resolution image to the lower resolution be better or worse than the image obtained from the lower resolution sensor?

(You can assume that a high-quality image downsampling algorithm is being used. And yes, a higher resolution photo gives you flexibility to crop, but for the purpose of this question, let's assume we are not going to crop the photo later.)

\$\endgroup\$
3

2 Answers 2

4
\$\begingroup\$

The pixel reduction from 41 to 8mp has the impact of improving the accuracy of colour capture and reducing the appearance of sensor noise since for each output pixel you've got a handful of pixels to calculate the best value. Obviously there's a tradeoff that you've got less spatial resolution and it comes down to what makes for the most pleasing image in the end.

Digital supersampling systems aren't new. Fuji's Super CCD cameras (like the 2002 S2 Pro which sampled 12megapixels but output at 6) were widely applauded for the quality of their colour reproduction/tonal range compared to their Nikon & Canon peers.

According to reviews the output between the likes of the Lumia 1020 and iPhone5 tend to be comparable under good lighting. But PureView devices generate better output in the kind of challenging situations where people are less likely to be carrying a camera with a larger sensor. In practice the whole system performs as well or better than a native 8mp sensor in a similar package.

The maths & physics involved mean that beyond a certain pixel density there are diminishing returns. Probably Nokia are very much at this point but the scope for improvement might be more about their processing than goosing the pixel density much further.

\$\endgroup\$
10
  • \$\begingroup\$ Thanks, James. Your answer says essentially that a 41MP photo downsampled to 5MP looks better than a 41MP photo. But a) does it look better than a native 5MP sensor of the same size? Let's not bring in the iPhone here since it has a smaller sensor. b) Can't one leave the 41MP image as it is and rely on the image viewer to down-sample for us? Don't computers (including servers) use a good algorithm for downscaling images? \$\endgroup\$ Dec 13, 2013 at 4:17
  • \$\begingroup\$ Actually that's not quite an accurate summary - My assertions are that downsampling a hi-res image is used to account for noise and that PureView is more complicated than a simple reduction / scaling action (no matter how good the algorithm used). For example it may involve sources of information which are not directly part of the image like gyro/shock sensors. \$\endgroup\$ Dec 13, 2013 at 11:51
  • 1
    \$\begingroup\$ @JamesSnell I believe the situation might be a bit more complicated than you're making out. The native 5mp sensor would also exhibit a lot less noise than the raw output of the 41mp sensor because of the larger pixels. Also, while the 41mp image, when downscaled to 8mp somewhat compensates for the loss of colour information in normal Bayer sensors (which is nominally 1/3 of the spatial resolution), a good demosaicing algorithm recovers/interpolates a lot of that information. \$\endgroup\$ Dec 13, 2013 at 12:38
  • 1
    \$\begingroup\$ @KartickVaddadi : If you must push for a yes/no then I'd say yes, it is better. The reality is more nuanced than that and the processing plays a huge part. \$\endgroup\$ Dec 13, 2013 at 13:52
  • 3
    \$\begingroup\$ @JamesSnell From Nokia's own website: "oversampling eliminates Bayer pattern problems. For example, conventional 8MPix sensors include only 4Mpix green, 2Mpix red and 2Mpix blue pixels, which are interpolated to 8Mpix R, G, B image. With pixel oversampling, all pixels become true R, G, and B pixels." press.nokia.com/wp-content/uploads/mediaplugin/doc/… . So it would seem that PureView cameras do indeed use a Bayer filtered sensor. \$\endgroup\$ Dec 13, 2013 at 14:38
4
\$\begingroup\$

I think that the answer could be "yes, if well done". The best advantage I see is the possibility to have a digital antialiasing filter much more sharper than a physical one.

Let me explain (geeky here (1)) in one dimension. If you want to sample something at, say, 100 points/mm, the Nyquist theorem says that for avoiding aliasing (typically shown as moire in the images) you should cut all frequencies in the input signal above 50 points/mm. Notice that once aliased data is in, is in. You can't distinguish it from the real data, so it's impossible to remove.

Now, making a physical filter that cuts completely the frequencies above 50 p/mm and let pass the frequencies below is impossible; the filters have to transition from "pass" to "no pass" in a finite range of frequencies. Filters that have faster transition(2) are much more complex to do (especially the optical ones). Let say that a reasonable "transition band" is 10 p/mm for a physical filter.

So you have to compromise between aliasing and band (moire and sharpness in imaging). for example, you can filter from 20 p/mm and have very little moire but a loss in sharpness; or filter at 45 p/mm and risk a bit of moire with more sharpness, or pass on the filter...

If you oversample at say 1000 p/mm you move simply the problem up, no? But suppose you really want 50 p/mm. So you now put a physical antialiasing filter at 200 p/mm (easy to do, no aliasing). And then you can use a digital filter before (re)sampling at 100p/mm --- and this filter is just software so that you can make it really much more fast at a reasonable price, especially with modern hardware: say you can do the transition in 1 p/mm. So you have at the end the equivalent of the first system, but you can put the final filter at 49 p/mm and having no moire whatsoever (3).

On the negative side, having more pixel means having more electronics, so it means that the total area of the chip used for sensing is smaller in a higher megapixel sensor. That could be in part corrected by the microlenses, but it generally means that a hit in noise (high ISO performance) is to be expected, too.

(1) my background is analog electronics. This post describes a technique that is widely used in digitizing signals like audio or biological ones. Forgive me if I use a quite strange terminology.

(2) in electronics we call this filters "sharp", not "fast". I used fast to not cross meaning with sharpness of the image.

(3) No idea if Sharp do all of that. Just guessing.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.