C# Class Accord.Imaging.Filters.Blur

Blur filter.

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:

Inheritance: Convolution
Show file Open project: accord-net/framework Class Usage Examples

Public Methods

Method Description
Blur ( )

Initializes a new instance of the Blur class.

Method Details

Blur() public method

Initializes a new instance of the Blur class.
public Blur ( )