Fixed call to tegra::fastNlMeansDenoising

pull/3814/head
Erik Karlsson 10 years ago
parent 4b5753daea
commit b471f9ee26
  1. 2
      modules/photo/src/denoising.cpp

@ -69,7 +69,7 @@ void cv::fastNlMeansDenoising( InputArray _src, OutputArray _dst, std::vector<fl
Mat dst = _dst.getMat();
#ifdef HAVE_TEGRA_OPTIMIZATION
if(tegra::fastNlMeansDenoising(src, dst, h, templateWindowSize, searchWindowSize))
if(hn == 1 && tegra::fastNlMeansDenoising(src, dst, h[0], templateWindowSize, searchWindowSize))
return;
#endif

Loading…
Cancel
Save