Fixed call to tegra::fastNlMeansDenoising
This commit is contained in:
parent
4b5753daea
commit
b471f9ee26
@ -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…
x
Reference in New Issue
Block a user