Quiz: camera noise, SNR and PSNR
Before this unit: Quantisation and bit depth (previous unit); Day 1: Images, filters and frequencies.
Short questions to test your understanding. Try each on paper first, then open the answer.
Q1. A pixel collects on average 2500 photo-electrons. What is the shot noise, and what is the best possible SNR? How much more light would you need for twice the SNR?
Shot noise \sqrt{2500} = 50 electrons, so SNR = 2500/50 = 50. SNR grows as \sqrt N, so doubling it needs 4 times as much light (10 000 electrons, noise 100, SNR 100).
Q2. A camera has a full well of 10 000 electrons and a read noise of 10 electrons. Its manufacturer offers a 16-bit version. Is that useful?
Compare the full well with the read noise: how many distinguishable levels are there?
The dynamic range is 10\,000/10 = 1000 : 1, about 10 bits. A 16-bit ADC has a step of 10\,000/65\,535 \approx 0.15 electrons, so the read noise covers about 66 ADU: the lowest 6 bits only record noise. A 10- or 12-bit ADC would carry the same information. The 16-bit file is not wrong, just larger than it needs to be.
Q3. A camera with an 8-bit ADC has a gain of 118 electrons per ADU, so every reading below 59 electrons is stored as 0. It images a faint object of 20 electrons on a background of 5 electrons (read noise 1.5 electrons). What will you see?
Nothing: both are stored as 0. The object’s noise is only about \sqrt{20 + 1.5^2} \approx 4.7 electrons, far too small to push a reading of 20 past 59, so object and background give the same number in every pixel. The information is lost at the ADC and no later processing brings it back. With a smaller gain (more bits), the step would be below the noise, the noise would act as a dither, and averaging pixels or frames would recover the difference.
Q4. In a fluorescence image, is the noise in a bright nucleus larger or smaller than in the dark background, in electrons? And relative to the signal?
Larger in electrons: shot noise is \sqrt N, so more signal means more noise (signal-dependent noise). Smaller relative to the signal: the SNR \sqrt N grows with the light. A model with one Gaussian \sigma_n for the whole image ignores this.
Q5. Two denoising methods give PSNRs of 31 dB and 37 dB on the same 8-bit image. By what factor do their mean squared errors differ? And their RMS errors?
PSNR is 10\log_{10} of a ratio of squared quantities.
6 dB is a factor 10^{0.6} \approx 4 in MSE, so a factor of about 2 in RMS error. (Each 6 dB halves the RMS error.)
Q6. Why is a PSNR meaningless without the peak value, and what else does it not tell you?
PSNR = 10\log_{10}(\text{peak}^2/\text{MSE}): the same errors give a higher number with a larger peak (a 12-bit image scored with the 16-bit peak gains 24 dB). It also compares pixels one by one: it does not say where the errors are, or whether they form structure (bands, blocks) that the eye notices. Two images with the same PSNR can look very different.