Apply a bilateral filter to an image. More...


 The C++ interface for bilateral filtering.
 The C interface for bilateral.

Detailed Description

Apply a bilateral filter to an image.

A bilateral filter is a edge-preserving filter that reduces noise in an image. The intensity of each pixel is replaced by a weighted average of the intensities of nearby pixels. The weights follow a Gaussian distribution and depend on the distance as well as the color distance.

The bilateral filter requires the size of the filter (in pixels) and the upper bound on color values, N, where pixel values range from 0–N inclusively. One and three channel images are supported.