Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Particle filter no different? try to ignore particles less or equal 2 pixels

I have an image, I use Vision builder to identify particles,
Attached are the VIs generated by V Builder and image.jpg. I run the particle analysis with and without particle filter, the number of particles is 17 no matter what?
Download All
0 Kudos
Message 1 of 3
(3,042 Views)
Your parameters for the particle filter are reversed. If you swap the 0 and 2, everything works fine.

One interesting observation is that the upper limit is not included, so these settings only eliminate single pixel particles. To eliminate 2 pixel particles, you need the upper limit to be 3 (or it could be 2.5, etc.).

Bruce
Bruce Ammons
Ammons Engineering
Message 2 of 3
(3,042 Views)
Thank Bruce,
It works fine now.
0 Kudos
Message 3 of 3
(3,042 Views)