Box blur
From Wikipedia, the free encyclopedia
A box blur is an image filter in which each pixel in the resulting image has a value equal to the average value of its neighboring pixels in the input image. It is a form of low-pass ("blurring") filter and is a convolution.
Due to its property of using equal weights it can be implemented using a much simpler accumulation algorithm which is significantly faster than using a sliding window algorithm[1].
Box blurs are frequently used to approximate a Gaussian blur[2]. If applied 3 times on the same image it approximates the Gaussian kernel to within about 3%, yielding the same result as a quadratic convolution kernel.
[edit] See also
[edit] References
- ^ Wojciech Jarosz. 2001. Fast Image Convolutions
- ^ W3C SVG1.1 specification, 15.17 Filter primitive 'feGaussianBlur'