Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

What are the advantages of use IMAQ Remove Particle instead of IMAQ Particle Filter or visceversa?

Solved!
Go to solution

For me Particle Filter is complex to use. If you have used anyone or both, please post your experience with them.

 

Thank you

Impossible is nothing
0 Kudos
Message 1 of 7
(5,082 Views)

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.

Message 2 of 7
(5,074 Views)
Solution
Accepted by topic author bebin

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
Message 3 of 7
(5,061 Views)

Well, thanks for your comments, it looks that I have no other choice than test everyone and see the results. Thank you so much

Impossible is nothing
0 Kudos
Message 4 of 7
(5,046 Views)

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.

0 Kudos
Message 5 of 7
(5,034 Views)

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

0 Kudos
Message 6 of 7
(4,946 Views)

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.

0 Kudos
Message 7 of 7
(4,944 Views)