ConvolutionFunctionArguments
Base Type: RasterFunctionArguments
A class for convolution raster function arguments.
Property |
Type |
Description |
---|---|---|
Columns |
long |
The number of columns of the kernel filter. |
Rows |
long |
The number of rows of the kernel filter. |
Kernel |
double[] |
The convolution filter kernel values. |
Type |
long |
The type of the stock kernel filter. |
Remarks
Set VariableName of the RenderingRule object to "Raster" when using ConvolutionFunction.
Pre-defined Kernel types include the following:
-1=User Defined
0=Line Detection Horizontal
1=Line Detection Vertical
2=Line Detection Left Diagonal
3=Line Detection Right Diagonal
4=Gradient North
5=Gradient West
6=Gradient East
7=Gradient South
8=Gradient Northeast
9=Gradient Northwest
10=Smooth Arithmetic Mean
11=Smoothing3x3
12=Smoothing5x5
13=Sharpening3x3
14=Sharpening5x5
15=Laplacian3x3
16=Laplacian5x5
17=Sobel Horizontal
18=Sobel Vertical
19=Sharpen
20=Sharpen2
21=Point Spread