LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ Find Edge discrepancy in Pixel and Real World coordinates

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.

 

23958i1DBAD12D7B0E283D

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.

--
Tim Elsey
Certified LabVIEW Architect
0 Kudos
Message 1 of 2
(2,461 Views)

I decided I'd attach an example of the actual code.  All defaults should be set properly.

 

 

--
Tim Elsey
Certified LabVIEW Architect
Download All
0 Kudos
Message 2 of 2
(2,453 Views)