Erosion  
Top  Previous  Next

 
Menu:   Processing > Morphology… > Basic->Erode  
Script:   erode  
 
Use this command to erode bright objects on an image and dilate dark ones. For multiphase images
the function removes any foreground pixel having pixels of a different value in its neighborhood, thus shrinking the objects of interest. For grayscale and true color images the erosion finds the darkest pixel in the neighborhood and replaces the central pixel with that value. 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 objects will shrink.

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