Image noise
2655280
221282453
2008-06-23T21:06:50Z
Iridescent
937705
Cleanup/[[WP:AWB/T|typo fixing]], typos fixed: and and → and using [[Project:AutoWikiBrowser|AWB]]
{{Cleanup|date=January 2007}}
{{Unreferenced|date=January 2007}}
[[Image:Highimgnoise.jpg|right|thumb|Noise clearly visible in this image (Panasonic Lumix LX1)]]
'''Image noise''' is a random, usually unwanted, fluctuation of pixel values in an [[image]]. Image noise can originate in [[film grain]], or in [[electronic noise]] in the input device ([[scanner]] or [[digital camera]]) [[sensor]] and circuitry, or in the unavoidable [[shot noise]] of an ideal photon detector.
Image noise is most apparent in image regions with low signal level, such as shadow regions or underexposed images.
== Useful noise ==
High levels of noise are almost always undesirable, but there are cases when lower levels of noise may be useful, for example to prevent [[discretization]] artifacts (color banding or [[posterization]]). Noise purposely added for such purposes is called [[dither]].
==Noise problems with digital cameras==
[[Image:Noise Comparison.JPG|thumb|350px|right|Image on the left has exposure time of >10 seconds in low light. The image on the right has adequate lighting and 0.1 second exposure.]]
In low light, or at high [[exposure index]] (ISO speed) settings, digital cameras tend to produce images with more apparent image noise. The two examples show a typical difference (best seen at full-size) between a well-lit subject and one in low light.
==Image Noise Types==
[[Image:Noise salt and pepper.png|thumb|150px|right|Image with salt and pepper noise.]]
===Salt And Pepper Noise===
An image containing salt and pepper noise will have dark pixels in bright regions and bright pixels in dark regions. This type of noise might be the result of classification errors of the surface material. Corruption in conversion from analog to digital will also cause salt and pepper noise. <ref name="shapiro">Shapiro, Linda G., and George C. Stockman. Computer Vision. Upper Saddle River, New Jersey: Prentice-Hall, Inc., 2001.</ref>
===Gaussian Noise===
An image containing Gaussian noise has a normally distributed addition of intensity at each point in the image region.<ref name="shapiro"/>
== Image noise removal ==
Noise cannot be removed without the loss of some information in the form of image detail. Nevertheless, [[Noise reduction#Image noise reduction|noise-reduction]] algorithms have been developed to analyze an image and determine whether unduly dark or light pixels are, in fact, details or are more likely to be due to noise.
=== Linear filters ===
One method to remove noise is by [[convolution|convolving]] the original image with a smoothing kernel. The sharpness of the image is reduced as the kernel grows in width. This is because the kernel's width determines the size of the neighborhood of pixels that will affect the final intensity of the pixel being smoothed. Different linear filters determine different weights to be used for neighboring pixels.<ref name="fisher">Fisher, Bob. "Mean Filter." Spatial Filters. 8 Jun 2008 <http://homepages.inf.ed.ac.uk/rbf/HIPR2/mean.htm>.</ref>
Linear filtering reduces noise, but the blurring also reduces sharpness which can be a major drawback to image quality.<ref name="shapiro"/>
'''Mean/Box Filtering'''
In mean filtering each of the neighborhood pixels are given equal weight in determining the intensity of the pixel being smoothed. In effect, any lack in conformance of a pixel to its neighborhood is averaged out. The values of the kernel are the same and add up to one.<ref name="fisher"/>
'''Gaussian Filtering'''
In Gaussian filtering each of the neighborhood pixels are given weights in approximation of a [[Gaussian function]] in determining the intensity of the pixel being smoothed. In effect, pixels closer to the pixel being smoothed are more important than pixels farther from it. For this very same reason, Gaussian filtered images do not experience ringing unlike mean filtered images.<ref>Fisher, Bob. "Gaussian Smoothing." Spatial Filters. 8 Jun 2008 <http://homepages.inf.ed.ac.uk/rbf/HIPR2/gsmooth.htm>.</ref>
=== Non-Linear filters ===
A [[median filter]] is an example of a non-linear filter that is fairly good at preserving image detail<ref>Fisher, Bob. "Median Filter." Spatial Filtering. 8 Jun 2008 <http://homepages.inf.ed.ac.uk/rbf/HIPR2/median.htm>.</ref>. To run a median filter:
# consider each pixel in the image
# sort the neighbouring pixels into order based upon their intensities
# replace the original value of the pixel with the [[median]] value from the list
This type of filter is very good at removing [[salt and pepper noise]] from an image, and causes relatively little blurring of edges, and hence is often used in [[computer vision]] applications.
==Low- and high-ISO noise examples==
<gallery caption="Images of a flower taken at ISO 100 and ISO 1600 on a [[Canon 400D]] digital camera. Both images were shot under similar lighting conditions, varying only the ISO setting and shutter speed." widths="150px" heights="315px" perrow="5">
Image:Flower_at_100_ISO_for_comparison.JPG|<center>ISO 100, {{f/}}5.6, 1/350 s<br /> (click on image for larger version)</center>
Image:Flower_at_1600_ISO_for_comparison.JPG|<center>ISO 1600, {{f/}}5.6, 1/4000 s<br /> (click on image for larger version)</center>
Image:ISO_comparison_150px.jpg|Comparison of both images. This is a crop of a small section of each image displayed at 100%. The top portion was shot at 100 ISO, the bottom portion at 1600 ISO.
<!-- This image should be displayed at 100% as it is used to illustrate the difference at full resolution. If resizing this image to make it smaller it would be best to crop it or it will lose meaning -->
</gallery>
=== Video noise ===
In [[video]] and [[television]], noise refers to the random dot pattern that is superimposed on the picture as a result of electronic noise, the 'snow' that is seen with poor (analog) television reception or on VHS tapes. [[Interference]] and [[static]] are other forms of noise, in the sense that they are unwanted, though not random, which can affect radio and television signals.
==See also==
* [[Noise reduction]]
==References==
<references/>
==External links==
* http://www.dpreview.com/learn/?/Glossary/Digital_Imaging/Noise_01.htm
* [http://6mpixel.org/en/ Best picture quality with 6 megapixel] (noise considerations for compact digital cameras)
* [http://www.dpreview.com/articles/compactcamerahighiso/ Compact Camera High ISO modes: Separating the facts from the hype]
[[Category:Digital photography]]
[[Category:Noise]]
[[de:Bildrauschen]]
[[no:Bildestøy]]
[[pl:Szumy (fotografia cyfrowa)]]
[[ru:Цифровой шум изображения]]