Merge pull request #280 from vpisarev:bug_fixes_jan9

pull/283/merge
Andrey Kamaev 12 years ago committed by OpenCV Buildbot
commit b81d1b25c7
  1. 3
      modules/imgproc/src/templmatch.cpp

@ -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 )

Loading…
Cancel
Save