Assembly: AForge.Imaging (in AForge.Imaging.dll) Version: 22.214.171.124 (126.96.36.199)
public sealed class GaussianBlur : Convolution
The filter performs convolution filter using the kernel, which is calculate with the help of Kernel2D(Int32) method and then converted to integer kernel by dividing all elements by the element with the smallest value. Using the kernel the convolution filter is known as Gaussian blur.
For the list of supported pixel formats, see the documentation to Convolution filter.
// create filter with kernel size equal to 11 // and Gaussia sigma value equal to 4.0 GaussianBlur filter = new GaussianBlur( 4, 11 ); // apply the filter filter.ApplyInPlace( image );