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:
d0b2e60
)
Fix #10525
author
Glue Crow
<yacwu@cs.nctu.edu.tw>
Thu, 18 Jan 2018 10:49:29 +0000
(18:49 +0800)
committer
Glue Crow
<yacwu@cs.nctu.edu.tw>
Thu, 18 Jan 2018 10:49:29 +0000
(18:49 +0800)
modules/video/src/bgfg_gaussmix2.cpp
patch
|
blob
|
history
diff --git
a/modules/video/src/bgfg_gaussmix2.cpp
b/modules/video/src/bgfg_gaussmix2.cpp
index
7103bea
..
3030f9e
100644
(file)
--- a/
modules/video/src/bgfg_gaussmix2.cpp
+++ b/
modules/video/src/bgfg_gaussmix2.cpp
@@
-849,7
+849,7
@@
void BackgroundSubtractorMOG2Impl::apply(InputArray _image, OutputArray _fgmask,
#ifdef HAVE_OPENCL
if (opencl_ON)
{
- CV_OCL_RUN(_
image
.isUMat(), ocl_apply(_image, _fgmask, learningRate))
+ CV_OCL_RUN(_
fgmask
.isUMat(), ocl_apply(_image, _fgmask, learningRate))
opencl_ON = false;
initialize(_image.size(), _image.type());