09-15-2010 12:22 PM - edited 09-15-2010 12:23 PM
I'm trying to measure angles in an image. I have calibrated the image to real-world (mm) coordinates.
The result returned by IMAQ Find Edge works when returning Points (Pixel) and Points (Real-World).* However, I think there is a possible bug with Angle (Pixel) and Angle (Real-World). They return the same value. Before I realized the Line output tells you the angle I wrote code to find the angle myself using the Real-World points.
So, is this a bug, or am I missing a step or two when calibrating? I've attached a subset of the image, with lines, and the output to hopefully help clarify a bit.
The correct Real-World angle should be about 71degrees.
*I know this is working right because before I knew I could calibrate an image I wrote my own code to do as much, and got them both to reconcile.
09-15-2010 12:48 PM - edited 09-15-2010 12:54 PM
I decided I'd attach an example of the actual code. All defaults should be set properly.