enable Tegra optimizations

pull/431/head
Sergei Nosov 12 years ago
parent db9de43fa5
commit c768731e89
  1. 5
      modules/imgproc/src/templmatch.cpp

@ -252,6 +252,11 @@ void cv::matchTemplate( InputArray _img, InputArray _templ, OutputArray _result,
_result.create(corrSize, CV_32F);
Mat result = _result.getMat();
#ifdef HAVE_TEGRA_OPTIMIZATION
if (tegra::matchTemplate(img, templ, result, method))
return;
#endif
int cn = img.channels();
crossCorr( img, templ, result, result.size(), result.type(), Point(0,0), 0, 0);

Loading…
Cancel
Save