Description
Gets or sets the convolution kernel of the
filter. The array contains the 9 elements of the
Kernel of the
convolution matrix. The elements are provided as the entire first
row, followed by the entire second row, followed by the entire
third row, each from left to right.
Property type
Read-write property
Syntax
| [Visual Basic .NET] |
Public Property Kernel() As Variant()
|
Example
Shows the format of
the ConvolutionFilter's Kernel property.
| [C#] |
Copy Code
|
Array kernel = new object[] {
1, 1, 1,
1, 1, 1,
1, 1, 1
};
convolutionFilter.Kernel = kernel;
|
|
Shows the format of
the ConvolutionFilter's Kernel property.
| [Visual Basic .NET] |
Copy Code
|
Dim kernel
As Array
= New Object() {1, 1, 1, 1, 1, 1, _
1, 1, 1}
convolutionFilter.Kernel = kernel
|
|
See Also