Image Filtering
Filtering an image refers to sampling an image in a way that resolve aliasing. Since images are a 2D signal, image filtering is a type of [[Wikipedia: Filter (signal processing) signal filtering].
Denoising
Mean filter
Simply take the mean of all pixels in the neighborhood.
Median filter
Median of pixels in a neighborhood. This preserves edges.
Gaussian filter
Convolve the image with a gaussian kernel.
This is similar to a mean filter but pixels are weighted by their spatially distance.
Bilateral filtering
A bilateral filter is a gaussian filter but pixels are additionally weighted by the gaussian of the intensity difference. Hence, edges are preserved since adjacent pixels which have significantly different intensity are weighted much less.
Upfiltering
For upsampling an image, common filters include:
- Linear
- Nearest
- Cubic
Downfiltering
Also known as minifying.
Mipmap
Anisotropic filtering
Anisotropic filtering refers to filtering different axis of an image differently, most useful when an texture is viewed at a steep angle.