Closing  
Top  Previous  Next

 
Menu:   Processing > Morphology… > Basic->Close  
Script:   close  
 
Use this command to fill gaps in bright objects and connect objects that are close together. The function works by applying Dilation
followed by Erosion
. The shape and size of the neighborhood pattern is selected with the Probe option. 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 perform the operation on another image, type or select the corresponding value.  

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.  
 
Probe
 
Lets you chose the size and shape of the kernel used in the operation. Probe elements with check marks are active, empty elements are ignored. Choose among the following most usable kernels:  
 
#1
1x3 vertical bar
#4
3x1 horizontal bar
#5
3x3 cross
#10
3x3 diagonal cross
#15
3x3 square
#16
5x5 circle