1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

Merge branch 2.4

This commit is contained in:
Andrey Kamaev
2013-01-11 15:43:50 +04:00
25 changed files with 556 additions and 359 deletions
+1 -1
View File
@@ -3023,7 +3023,7 @@ public:
localHistogram[t0]++; localHistogram[t1]++;
}
for (; x < width; ++x, ++ptr)
for (; x < width; ++x)
localHistogram[ptr[x]]++;
}
+3
View File
@@ -346,7 +346,10 @@ void cv::matchTemplate( InputArray _img, InputArray _templ, OutputArray _result,
}
if( numType == 2 )
{
num = wndSum2 - 2*num + templSum2;
num = MAX(num, 0.);
}
}
if( isNormed )