Convolve  
Top  Previous  Next

 
Menu:   Processing > Filters… > Advance->Convolve  
Script:   convolve  
 
Use this function to apply a linear convolution to an image. A user-defined kernel is used in the operation. The kernel is a matrix of coefficients, which are multiplied by each pixel and its neighbors and then summed to produce a resultant value. The result is placed in the output image at the location of the original pixel. This operation is applied to all pixels in the input image by moving the kernel across the image pixel by pixel. Mathematically it is described as

convolve

where K is the kernel matrix of (2m+1)(2n+1) dimensions.

The kernel is supplied to the function as a grayscale image whose pixel intensities are used as matrix coefficients. Use the New Image
comand to create a new kernel and Digital Editor
. to edit its coefficients.

If you choose the Convolve command, the following options will become available:

Input
 
Displays the input image frame number. If you want to process another image, type or select the corresponding value.  

Kernel
 
Displays the frame number of the grayscale image that contains the convolution kernel. The image must be one of the following types: 8-bit, 16-bit, 32-bit, and floating point.  

Output
 
Displays the number of the frame in which the output image will be created. Depending on the Preferences. ImageWarp will set it either to the first available value or to the Input frame number. Type or select another value if you want the output image to be created in a different frame.  
 
Normalize
 
Check this option if you want the values of pixels in the output image to be normalized by being divided by the sum of the kernel coefficients.  

Preview
 
Select this check box to watch the Preview of the output image.