Click or drag to resize
Accord.NET (logo)

ConvolutionKernel Property

Convolution kernel.

Namespace:  Accord.Imaging.Filters
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
public int[,] Kernel { get; set; }
Request Example View Source

Property Value

Type: Int32
Exceptions
ExceptionCondition
ArgumentExceptionInvalid kernel size is specified.
Remarks

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

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

See Also