<分区>
我找到了使用 CvGaussBGStatModelParams 结构、cvCreateGaussianBGModel 和其他相关函数的 OpenCV 代码。但是,我无法找到有关它们如何工作、如何使用以及它们的含义的任何解释。
如有任何帮助,我们将不胜感激。
<分区>
我找到了使用 CvGaussBGStatModelParams 结构、cvCreateGaussianBGModel 和其他相关函数的 OpenCV 代码。但是,我无法找到有关它们如何工作、如何使用以及它们的含义的任何解释。
如有任何帮助,我们将不胜感激。
最佳答案
这些函数没有记录(至少就 manual 而言)。但是,如果您查看源代码,您会在 src/cvaux/cvbgfg_gaussmix.cpp
中找到它们。在那里:
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.
该链接对您来说可能是一个好的开始。
关于opencv - 关于如何使用混合高斯 opencv 实现的任何教程/好的文档?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4885802/