Welcome to our Support Center

Remove Particle

Description

Eliminates or keeps particles resistant to a specified number of 3 x 3 erosions. Type : polymorphic.

 

Input parameters

 

Image Src : class, type accepted U8.
Connectivity 4/8 (8) : boolean,
specifies the type of connectivity used by the algorithm for particle detection. The connectivity mode directly determines whether an adjacent pixel belongs to the same particle or a different particle.

    • True : particle detection is performed in connectivity mode 8
    • False : particle detection is performed in connectivity mode

 

Remove Particle Parameters : cluster,

Number Of Erosions : integer, specifies the number of 3 x 3 erosions to apply to the image.
Square/Hexa (Square) : boolean, specifies whether to treat the pixel frame as square or hexagonal during the transformation.
Low Pass/High Pass (Low) : boolean,
specifies whether the objects resistant to n erosions are discarded or kept.

Output parameters

 

Image Dst : class

Example

All these exemples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install TIGR library to run it).

Table of Contents