Closing with kernel  
Top  Previous  Next

 
Menu:   Processing > Morphology… > Kernel->Closing  
Script:   closeKernel  
 
Use this command to fill gaps in bright objects and connect objects that are close together. The function works by applying the Dilation
followed by Erosion
. A neighborhood pattern is supplied to the function as a grayscale or binary image with pixel values set to 1s for active elements of the kernel and to 0s for elements to be ignored. Use New Image comand to create a new kernel and Digital Editor to edit its elements.

The process could be repeated in a number of successive Iterations that correspond to the distance the boundaries of the objects will expand and shrink back.

If you choose this 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.  
 
Probe
 
Displays the frame number of the grayscale or multiphase image that contains the structuring element for the operation. The size of the kernel in each dimension must not exceed 2*Overscan+1. See Preferences for more details.  

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.  
 
Preview
 
Select this check box to watch the Preview of the output image.  
 
Iterations
 
Lets you select how many times the operation will be applied. Note that for the binary images ImageWarp uses a fast algorithm that renders the same result without actually performing multiple passes through the image.