projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b5753d
)
Fixed call to tegra::fastNlMeansDenoising
author
Erik Karlsson
<erik.r.karlsson@gmail.com>
Mon, 9 Mar 2015 17:52:25 +0000
(18:52 +0100)
committer
Erik Karlsson
<erik.r.karlsson@gmail.com>
Mon, 9 Mar 2015 17:52:25 +0000
(18:52 +0100)
modules/photo/src/denoising.cpp
patch
|
blob
|
history
diff --git
a/modules/photo/src/denoising.cpp
b/modules/photo/src/denoising.cpp
index
c42ac45
..
5445d26
100644
(file)
--- a/
modules/photo/src/denoising.cpp
+++ b/
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