Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Any tutorial/ good documentation on how to use the Mixture of Gaussians opencv implementation? [closed]

I have found OpenCV code that uses CvGaussBGStatModelParams structure, cvCreateGaussianBGModel, and other related functions. However, I haven't been able to find any explanations for how they work and how they are to be used and what they mean.

Any help would be appreciated.

like image 511
Wall-EEEEE Avatar asked Dec 29 '25 01:12

Wall-EEEEE


1 Answers

These functions are undocumented (at least as far as the manual goes). However, if you look around in the source, you will find them in src/cvaux/cvbgfg_gaussmix.cpp. In there:

This is based on the "An Improved Adaptive Background Mixture Model for Real-time Tracking with Shadow Detection" by P. KaewTraKulPong and R. Bowden http://personal.ee.surrey.ac.uk/Personal/R.Bowden/publications/avbs01/avbs01.pdf The windowing method is used, but not the shadow detection. I make some of my own modifications which make more sense. There are some errors in some of their equations.

That link is probably a good start for you.

like image 156
mpenkov Avatar answered Dec 31 '25 00:12

mpenkov



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!