Scrap  
Top  Previous  Next

 
Menu:   Processing > Morphology… > Connectivity->Scrap  
Script:   scrap  
 
Use this command to remove small objects in multiphase images
. The function works by counting pixels in the 8-connected blobs. If the number of pixels in an object lies within the selected range, the object is identified as scrap and removed from the image. An alternative mode of the function extracts such objects and removes all other objects.

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.  
 
Min
 
Lets you choose the minimum number of pixels in the objects to be identified as scrap.  
 
Max
 
Lets you choose the maximum number of pixels in the objects to be identified as scrap.  
 
Mode
 
Allows you to choose the mode for the operation:  
 
Click Remove to erase the objects identified as scrap from the image.  
Click Select to extract the objects identified as scrap from the image.