fixed background update in GMM2 algorithm (ticket #1931)
This commit is contained in:
parent
d2da219ec0
commit
8a5b6ced1a
@ -571,7 +571,7 @@ void BackgroundSubtractorMOG2::operator()(InputArray _image, OutputArray _fgmask
|
||||
bgmodelUsedModes.data, nmixtures, (float)learningRate,
|
||||
(float)varThreshold,
|
||||
backgroundRatio, varThresholdGen,
|
||||
fVarInit, fVarMin, fVarMax, fCT, fTau,
|
||||
fVarInit, fVarMin, fVarMax, -learningRate*fCT, fTau,
|
||||
bShadowDetection, nShadowDetection));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user