C# Class Accord.Imaging.Filters.Sharpen

Sharpen filter

The filter performs convolution filter using the sharpen kernel:

0 -1 0 -1 5 -1 0 -1 0

For the list of supported pixel formats, see the documentation to Convolution filter.

Sample usage:

// create filter Sharpen filter = new Sharpen( ); // apply the filter filter.ApplyInPlace( image );

Initial image:

Result image:

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

Public Methods

Method Description
Sharpen ( )

Initializes a new instance of the Sharpen class.

Method Details

Sharpen() public method

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