Signal-to-noise ratio (imaging)
The signal-to-noise ratio (SNR) is used in imaging as a physical measure of the sensitivity of a (digital or film) imaging system. Industry standards measure SNR in decibels (dB) of power and therefore apply the 10 log rule to the "pure" SNR ratio (a ratio of 1:1 yields 0 decibels, for instance). In turn, yielding the "sensitivity." Industry standards measure and define sensitivity in terms of the ISO film speed equivalent; SNR:32.04 dB = excellent image quality and SNR:20 dB = acceptable image quality.[1]
Definition of SNR
Traditionally, SNR has been defined as the ratio of the average signal value to the standard deviation of the background:
However, when presented with a high-contrast scene, many imaging systems clamp the background to uniform black, forcing to zero, artificially making the SNR infinite.[2] In this case a better definition of SNR is the ratio of the average signal value to the standard deviation of the signal :
which gives a meaningful result in the presence of clamping.
Calculations
Explanation
The line data is gathered from the arbitrarily defined signal and background regions and input into an array (refer to image to the right). To calculate the average signal and background values, a second order polynomial is fitted to the array of line data and subtracted from the original array line data. This is done to remove any trends. Finding the mean of this data yields the average signal and background values. The net signal is calculated from the difference of the average signal and background values. The RMS or root mean square noise is defined from the signal region. Finally, SNR is determined as the ratio of the net signal to the RMS noise.
Polynomial and coefficients
- The second order polynomial is calculated by the following double summation.
- = output sequence
- = the polynomial order
- = the input sequence (array/line values) from the signal region or background region, respectively.
- = the number of lines
- = the polynomial fit coefficients
- The polynomial fit coefficients can thus be calculated by a system of equations.[3]
- Which can be written...
- Computer software or rigorous row operations will solve for the coefficients.
Net signal, signal, and background
The second-order polynomial is subtracted from the original data to remove any trends and then averaged. This yields the signal and background values:
where
- = average signal value
- = average background value
- = number of lines in background or signal region
- = value of the ith line in the signal region or background region, respectively.
- = value of the ith output of the second order polynomial.
Hence, the net signal value is determined by :
- .
RMS noise and SNR
- The RMS Noise is defined as the square root of the mean of variances from the background region.[2]
The SNR is thus given by
Using the industry standard 20 log rule[4]...
See also
- Coefficient of variation
- Minimum resolvable contrast
- Minimum resolvable temperature difference
- Optical transfer function
- Signal transfer function
References
- ↑ ISO 12232: 1997 Photography – Electronic Still Picture Cameras – Determining ISO Speed here
- 1 2 Mazzetta, J.; Caudle, Dennis; Wageneck, Bob (2005). "Digital Camera Imaging Evaluation" (PDF). Electro Optical Industries. p. 8. Retrieved 28 March 2010.
- ↑ Aboufadel, E.F., Goldberg, J.L., Potter, M.C. (2005).Advanced Engineering Mathematics (3rd ed.).New York, New York: Oxford University Press
- ↑ Test and Measurement World (2008). SNR. In Glossary and Abbreviations.http://www.tmworld.com/info/CA6436814.html?q=SNR
|