调用Emgu中函数进行高斯背景建模
来源:互联网 发布:阿里云架设服务器 编辑:程序博客网 时间:2024/04/30 19:01
刚刚学习Emgu,调用其中的函数进行混合高斯背景建模。
BackgroundSubtractorMOG bg_mog = null;//高斯模型 const int defaultNMixtures = 5;//默认混合模型个数 const int defaultHistory = 200;//默认历史帧数 const double defaultBackgroundRatio = 0.7;//默认背景门限 const double defaultVarThreshold = 2.5*2.5;//默认方差门限 const double defaultNoiseSigma = 30*0.5;//默认噪声方差 const double defaultInitialWeight = 0.05;//默认初始权值 while ((img = pCapture.QueryFrame()) != null) { this.count++; if (this.count == 1) { bg_mog = new BackgroundSubtractorMOG(defaultHistory, defaultNMixtures, defaultBackgroundRatio, defaultNoiseSigma); } else { bg_mog.Update(img); this.pictureBox1.Image = img.Bitmap; this.pictureBox2.Image = bg_mog.ForegroundMask.Bitmap; Application.DoEvents(); System.Threading.Thread.Sleep(30); } }
- 调用Emgu中函数进行高斯背景建模
- 高斯背景建模
- 高斯背景建模
- 高斯背景建模
- 高斯背景建模
- GMM高斯混合模型进行背景建模(Matlab)
- 高斯背景建模之icvMatchTest函数篇
- 高斯背景建模学习之icvUpdateFullWindow函数篇
- 高斯背景建模之icvMatchTest函数篇
- opencv 高斯背景建模
- 高斯背景建模程序
- 混合高斯背景建模
- 混合高斯背景建模
- 混合高斯背景建模
- 高斯背景建模程序
- 高斯建模去除背景
- 混合高斯背景建模
- 混合高斯背景建模
- android 横竖屏模式的设置
- IPv6 troubleshooting
- altera 官方FPGA视频教程下载
- hau2188
- java 调用url打开浏览器显示网页
- 调用Emgu中函数进行高斯背景建模
- xx is not in the sudoers file 问题解决
- 月黑风高
- 线程
- futex进程间同步的变量
- Linux Kernel Development——中断
- 某些APK程序无法安装
- 0000
- linux目录树(书本上看到)