Added computing of the mean background image in the BackgroundSubtractorMOG2 model.

This commit is contained in:
Ilya Lysenkov
2011-06-03 14:10:12 +00:00
parent 6be2a79fb9
commit 04ebfc0a02
2 changed files with 60 additions and 0 deletions

View File

@@ -63,6 +63,10 @@ void BackgroundSubtractor::operator()(const InputArray&, OutputArray, double)
{
}
void BackgroundSubtractor::getBackgroundImage(OutputArray) const
{
}
static const int defaultNMixtures = CV_BGFG_MOG_NGAUSSIANS;
static const int defaultHistory = CV_BGFG_MOG_WINDOW_SIZE;
static const double defaultBackgroundRatio = CV_BGFG_MOG_BACKGROUND_THRESHOLD;