Removing Unwanted Particles; Separating Touching Particles - National Instruments IMAQTM User Manual

Vision for visual basic
Table of Contents

Advertisement

Removing Unwanted Particles

Separating Touching Particles

Note
A separation is a time-intensive operation compared to an erosion or open operation.
Consider using an erosion if speed is an issue with the application.
© National Instruments Corporation
Use
CWIMAQVision.RejectBorder
border of the image. Reject particles on the border of the image when you
suspect that the information about those particles is incomplete.
Use
CWIMAQVision.RemoveParticle
that do not interest you. You also can use the
methods in
CWIMAQVision.Morphology
Unlike
CWIMAQVision.RemoveParticle
size and shape of the remaining particles.
Use the hit-miss method of
particular configurations of pixels, which you define with a structuring
element. Depending on the configuration of the structuring element,
the hit-miss method can locate single isolated pixels, cross-shape or
longitudinal patterns, right angles along the edges of particles, and other
user-specified shapes. For more information about structuring elements,
refer to Chapter 9, Binary Morphology, of the IMAQ Vision Concepts
Manual.
If you know enough about the shape features of the particles you want to
keep, use
CWIMAQVision.ParticleFilter2
do not interest you. If you do not have enough information about the
particles you want to keep at this point in the processing, use the particle
measurement methods to obtain this information before applying a particle
filter. Refer to the
Make Particle Measurements
information about the measurement methods.
Use
CWIMAQVision.Separation
operation with
CWIMAQVision.Morphology
objects.
CWIMAQVision.Separation
separates particles without modifying their shapes. However, erosion and
open operations alter the shape of all the particle.
Chapter 4
to remove particles that touch the
to remove large or small particles
to remove small particles.
CWIMAQVision.Morphology
or apply an erosion or an open
is an advanced operation that
4-3
IMAQ Vision for Visual Basic User Manual
Performing Particle Analysis
,
, and
Erode
Open
POpen
, these three methods alter the
to locate
to filter out particles that
section for more
to separate touching

Advertisement

Table of Contents
loading

This manual is also suitable for:

Imaq

Table of Contents