pull/280/head
Vadim Pisarevsky 12 years ago
parent 47df8f4c2a
commit e383d39598
  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