Hi NVP,
It seems that there is an error in the equation as it appears in the Vision Concepts Manual. The values of that are used to calculate the angle are not the summations, but the moments of inertia about each axis.
The way I figured this out was using the "Particle Orientation" example in LabVIEW. I used the IMAQ Particle Analysis VI in this example to pull out different properties for each particle. I found that if I used I
xy, I
xx, and I
yy in place of the summations in the equation, I was able to calculate the angle properly.
I will pass on this documentation error so that it will be corrected in future versions of the Vision Concepts Manual. Thanks.
Rishee B.
Applications Engineer
National Instruments