Commit 04f3c19b authored by Andrey Kamaev's avatar Andrey Kamaev Committed by OpenCV Buildbot

Merge pull request #263 from taka-no-me:hough_explicit_double

parents b7881111 16687a26
...@@ -118,8 +118,8 @@ icvHoughLinesStandard( const CvMat* img, float rho, float theta, ...@@ -118,8 +118,8 @@ icvHoughLinesStandard( const CvMat* img, float rho, float theta,
float ang = 0; float ang = 0;
for(int n = 0; n < numangle; ang += theta, n++ ) for(int n = 0; n < numangle; ang += theta, n++ )
{ {
tabSin[n] = (float)(sin(ang) * irho); tabSin[n] = (float)(sin((double)ang) * irho);
tabCos[n] = (float)(cos(ang) * irho); tabCos[n] = (float)(cos((double)ang) * irho);
} }
// stage 1. fill accumulator // stage 1. fill accumulator
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment