- Signal to noise ratio (image processing)
The

**Signal to Noise Ratio**(**SNR**) is used in image processing as a physical measure of thesensitivity of animaging system . Industry standards measure**SNR**indecibels (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 theISO film speed equivalent; SNR:32.04 dB = excellent image quality and SNR:20 dB = acceptable image quality. [*ISO 12232: 1997 Photography – Electronic Still Picture Cameras – Determining ISO Speed here*]**Definition of SNR**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 thestandard deviation of the signal value.$SNR\; =\; frac\{mu,Sig\}\{sigma,\_\{mu,Sig$

However, because of clamping, $\{sigma,\_\{mu,Sig$ approaches zero and thus,**SNR**approaches infinity; which is physically meaningless in image analysis [*Electro Optical Industries, Inc.(2005). EO TestLab Methodology. In "Education/Ref". http://www.electro-optical.com/html/toplevel/educationref.asp.*] . 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.$SNR\; =\; frac\{Signal\}\{RMS\; Noise\},$

**Calculations****Explanation**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 anytrends . 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**orroot 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 follwing double sumation.

$f\_i\; =\; sum\_\{j=0\}^m\; sum\_\{i=1\}^n\; a\_j\; x\_i^j$

**$f,$ = output sequence

**$m,$ = the polynomial order

**$x,$ = the input sequence (array/line values) from the signal region or background region, respectively.

**$n,$ = the number of lines

**$a\_j,$ = the polynomial fitcoefficients

*The polynomial fit coefficients can thus be calculated by asystem of equations . [*Aboufadel, E.F., Goldberg, J.L., Potter, M.C. (2005)."Advanced Engineering Mathematics (3rd ed.)."New York, New York: Oxford University Press*]

$egin\{bmatrix\}\; 1\; x\_1\; x\_1^2\; \backslash \; 1\; x\_2\; x\_2^2\; \backslash \; vdots\; vdots\; vdots\; \backslash \; 1\; x\_n\; x\_n^2end\{bmatrix\}$egin{bmatrix} a_2 \ a_1 \ a_0 \end{bmatrix}=egin{bmatrix} f_1 \ f_2 \ vdots \ f_n end{bmatrix}

*Which can be written...

$egin\{bmatrix\}\; n\; sum\; x\_i\; sum\; x\_i^2\; \backslash \; sum\; x\_i\; sum\; x\_i^2\; sum\; x\_i^3\; \backslash \; sum\; x\_i^2\; sum\; x\_i^3\; sum\; x\_i^4\; end\{bmatrix\}$egin{bmatrix} a_2 \ a_1 \ a_0 end{bmatrix}=egin{bmatrix} sum f_i \ sum f_i x_i \ sum f_i x_i^2end{bmatrix}

*Computer software or rigourousrow 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.

$mu,Sig\; =\; frac\{sum\_\{i=1\}^n\; (X\_i\; -\; f\_i)\}\{n\}\; qquad\; qquad\; mu,Bckrnd\; =\; frac\{sum\_\{i=1\}^n\; (X\_i-f\_i)\}\{n\}$

**$mu,Sig$ = average signal value

**$mu,Bckrnd$ = average background value

**$n,$ = number of lines in background or signal region

**$X\_i,$ = value of the i^{th}line in the signal region or backround region, respectively.

**$f\_i,$ = value of the i^{th}output of the second order polynomial.

*Hence, the net signal value is determined.

$Signal,\; =\; mu,Sig\; -\; mu,Bckrnd$**RMS noise and SNR***The

**RMS Noise**is defined as thesquare root of theabsolute value of the sum of variances from the signal region. [*Electro Optical Industries, Inc.(2005). EO TestLab Methodology. In "Education/Ref". http://www.electro-optical.com/html/toplevel/educationref.asp.*]

$RMS\; Noise\; =\; sqrt\{Bigg|frac\{sum\_\{i=1\}^n\; (X\_i-frac\{sum\_\{i=1\}^n\; X\_i\}\{n\})^2\}\{n\}Bigg$

*The SNR is thus given by the definition.$SNR\; =\; frac\{Signal\}\{RMS\; Noise\},$

*Using the industry standard 20 log rule [*Test and Measurement World (2008). SNR. In "Glossary and Abbreviations".http://www.tmworld.com/info/CA6436814.html?q=SNR*] ...

$SNR\; =\; 20\; log\_\{10\}\; frac\{Signal\}\{RMS\; Noise\},$**See also*** Minimum resolvable contrast

*Minimum resolvable temperature difference

*Modulation transfer function

*Signal to noise ratio

*Signal transfer function **References****External links*** http://www.electro-optical.com/html/

* http://www.iso.org/iso/home.htm

* http://www.tmworld.com/

*Wikimedia Foundation.
2010.*

### Look at other dictionaries:

**Signal-to-noise ratio**— For signal to noise ratio in statistics, see Cohen s d. Signal to noise ratio (often abbreviated SNR or S/N) is a measure used in science and engineering that compares the level of a desired signal to the level of background noise. It is defined… … Wikipedia**Peak signal-to-noise ratio**— The phrase peak signal to noise ratio, often abbreviated PSNR, is an engineering term for the ratio between the maximum possible power of a signal and the power of corrupting noise that affects the fidelity of its representation. Because many… … Wikipedia**Image processing engine**— The image processing engine, or image processor, is an important component of a digital camera and plays a vital role in creating the digital image.The image processing engine must perform a complex range of tasks.The photodiodes employed in an… … Wikipedia**Contrast-to-noise ratio**— Haze over Kuala Lumpur. Contrast to noise ratio (CNR) is a measure used to determine image quality. CNR is similar to the metric, signal to noise ratio (SNR), but subtracts off a term before taking the ratio. This is important when there is a… … Wikipedia**Microscope image processing**— is a broad term that covers the use of digital image processing techniques to process, analyze and present images obtained from a microscope. Such processing is now commonplace in a number of diverse fields such as medicine, biological research,… … Wikipedia**Signal transfer function**— The signal transfer function (SiTF) is a measure of the signal output versus the signal input of a system such as an infrared system or sensor. [cite book | title = The Optical Transfer Function of Imaging Systems | author = Tom L. Williams |… … Wikipedia**Image noise**— Noise clearly visible in an image from a digital camera Image noise is random (not present in the object imaged) variation of brightness or color information in images, and is usually an aspect of electronic noise. It can be produced by the… … Wikipedia**Noise shaping**— is a technique typically used in digital audio, image, and video processing, usually in combination with dithering, as part of the process of quantization or bit depth reduction of a digital signal. Its purpose is to increase the apparent signal… … Wikipedia**Noise figure**— (NF) is a measure of degradation of the signal to noise ratio (SNR), caused by components in a radio frequency (RF) signal chain. The noise figure is defined as the ratio of the output noise power of a device to the portion thereof attributable… … Wikipedia**Image compression**— is the application of Data compression on digital images. In effect, the objective is to reduce redundancy of the image data in order to be able to store or transmit data in an efficient form.Image compression can be lossy or lossless. Lossless… … Wikipedia