ParticleFilterOptions2

NI Vision for LabWindows/CVI Function

ParticleFilterOptions2

Options used by imaqParticleFilter to filter binary particles.

Elements

Name

Type

Description

rejectMatches int Set this parameter to TRUE to transfer only those particles that do not meet all the criteria. Set this parameter to FALSE to transfer only those particles that meet all the criteria to the destination.
rejectBorder int Set this element to TRUE to reject border particles. Set this element to FALSE to keep border particles.
fillHoles int Set this element to TRUE to fill holes in particles. Set this element to FALSE to keep the holes in particles.
connectivity8 int Set this parameter to TRUE to use connectivity-8 to determine whether particles are touching. Set this parameter to FALSE to use connectivity-4 to determine whether particles are touching. For more information about connectivity, refer to Chapter 9, Binary Morphology, in the NI Vision Concepts Manual.