Top  Previous  Next

Menu:   Processing > Morphology… > Kernel->Template  
Script:   template  
Use this command to perform a binary template matching on objects in multiphase images
. The function works by applying the Hit or Miss.operator using a user-defined Probe kernel as the foreground template and a complimentary kernel as the background template.

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.