Sponsored Links
-->

Sunday, June 3, 2018

How to Evaluate Camera Sensitivity
src: www.ptgrey.com

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.


Video Signal-to-noise ratio (imaging)



Definition of SNR

Traditionally, SNR has been defined as the ratio of the average signal value ? s i g {\displaystyle \mu _{\mathrm {sig} }} to the standard deviation ? b g {\displaystyle \sigma _{\mathrm {bg} }} of the background:

S N R = ? s i g ? b g {\displaystyle \mathrm {SNR} ={\frac {\mu _{\mathrm {sig} }}{\sigma _{\mathrm {bg} }}}}

However, when presented with a high-contrast scene, many imaging systems clamp the background to uniform black, forcing ? b g {\displaystyle \sigma _{\mathrm {bg} }} to zero, artificially making the SNR infinite. In this case a better definition of SNR is the ratio of the average signal value ? s i g {\displaystyle \mu _{\mathrm {sig} }} to the standard deviation of the signal ? s i g {\displaystyle \sigma _{\mathrm {sig} }} :

S N R = ? s i g ? s i g {\displaystyle \mathrm {SNR} ={\frac {\mu _{\mathrm {sig} }}{\sigma _{\mathrm {sig} }}}}

which gives a meaningful result in the presence of clamping.


Maps Signal-to-noise ratio (imaging)



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 background 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.


f i = ? j = 0 m ? i = 1 n a j x i j {\displaystyle f_{i}=\sum _{j=0}^{m}\sum _{i=1}^{n}a_{j}x_{i}^{j}}

    • f {\displaystyle f\,} = output sequence
    • m {\displaystyle m\,} = the polynomial order
    • x {\displaystyle x\,} = the input sequence (array/line values) from the signal region or background region, respectively.
    • n {\displaystyle n\,} = the number of lines
    • a j {\displaystyle a_{j}\,} = the polynomial fit coefficients
  • The polynomial fit coefficients can thus be calculated by a system of equations.


[ 1 x 1 x 1 2 1 x 2 x 2 2 ? ? ? 1 x n x n 2 ] [ a 2 a 1 a 0 ] = [ f 1 f 2 ? f n ] {\displaystyle {\begin{bmatrix}1&x_{1}&x_{1}^{2}\\1&x_{2}&x_{2}^{2}\\\vdots &\vdots &\vdots \\1&x_{n}&x_{n}^{2}\end{bmatrix}}{\begin{bmatrix}a_{2}\\a_{1}\\a_{0}\\\end{bmatrix}}={\begin{bmatrix}f_{1}\\f_{2}\\\vdots \\f_{n}\end{bmatrix}}}

  • Which can be written...


[ n ? x i ? x i 2 ? x i ? x i 2 ? x i 3 ? x i 2 ? x i 3 ? x i 4 ] [ a 2 a 1 a 0 ] = [ ? f i ? f i x i ? f i x i 2 ] {\displaystyle {\begin{bmatrix}n&\sum x_{i}&\sum x_{i}^{2}\\\sum x_{i}&\sum x_{i}^{2}&\sum x_{i}^{3}\\\sum x_{i}^{2}&\sum x_{i}^{3}&\sum x_{i}^{4}\end{bmatrix}}{\begin{bmatrix}a_{2}\\a_{1}\\a_{0}\end{bmatrix}}={\begin{bmatrix}\sum f_{i}\\\sum f_{i}x_{i}\\\sum f_{i}x_{i}^{2}\end{bmatrix}}}

  • 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:

? sig = ? i = 1 n ( X i - f i ) n ? bkg = ? i = 1 n ( X i - f i ) n {\displaystyle \mu _{\text{sig}}={\frac {\sum _{i=1}^{n}(X_{i}-f_{i})}{n}}\qquad \qquad \mu _{\text{bkg}}={\frac {\sum _{i=1}^{n}(X_{i}-f_{i})}{n}}}

where

  • ? sig {\displaystyle \mu _{\text{sig}}} = average signal value
  • ? bkg {\displaystyle \mu _{\text{bkg}}} = average background value
  • n {\displaystyle n\,} = number of lines in background or signal region
  • X i {\displaystyle X_{i}\,} = value of the ith line in the signal region or background region, respectively.
  • f i {\displaystyle f_{i}\,} = value of the ith output of the second order polynomial.

Hence, the net signal value is determined by:

signal = ? sig - ? bkg {\displaystyle {\text{signal}}=\mu _{\text{sig}}-\mu _{\text{bkg}}} .

RMS noise and SNR

  • The RMS Noise is defined as the square root of the mean of variances from the background region.
RMS noise = ? i = 1 n ( X i - ? i = 1 n X i n ) 2 n {\displaystyle {\text{RMS noise}}={\sqrt {\frac {\sum _{i=1}^{n}(X_{i}-{\frac {\sum _{i=1}^{n}X_{i}}{n}})^{2}}{n}}}}

The SNR is thus given by

SNR = signal RMS noise {\displaystyle {\text{SNR}}={\frac {\text{signal}}{\text{RMS noise}}}}

Using the industry standard 20 log rule...

SNR = 20 log 10 signal RMS noise dB {\displaystyle {\text{SNR}}=20\log _{10}{\frac {\text{signal}}{\text{RMS noise}}}\,{\mbox{dB}}}

Quantization Part 9: Signal to Noise Ratio (SNR) - YouTube
src: i.ytimg.com


See also

  • Coefficient of variation
  • Minimum resolvable contrast
  • Minimum resolvable temperature difference
  • Optical transfer function
  • Signal transfer function

如何评价相机成像质量?-dp
src: www.ptgrey.com


References

Source of the article : Wikipedia

Comments
0 Comments