Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ Find Straight Edge error -1074396023

IMG_0370b.jpg

 

The angle tolerance has a minimum?

Somehow it's not documented.

It's embarrassing to learn this kind of error from the user.

 

George Zou
0 Kudos
Message 1 of 3
(1,892 Views)

Hey Zou, 

 

You're right that minimum isn't documented in our help files. 

 

When you are getting to the 1000th decimal value the difference in angle becomes so minimal and combined with the pixels available in your image the angle of rotation returned isn't accurate bellow the 1000th decimal value.

 

Why does your application need to get a lower angle tolerance? What image size are you working with?

 

0 Kudos
Message 2 of 3
(1,847 Views)

That parameter is a calculated value.  Depends on a few parameters.  When one of them doesn't set properly, the calculated value becomes 0.  That's when the error show up.

I know what the angle should be (it almost a vertical line).  It should never over 90 degree.  Any points cause the angle over 90 degree should be threw away.

Image size is not relevant.

 

 

George Zou
0 Kudos
Message 3 of 3
(1,843 Views)