usingnamespacestd; usingnamespacecv; //--------------------------------------【help()函数】-------------------------------------- // 描述:输出一些帮助信息 //---------------------------------------------------------------------------------------------- staticvoidhelp() { printf(" 此程序展示了用高斯背景建模进行视频的背景分离方法. 主要采用cvUpdateBGStatModel()函数 " " 程序首先会“学习背景”-前后背景分离-高斯-C++ - IMDN开发者社群-imdn.cn" /> usingnamespacestd;usingnamespacecv;//--------------------------------------【help()函数】--------------------------------------//描述:输出一些帮助信息//----------------------------------------------------------------------------------------------staticvoidhelp(){printf("此程序展示了用高斯背景建模进行视频的背景分离方法.主要采用cvUpdateBGStatModel()函数""程序首先会“学习背景”,然后进行分割。""可以用过【Space】空格进行功能切换。");}//-----------------------------------【main()函数】--------------------------------------------//描述:控制台应用程序的入口函数,我们的程序从这里开始//-------------------------------------------------------------------------------------------------IMDN开发者社群-imdn.cn"> usingnamespacestd;usingnamespacecv;//--------------------------------------【help()函数】--------------------------------------//描述:输出一些帮助信息//----------------------------------------------------------------------------------------------staticvoidhelp(){printf("此程序展示了用高斯背景建模进行视频的背景分离方法.主要采用cvUpdateBGStatModel()函数""程序首先会“学习背景”,然后进行分割。""可以用过【Space】空格进行功能切换。");}//-----------------------------------【main()函数】--------------------------------------------//描述:控制台应用程序的入口函数,我们的程序从这里开始//------------------------------------------------------------------------------------------------ - IMDN开发者社群-imdn.cn">
登录
首页 » C++ » 前后背景分离-高斯

前后背景分离-高斯

于 2022-02-07 发布 文件大小:1.33 kB
0 122
下载积分: 2 下载次数: 1

代码说明:

#include "opencv2/core/core.hpp" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/video/background_segm.hpp" #include "opencv2/highgui/highgui.hpp" #include using namespace std; using namespace cv; //--------------------------------------【help( )函数】-------------------------------------- // 描述:输出一些帮助信息 //---------------------------------------------------------------------------------------------- static void help() { printf(" 此程序展示了用高斯背景建模进行视频的背景分离方法. 主要采用cvUpdateBGStatModel()函数 " " 程序首先会“学习背景”,然后进行分割。 " " 可以用过【Space】空格进行功能切换。 "); } //-----------------------------------【main( )函数】-------------------------------------------- // 描述:控制台应用程序的入口函数,我们的程序从这里开始 //------------------------------------------------------------------------------------------------

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • c#语言开发的LED显示的程序,可用于测试程序中的数据显示!
    用c#语言开发的LED显示的程序,可用于测试程序中的数据显示!-with language development LED Display procedures can be used to test procedures for the data show!
    2022-02-25 08:16:43下载
    积分:1
  • 数值分析(超清晰版)
    说明:  本书是为理工科大学各专业普遍开设的“数值分析”课程编写的教材 . 其内容包括插值与逼近 ,数值微分与数值积分 , 非线性方程与线性方程组的数值解法 , 矩阵的特征值与特征向量计算 , 常微分方程数值解法 . 每章附有习题并在书末有部分答案 ,书末还附有计算实习题和并行算法简介 . 全书阐述严谨, 脉络分明 ,深入浅出 ,便于教学 .(This book is a textbook for the course of "numerical analysis" which is widely offered in various majors of universities of science and engineering. Its contents include interpolation and approximation, numerical differentiation and numerical integration, numerical solution of non-linear and linear equations, calculation of eigenvalues and eigenvectors of matrices, numerical solution of ordinary differential equations. At the end of the book, there are some answers. At the end of the book, there are also a brief introduction of computational practice questions and parallel algorithms. The whole book elaborates rigorously, clearly, thoroughly and shallowly, which is convenient for teaching.)
    2019-07-01 12:51:46下载
    积分:1
  • IBE加密代码
    IBE的加密实现代码,实现了IBE算法的加密功能。IBE的加密实现代码,实现了IBE算法的加密功能。IBE的加密实现代码,实现了IBE算法的加密功能。IBE的加密实现代码,实现了IBE算法的加密功能。
    2022-02-15 16:39:35下载
    积分:1
  • lwip-1.4.1
    ARM TCP/IP LWIP最新版本1.4.1(ARM TCP/IP LWIP the latest version 1.4.1)
    2013-10-06 12:06:24下载
    积分:1
  • 基于STM32的智能门锁
    具备指纹识别(R301模块),IC 卡,WIFI联网,实现微信远程解锁等功能。
    2022-08-11 22:03:36下载
    积分:1
  • OfficePlugins_Klose_Rinz
    windowsOffice中诸多实用性插件,包括MATHTYPE等。(windowsOffice many of the practicality of plug-ins, including MATHTYPE.)
    2012-05-01 23:32:59下载
    积分:1
  • lCD12864-ST7565P(COG)
    LCD 12864液晶驱动显示程序,ST7565驱动芯片,自定义汉字库(LCD 12864 LCD display driver program, ST7565 driver chips, custom Store)
    2015-12-11 14:33:40下载
    积分:1
  • opencv肤色获取
    这是通过皮肤模型进行肤色识别和提取的demo  本人opencv为2.4.10版本  vs2013找到后就可以直接运行+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    2023-02-21 00:50:03下载
    积分:1
  • 图像融合
    本程序基于MFC对话框编写,程序可以针对两幅配准后的图片,视频进行红外与可见光融合,提供的算法有小波变换,拉普拉斯金字塔,PCA融合,乘积融合,相关系数融合,线性变换乘积变换融合,简单权重融合,效果非常好。(This program is based on MFC dialog box. The program can fuse infrared and visible light for two registered pictures and videos. The algorithms provided include wavelet transform, Laplace pyramid, PCA fusion, product fusion, correlation coefficient fusion, linear transformation product transformation fusion, simple weight fusion, and the effect is very good.)
    2020-06-30 12:00:02下载
    积分:1
  • Status InitPolyn(polyn P) {/*建立一个空的一元多项式的链表*/ P=(polyn)malloc(sizeof(LNode)...
    Status InitPolyn(polyn P) {/*建立一个空的一元多项式的链表*/ P=(polyn)malloc(sizeof(LNode)) if(P==NULL) exit (OVERFLOW) P->data.coef=0 P->data.expn=-1 P->next=NULL return OK }/*InitPolyn*/-Status InitPolyn (Polynesia P) (/* establish an empty number one yuan- Chain*/P = (Polynesia) malloc (sizeof (LNode)) if (P == NULL) exit (overflow) P-
    2022-03-20 12:34:29下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载