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:
526220a
)
fix multiband_blend.cu build error in issue opencv_contrib#1012
author
Wenju He
<hewj03@gmail.com>
Wed, 22 Feb 2017 00:44:10 +0000
(08:44 +0800)
committer
Wenju He
<hewj03@gmail.com>
Wed, 22 Feb 2017 00:44:10 +0000
(08:44 +0800)
modules/stitching/src/cuda/multiband_blend.cu
patch
|
blob
|
history
diff --git
a/modules/stitching/src/cuda/multiband_blend.cu
b/modules/stitching/src/cuda/multiband_blend.cu
index
daa0005
..
27eb920
100644
(file)
--- a/
modules/stitching/src/cuda/multiband_blend.cu
+++ b/
modules/stitching/src/cuda/multiband_blend.cu
@@
-90,7
+90,7
@@
namespace cv { namespace cuda { namespace device
if (x < width && y < height)
{
-
static
const float WEIGHT_EPS = 1e-5f;
+ const float WEIGHT_EPS = 1e-5f;
const short3 v = ((short3*)src.ptr(y))[x];
float w = weight.ptr(y)[x];
((short3*)src.ptr(y))[x] = make_short3(static_cast<short>(v.x / (w + WEIGHT_EPS)),