ImageGear Professional v18.2 > API Reference Guide > FreqIP Component API Reference > FreqIP Component Objects > IGFreqIPCtl Control > IGFreqIPCtl Methods > Convolve Method |
Convolves an image with the given kernel matrix. The convolution is implemented using FFT, based on the Convolution Theorem, which provides improved performance for larger kernel matrix.
The result of the convolution is multiplied by normalizer to scale the data. For kernels that sum to zero, the normalizer is usually set to 1.0.
This method takes into account the ROI settings of pPage object, that are accessible via the IGPage Object.ROI property. By default ROI is set to the entire image.
Convolve(pPage As IGPage, kernel As IGDataArray, kernWidth As
Long, kernHeight As Long, normaliser As Double, addToOrigin As
Boolean)
Name | Description |
---|---|
pPage | IGPage Object to be processed. |
kernel | Array of kernel elements with which to convolve. |
kernWidth | Width of kernel matrix. |
kernHeight | Height of kernel matrix. |
normalizer | Normalizer of kernel. |
addToOrigin | Whether to add the result of the convolution to the original pixel values, or replace the original pixel values. |
None
8, 16, 32-bit grayscale images with one channel
FreqIP