Image Smoothing

Mean/Box Filter

Below is an example of mean filter (box filter).

19 (111111111)

Matrix equation for mean/box filter

Noisy photo

Gaussian blur

Below is an example of Gaussian blur with σ = 1.

14.8976 (0.36790.60650.36790.60651.00000.60650.36790.60650.3679)

Matrix equation for Gaussian filter

Noisy photo

Median filter

Below is an example of median filter. Median filter works best for salt-and-pepper noises.

Image with salt-and-pepper noise

Images used: "Highimgnoise" by Lugiadoom (Public Domain) and "Noise salt and pepper" by Marko Meza (Public Domain)