projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d2da219
)
fixed background update in GMM2 algorithm (ticket #1931)
author
Vadim Pisarevsky
<no@email>
Tue, 15 May 2012 14:25:07 +0000
(14:25 +0000)
committer
Vadim Pisarevsky
<no@email>
Tue, 15 May 2012 14:25:07 +0000
(14:25 +0000)
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
5be317e
..
3c39b33
100644
(file)
--- a/
modules/video/src/bgfg_gaussmix2.cpp
+++ b/
modules/video/src/bgfg_gaussmix2.cpp
@@
-571,7
+571,7
@@
void BackgroundSubtractorMOG2::operator()(InputArray _image, OutputArray _fgmask
bgmodelUsedModes.data, nmixtures, (float)learningRate,
(float)varThreshold,
backgroundRatio, varThresholdGen,
bgmodelUsedModes.data, nmixtures, (float)learningRate,
(float)varThreshold,
backgroundRatio, varThresholdGen,
- fVarInit, fVarMin, fVarMax, fCT, fTau,
+ fVarInit, fVarMin, fVarMax,
-learningRate*
fCT, fTau,
bShadowDetection, nShadowDetection));
}
}
bShadowDetection, nShadowDetection));
}
}