Window operator

From formulasearchengine
Revision as of 04:00, 4 October 2010 by en>Jay1279 (Wikified as part of the Wikification WikiProject!)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A bilateral filter is non-linear, edge-preserving and noise-reducing smoothing filter for images. The intensity value at each pixel in an image is replaced by a weighted average of intensity values from nearby pixels. This weight can be based on a Gaussian distribution. Crucially, the weights depend not only on Euclidean distance of pixels, but also on the radiometric differences. For example, the range difference such as color intensity, depth distance, etc. This preserves sharp edges by systematically looping through each pixel and adjusting weights to the adjacent pixels accordingly.

The bilateral filter is defined as

Ifiltered(x)=1WpxiΩI(xi)fr(I(xi)I(x))gs(xix),

where the normalization term

Wp=xiΩfr(I(xi)I(x))gs(xix)

ensures that the filter preserves image energy and

  • Ifiltered is the filtered image;
  • I is the original input image to be filtered;
  • x are the coordinates of the current pixel to be filtered;
  • Ω is the window centered in x;
  • fr is the range kernel for smoothing differences in intensities. This function can be a Gaussian function;
  • gs is the spatial kernel for smoothing differences in coordinates. This function can be a Gaussian function;

Adobe Photoshop implements a bilateral filter in its surface blur tool. GIMP implements a bilateral filter in its Filters-->Blur tools; and it is called Selective Gaussian Blur'.

See also

External links

Template:Technology-stub