Reject Border

Description

Eliminates particles that touch the border of an image. The source image must be an 8-bit binary image. Type : polymorphic.

 

Documentation illustration (illustration unavailable in the archive).

Input parameters

 

Documentation illustration (illustration unavailable in the archive). Image Src : class, type accepted U8.
Documentation illustration (illustration unavailable in the archive).
Connectivity 4/8 (8) : boolean,
specifies how the algorithm determines whether an adjacent pixel belongs to the same or to a different particle.

Output parameters

 

Documentation illustration (illustration unavailable in the archive). Image Dst : class

Examples

All these examples 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 Computer Vision ​library to run it).