The filter performs convolution filter using the blur kernel:
1 2 3 2 1 2 4 5 4 2 3 5 6 5 3 2 4 5 4 2 1 2 3 2 1
For the list of supported pixel formats, see the documentation to Convolution filter.
By default this filter sets Convolution.ProcessAlpha property to , so the alpha channel of 32 bpp and 64 bpp images is blurred as well.
Sample usage:
// create filter Blur filter = new Blur( ); // apply the filter filter.ApplyInPlace( image );
Initial image:
Result image:
Initializes a new instance of the Blur class.