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.
2 parents 526220a + 9fbce6c commit e192c68Copy full SHA for e192c68
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