We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 526220a commit 9fbce6cCopy full SHA for 9fbce6c
modules/stitching/src/cuda/multiband_blend.cu
@@ -90,7 +90,7 @@ namespace cv { namespace cuda { namespace device
90
91
if (x < width && y < height)
92
{
93
- static const float WEIGHT_EPS = 1e-5f;
+ const float WEIGHT_EPS = 1e-5f;
94
const short3 v = ((short3*)src.ptr(y))[x];
95
float w = weight.ptr(y)[x];
96
((short3*)src.ptr(y))[x] = make_short3(static_cast<short>(v.x / (w + WEIGHT_EPS)),
0 commit comments