Ultimate erosion  
Top  Previous  Next

 
Menu:   Processing > Morphology… > Geodesy->Ultimate erosion  
Script:   ultErode  
 
Use this command to reduce objects in a binary image
to single points or small groups of connected points. The function works by applying multiple Erosion
to the image, while preventing the small blobs from disappearing. The size and shape of the neighborhood kernel used in the operation is selected with the Probe option. The Ultimate erosion creates a multiphase image, in which the index of each point or blob equals to the maximum distance from the boundary of the related object in the original image.

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.  

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