Convolves an image with the given kernel matrix.
Syntax
'Declaration
Public Shared Sub Convolve( _
ByVal As ImGearRasterPage, _
ByVal () As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Double, _
ByVal As Boolean _
)
'Usage
Dim page As ImGearRasterPage
Dim matrix() As Integer
Dim matrixWidth As Integer
Dim matrixHeight As Integer
Dim normalizer As Double
Dim addResultToOriginalPixels As Boolean
ImGearFrequencyProcessing.Convolve(page, matrix, matrixWidth, matrixHeight, normalizer, addResultToOriginalPixels)
public static void Convolve(
ImGearRasterPage ,
int[] ,
int ,
int ,
double ,
bool
)
public: static void Convolve(
ImGearRasterPage* ,
int[]* ,
int ,
int ,
double ,
bool
)
public:
static void Convolve(
ImGearRasterPage^ ,
array<int>^ ,
int ,
int ,
double ,
bool
)
Parameters
- page
- ImageGear.Core.ImGearRasterPage class object to be processed.
- matrix
- Array of kernel elements to convolve with.
- matrixWidth
- Width of kernel matrix.
- matrixHeight
- Height of kernel matrix.
- normalizer
- Normalizer of the result.
- addResultToOriginalPixels
- Whether to add the result of the convolution to the original pixel
values, or replace the original pixel values.
See Also