TopHat with kernel  
Top  Previous  Next

 
Menu:   Processing > Morphology… > Kernel->TopHat  
Script:   topHatKernel  
 
Use this command to detect small bright regions in an image. The top-hat transformation works by subtracting the result of the Open
operator from the original image. 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.

This function is typically followed by Thresholdng
in order to extract those peaks that fall into a specific range of intensity height.

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.  
 
Probe
 
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.  

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.