 Bilateral filter

A bilateral filter is a non-linear, edge-preserving, and noise-reducing smoothing filter for images.It replaces the intensity of each pixel with a weighted average of intensity values from nearby pixels.