First time here? Check out the FAQ!

Ask Your Question
0

angle estimation accuracy in C++ cv::phase

asked Apr 9 '13

uvts_cvs gravatar image

In phase documentation is stated:

The angle estimation accuracy is about 0.3 degrees.

Can you explain how that number is computed?

Preview: (hide)

1 answer

Sort by » oldest newest most voted
0

answered Apr 9 '13

It means that when computing the phase between two vectors, there is basically the result + or - 0.3 degrees. It says about because probably a large number of data was processed using the function and then an average was taken between this and the actual result it should be.

These deviations are due to precision of elements that are stored and rounding errors inside the mentioned function.

Preview: (hide)

Comments

Is there any theoretic background? Or is it just a brute force comparison?

uvts_cvs gravatar imageuvts_cvs (Apr 10 '13)edit

I am guessing that they use a float percision, which means that a degrees in radian (which is done internally) is rounded. Small differences however when rounding vector dimensions could lead to a change in degrees when using sine and cosine functionality to calculate the angle. This is basic math, that sine and cosine do have rounding errors if you want processing to be fast enough.

StevenPuttemans gravatar imageStevenPuttemans (Apr 10 '13)edit

Question Tools

Stats

Asked: Apr 9 '13

Seen: 423 times

Last updated: Apr 09 '13