I am attempting to perform spot tracking for a beam aiming system. I need help with the "IMAQ Particle Analysis' function. I reviewed the examples, and none seem to demonstrate extracting the XY pixel location [Centroid] for a detected particle.
I coded an still image of my beam - and the particle analysis reporting does not correlate to the clearly 'seen' location of the beam - i.e. the only singular particle of the sample image. Some of the reporting seems correct - Hydraulic diameter - but the XY boundary - keep returning the entire image field boundaries?.
I have attached my test VI, a BMP of the captured image. Any help is appreciated. My Vision Acquisition, Analysis license is activated.
if it's reasonable to convert the image into a binary, easy to filter out outliers, and use the same tool to find the center of mass of the particle.
Does this make sense?
If the particle detection function worked at all...I would invest the time.
Looking at the image, it's pretty much binary now.
There has to be something wrong in how I am using the function.
This is the help I am looking for.
Thanks! Yes I figured that out. Odd...there is not error returned from the function, and odder still it reports 'detecting' one particle...
I will upload the vi I posted with the binary conversion..
I wrote a more detailed explanation, but the system decided to kick me out, and I'm too tired to write it agin. But I have attached a VI that does a fair job of locating the center of mass..
Oh, Calibrated values will always be the same as pixel values, unless you have a calibrated image.
Thanks!....I've had the same issue with writing a long Forum reply to be booted off a refresh.