- Box blur
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 aconvolution .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 [Wojciech Jarosz. 2001. [http://www.acm.uiuc.edu/siggraph/workshops/wjarosz_convolution_2001.pdf Fast Image Convolutions] ] .
Box blurs are frequently used to approximate a
Gaussian blur [W3C SVG1.1 specification, [http://www.w3.org/TR/SVG11/filters.html#feGaussianBlur 15.17 Filter primitive 'feGaussianBlur'] ] . By thecentral limit theorem , if applied 3 times on the same image, a box blur approximates the Gaussian kernel to within about 3%, yielding the same result as a quadratic convolution kernel.In the
frequency domain , a box blur has zeros and negative components. That is, asine wave with a period equal to the size of the box will be blurred away entirely and wavelengths shorter than the size of the box may be phase reversed, as seen when twobokeh circles touch to form a bright spot where there would be a dark spot between two bright spots in the original image.ee also
*
Gaussian blur
*Bokeh References
Wikimedia Foundation. 2010.