Erosion with kernel  
Top  Previous  Next

Menu:   Processing > Morphology… > Kernel->Erosion  
Script:   erodeKernel  
Use this command to erode the bright objects on an image and dilate bright 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. A neighborhood pattern is supplied to the function as a grayscale or binary image
with pixel values set to 1s for active elements of the kernel and to 0s for elements to be ignored. Use New Image comand to create a new kernel and Digital Editor to edit its elements.

The process could be repeated in a number of successive Iterations that correspond to the distance the boundaries of the objects will shrink.

If you choose this command, the following options will become available:

Displays the input image frame number. If you want to process another image, type or select the corresponding value.  
Displays the frame number of the grayscale or multiphase image that contains the structuring element for the operation. The size of the kernel in each dimension must not exceed 2*Overscan+1. See Preferences for more details.  

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.  
Select this check box to watch the Preview of the output image.  
Lets you select how many times the operation will be applied.