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?
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 -0600
Seen: 423 times
Last updated: Apr 09 '13