当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: 今天仔细研究了一下差分法求运动的轮廓,简单用程序实现了一下,结果如下,差分法比较容易获得运动的轮廓,对于不运动的身体部分则不会显示,这样的好处是可以得到需要关注的运动部分,不运动的则不关心,但是如果需要得到整个人体的轮廓,该如何呢?我试着用程序记录前4帧的数据,然后叠加出来显示,看来效果不是很好。
 

 

    摘要: 首先要说的是什么叫安全组件,有些人认为安全组件就是毫无查觉的让ie下载并安装组件,这一点微软恐怕也做不到,除非留后门(无耻的降低ie安全级别的方法除外),安全组件是指注册后,在ie中运行不会提示说“本页中有activex控件,是否运行”类似的提示(通过降低ie安全性也可以使未注册安全的控件不弹出提示框,但显然要求不太合理),与下载控件无关,下载控件的时候涉及到的是数字签......
    摘要: 近日做的程序需要取得字符点阵数据的功能,研究了一下,费了点周折才成功,现将方法总结如下。 取得字符点阵主要用getglyphoutline函数:dword getglyphoutline( uint nchar, uint nformat, lpglyphmetrics lpgm, dword cbbuffer, lpvoid lpbuffer, const mat2 far* lpmat2 ......


基于opencv利用差分法求运动的轮廓

今天仔细研究了一下差分法求运动的轮廓,简单用程序实现了一下,结果如下,差分法比较容易获得运动的轮廓,对于不运动的身体部分则不会显示,这样的好处是可以得到需要关注的运动部分,不运动的则不关心,但是如果需要得到整个人体的轮廓,该如何呢?我试着用程序记录前4帧的数据,然后叠加出来显示,看来效果不是很好. 还要继续考虑...

#ifdef _ch_#pragma package <opencv>#endif 【程序编程相关:使用Visual C++实现OLE剪贴板

关键部分的代码如下:main.cpp 【推荐阅读:VC6中用DOM遍历网页中的元素

// various tracking parameters (in seconds)const double mhi_duration = 1;const double max_time_delta = 0.5;const double min_time_delta = 0.05;// number of cyclic frame buffer used for motion detection// (should, probably, depend on fps)const int n = 4; 【扩展信息:VC++中 ListCtrl 树控件介

#ifndef _eic// motion templates sample code#include "cv.h"#include "highgui.h"#include <time.h>#include <math.h>#include <ctype.h>#include <stdio.h>#endif

// ring image bufferiplimage **buf = 0;int last = 0;

// temporary imagesiplimage *mhi = 0; // mhiiplimage *orient = 0; // orientationiplimage *mask = 0; // valid orientation maskiplimage *segmask = 0; // motion segmentation mapcvmemstorage* storage = 0; // temporary storage

iplimage* abs_image = 0;iplimage* add_abs_image = 0;iplimage* abs_images[3];

iplimage* grey =0;iplimage* pre_grey = 0;iplimage* dst = 0;  cvseq* contour = 0;

int test( iplimage* src,iplimage* pre_src );

int main(int argc, char** argv){    //iplimage* motion = 0;    cvcapture* capture = 0; iplimage* pre_image = 0; iplimage* image = 0; int frame_count =0;


...   下一页
 ·关于    »显示摘要«
    摘要: 关于 _beginthread() 和 _endthread() 的学习体会 在看多线程网络编程时看到了这两个函数,于是查了一下 vs.net 2003 文档,试了试里面的例子并且改了改。beginthread 有两种调用形式:uintptr_t _beginthread( void( __cdecl *start_address )( void * ), unsigned stack_size......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE