# angle estimation accuracy in C++ cv::phase

In phase documentation is stated:

The angle estimation accuracy is about 0.3 degrees.

Can you explain how that number is computed?

0

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.

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.

Asked: **
2013-04-09 09:57:05 -0500
**

Seen: **195 times**

Last updated: **Apr 09 '13**

How to reduce false positives for face detection

OpenCV DescriptorMatcher matches

Record/Store constant refreshing coordinates points into notepad

Conversion between IplImage and MxArray

How can solvePnPRansac be used with double values?

Combine SIFT with other method for object recognition

OpenCV Paths Headaches in Eclipse

Copyright OpenCV foundation, 2012-2018. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.