Merge pull request #2709 from alalek:icv_update_binary_pack

This commit is contained in:
Alexander Alekhin
2014-05-23 15:09:43 +04:00
committed by OpenCV Buildbot
4 changed files with 49 additions and 5 deletions

View File

@@ -544,7 +544,7 @@ void cv::cornerHarris( InputArray _src, OutputArray _dst, int blockSize, int ksi
scale *= 2.0;
if (depth == CV_8U)
scale *= 255.0;
scale = std::pow(scale, -4.0f);
scale = std::pow(scale, -4.0);
if (ippiHarrisCornerGetBufferSize(roisize, masksize, blockSize, datatype, cn, &bufsize) >= 0)
{