Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Particle Filter 3 unexpected behavior

I'm passing a binary image to Particle Filter 3.vi and attempting to filter out all particles that do not fall within a net area criteria. I set the filter settings as follows:

 

Measurement Parameter = Area

Connectivity = True (8)

Range Lower Value = 200

Range Upper Value =400

Range = False (include)

Measurement Type = pixels

Keep/Remove Particles = False (keep)

 

When I pass the resulting filtered image to the particle analysis report.vi. I get Many particles whose area is less than Range Lower Value (200).  What am I doing wrong?

0 Kudos
Message 1 of 3
(3,447 Views)

Robicheaux -

 

That all looks reasonable - can you post your code and your sample image?

 

Greg Stoll

Vision R&D

National Instruments

Greg Stoll
LabVIEW R&D
0 Kudos
Message 2 of 3
(3,423 Views)
Found the problem.  I deleted the selection value cluster control and re-created a new control.  Everything works as expected now.  The original control was created by right clicking on the select value terminal but I'd copied it to several different locations, must have somehow gotten corrupted.
0 Kudos
Message 3 of 3
(3,412 Views)