07-06-2010 03:47 PM
For me Particle Filter is complex to use. If you have used anyone or both, please post your experience with them.
Thank you
Solved! Go to Solution.
07-07-2010 01:55 AM
Imaq remove particle (either remove large or remove small) doesnt give you too much of control over the proceedings. You can define variuos parameters in particle filter. For example if you want to elimiate one of the two particles found after processing having the same area then it is not possible in remove particles where as in particle filter you can define and couple variuos parameters like hole area,perimeter and define and extract the particles that you wish.
07-07-2010 11:37 AM - edited 07-07-2010 11:43 AM
IMAQ Particle Filter is much more versatile than IMAQ Remove Particle. If IMAQ Remove Particle works for your application, by all means use it. However, if you need to reject or keep particles based on high level measurements like circularity, number of holes, perimeter, etc... then you need to use IMAQ Particle Filter.
I agree that IMAQ Particle Filter can be a bit confusing, but I have found that I can always figure it out if I pay careful attention to the following parameters described in the help:
Range specifies whether to include or exclude the values given in Range Lower Value and Range Upper Value.
When Range is Include (FALSE), the particle meets the criteria if Range Lower Value ≤ particle measurement < Range Upper Value.
When Range is Exclude (TRUE), the particle meets the criteria if Range Upper Value ≤ particle measurement or particle measurement < Range Lower Value.
Keep/Remove Particles (F) controls whether particles that meet any of the criteria specified in Selection Values are removed. When Keep/Remove Particles is TRUE, particles meeting any of the criteria are removed. If FALSE, only particles meeting any of the criteria remain.
If you only have one parameter in your "Selection Values", then "Range" and "Keep/Remove Particles" simple reverse each other. If you want to filter particles based on multiple parameters at once, then you need to understand how "Range" and "Keep/Remove Particles" interact.
Maybe a look at this previous post will give a helpful example of using Particle Filter.
http://forums.ni.com/t5/Machine-Vision/IMAQ-Particle-Filter-2-unexpected-behavior/m-p/566544#M14565
Hope that helps,
Kevin C.
National Instruments
Maybe a look at this previous post
07-08-2010 12:20 PM
Well, thanks for your comments, it looks that I have no other choice than test everyone and see the results. Thank you so much
07-09-2010 01:11 AM
For better understanding Use Vision assistant and choose a image having irregular particles with different shapes. Play arond with the particle filter to get the best idea.
07-26-2010 03:16 AM
hi there
but be carefull, for some strange reasons in the older VDM versions it was not allowed to use different filters on the same particle at the same time (with the same box, you had to make it in the row...)
cheerio
fink
07-26-2010 03:20 AM
I have had no difficulty in applying various filters for the same particle or rather the same image. I can vouch from lv 7.0.