User:The Lamb of God/sandbox-Singnal to Noise Ratio (SNR)

From Wikipedia, the free encyclopedia

The Signal to Noise Ratio (SNR) is used in image processing as a physical measure of the sensitivity of an imaging system. Industry standards measure SNR in decibels (dB) and therefore apply the 20 log rule to the "pure" SNR ratio. 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[edit]

Due to "clamping" in modern imaging sensors and systems the classic definition of SNR has become less meaningful. Traditionally, the definition of SNR has been defined as the ratio of the average signal value to the standard deviation of the signal value.


An operator arbitrarily defines a box area in the signal and background regions of a back-illuminated half moon or knife-edge test target. The data, (such as pixel intensity), is used to determine the average signal and background values.

However, because of clamping, approaches zero and thus, SNR approaches infinity; which is physically meaningless in image analysis[2]. Therefore, a new definition of SNR yields a meaningful value. SNR is thus defined as the ratio of the net signal value to the RMS noise. Where the net signal value is the difference between the average signal and background values, and the RMS noise is the standard deviation of the signal value.

Calculations[edit]

Explanation[edit]

The line data is gathered from the arbitrarily defined signal and background regions and inputed 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[edit]

  • The second order polynomial is calculated by the follwing double sumation.



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





  • Which can be written...




  • Computer software or rigourous row operations will solve for the coefficients.

Net signal, signal, and background[edit]

  • The second order polynomial is subtracted from the original data to remove any trends and then averaged. This yields the signal and background values.



    • = 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.




RMS noise and SNR[edit]




  • The SNR is thus given by the definition.



  • Using the industry standard 20 log rule[5]...


See also[edit]

References[edit]

  1. ^ ISO 12232: 1997 Photography – Electronic Still Picture Cameras – Determining ISO Speed here
  2. ^ Electro Optical Industries, Inc.(2005). EO TestLab Methodology. In Education/Ref. http://www.electro-optical.com/html/toplevel/educationref.asp.
  3. ^ Aboufadel, E.F., Goldberg, J.L., Potter, M.C. (2005).Advanced Engineering Mathematics (3rd ed.).New York, New York: Oxford University Press
  4. ^ Electro Optical Industries, Inc.(2005). EO TestLab Methodology. In Education/Ref. http://www.electro-optical.com/html/toplevel/educationref.asp.
  5. ^ Test and Measurement World (2008). SNR. In Glossary and Abbreviations.http://www.tmworld.com/info/CA6436814.html?q=SNR

External links[edit]

[[category:Image processing]] [[category:Measurement]] [[category:Optics]]