Link lines  
Top  Previous  Next

 
Menu:   Processing > Morphology… > Connectivity->Link lines  
Script:   link  
 
Use this command to connect the ends of linear structures in a binary image
. The function works by performing a selected number of dilations followed by thinning.

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.  

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.  
 
Distance
 
Lets you choose the number of dilation steps used to connect the ends of linear structures. This is equivalent to the maximum distance between the objects to be linked.