added dedicated <modname>_init.cpp files with initModule_<modname>() functions and all the relevant structures; made BackgroundSubtractorMOG/MOG2 derivatives from Algorithm; cleaned up MOG2 implementation and made it multi-threaded.

This commit is contained in:
Vadim Pisarevsky
2012-04-20 15:32:54 +00:00
parent 3d108958e7
commit 5b6b30ba0e
19 changed files with 1042 additions and 1199 deletions

View File

@@ -3365,6 +3365,7 @@ typedef struct CvGaussBGModel
CvGaussBGStatModelParams params;
CvGaussBGPoint* g_point;
int countFrames;
void* mog;
} CvGaussBGModel;