Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to extract X,Y-coordinates after Particle Analysis

Hi there,

 

I'd like to use Particle Analysis for a kind of motion detection. My problem is I can't get the information out...

 

How do I get the X- and Y- coordinates (center of mass) of a particle (of a certain areal measurement in case there are more than one particle)?

 

 

For example:

Area between 100 and 150... What is X and Y

 

 

Thanks for help

 

 

0 Kudos
Message 1 of 5
(4,461 Views)

Hello seasoo,

 

Have a look at the attached vi.

 

For your analysis, the IMAQ Particle Analysis Report vi will be appropriate. To get all the values you use the FOR loop except if you have a prior knowledge of the number of particles you will get. You then use the values as needed - compare to your range.

Use the IMAQ Particle Filter 3 to isolate particles based on your criteria.

Hope that helps.

 

Download All
Message 2 of 5
(4,447 Views)

Thanks for your reply!

 

I totally forgot to tell that I'm using LV10. Could not open your file.

0 Kudos
Message 3 of 5
(4,436 Views)
Message 4 of 5
(4,431 Views)

thanks! i hope your help is enough for me to succed 😉

0 Kudos
Message 5 of 5
(4,376 Views)