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

pull/246/merge 2.4.3.2
Andrey Kamaev 12 years ago committed by OpenCV Buildbot
commit 04f3c19b9a
  1. 4
      modules/imgproc/src/hough.cpp

@ -118,8 +118,8 @@ icvHoughLinesStandard( const CvMat* img, float rho, float theta,
float ang = 0;
for(int n = 0; n < numangle; ang += theta, n++ )
{
tabSin[n] = (float)(sin(ang) * irho);
tabCos[n] = (float)(cos(ang) * irho);
tabSin[n] = (float)(sin((double)ang) * irho);
tabCos[n] = (float)(cos((double)ang) * irho);
}
// stage 1. fill accumulator

Loading…
Cancel
Save