Convolution kernel.

Namespace:  AForge.Imaging.Filters
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public int[,] Kernel { get; set; }

Remarks

Note:Convolution kernel must be square and its width/height should be odd and should be in the [3, 99] range.

Note:Setting convolution kernel through this property does not affect Divisor - it is not recalculated automatically.

Exceptions

ExceptionCondition
System..::.ArgumentExceptionInvalid kernel size is specified.

See Also