Thinning  
Top  Previous  Next

 
Menu:   Processing > Morphology… > Basic->Thinning  
Script:   thin  
 
Use this command to reduce bright objects to their skeletons. For multiphase images
the function works by peeling the boundaries of objects while preserving the connectivity and end points of line segments. For grayscale and true-color image the function suppresses pixels that are not part of the intensity "ridges" in the image, thus reducing bright lines to the single pixel width.

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.  
 
Peel
 
Lets you select the number of thinning steps. If this option is set to zero, ImageWarp will continue to iterate until the objects are completely thinned.  
 
Prune
 
Lets you select the number of pruning steps. Pruning will reduce the size of branches protruding from skeletons. If this option is set to -1, ImageWarp will continue to iterate until the objects are completely pruned.  
 
Binarize
 
Check this option if you want to convert grayscale and true-color skeletons into binary ones. This parameter is disregarded if the input image is a multiphase one.  

Mode
 
Allows you to chose the thinning methold. Select among the following modes:  
 
Distance – fast non-iterative method based on the distance transform.  
Znang – parallel iterative method based on the modified Zhang-Suen transform.  
Davis – sequential iterative method based on the Davies-Plummer algorithm.