Merge branch 2.4
This commit is contained in:
@@ -3023,7 +3023,7 @@ public:
|
||||
localHistogram[t0]++; localHistogram[t1]++;
|
||||
}
|
||||
|
||||
for (; x < width; ++x, ++ptr)
|
||||
for (; x < width; ++x)
|
||||
localHistogram[ptr[x]]++;
|
||||
}
|
||||
|
||||
|
@@ -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 )
|
||||
|
Reference in New Issue
Block a user