|
ConvolutionKernel Property
|
Convolution kernel.
Namespace:
Accord.Imaging.Filters
Assembly:
Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntaxpublic int[,] Kernel { get; set; }
Public Property Kernel As Integer(,)
Get
Set
Request Example
View SourceProperty Value
Type:
Int32
ExceptionsException | Condition |
---|
ArgumentException | Invalid kernel size is specified. |
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. |
See Also