資源簡介
運動目標檢測,用c++實現,具有圖形界面,使用的是幀差法,,可以在此基礎上面實現多種功能。學習分享所用
http://blog.sina.com.cn/msl1121

代碼片段和文件信息
//?bmptest.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“bmptest.h“
#include?“bmptestDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CBmptestApp
BEGIN_MESSAGE_MAP(CBmptestApp?CWinApp)
//{{AFX_MSG_MAP(CBmptestApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CBmptestApp?construction
CBmptestApp::CBmptestApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CBmptestApp?object
CBmptestApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CBmptestApp?initialization
BOOL?CBmptestApp::InitInstance()
{
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CBmptestDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????230456??2008-05-05?18:09??mobiletracking\BMP\car1.bmp
?????文件?????230456??2008-05-05?18:09??mobiletracking\BMP\car2.bmp
?????文件?????230456??2008-05-05?18:09??mobiletracking\BMP\car3.bmp
?????文件?????230456??2008-05-05?18:09??mobiletracking\BMP\car4.bmp
?????文件??????23568??2009-03-06?10:02??mobiletracking\bmptest.aps
?????文件???????2793??2009-03-06?10:03??mobiletracking\bmptest.clw
?????文件???????2077??2008-04-13?18:27??mobiletracking\bmptest.cpp
?????文件???????4454??2008-05-06?09:33??mobiletracking\bmptest.dsp
?????文件????????522??2008-05-06?19:18??mobiletracking\bmptest.dsw
?????文件???????1335??2008-04-10?18:12??mobiletracking\bmptest.h
?????文件?????459776??2009-03-06?10:03??mobiletracking\bmptest.ncb
?????文件?????179712??2009-03-06?10:03??mobiletracking\bmptest.opt
?????文件????????935??2009-03-06?10:02??mobiletracking\bmptest.plg
?????文件???????7892??2008-05-06?18:09??mobiletracking\bmptest.rc
?????文件??????20025??2008-05-06?19:18??mobiletracking\bmptestDlg.cpp
?????文件???????2456??2008-05-06?18:21??mobiletracking\bmptestDlg.h
?????文件????????779??2008-04-13?20:19??mobiletracking\CBitmapFile?.h
?????文件???????3718??2008-04-13?20:19??mobiletracking\CBitmapFile.cpp
?????文件??????28388??2008-04-13?12:54??mobiletracking\DIBAPI.CPP
?????文件???????1806??2001-02-14?10:36??mobiletracking\DIBAPI.H
?????文件???????3597??2008-04-10?18:12??mobiletracking\ReadMe.txt
?????文件???????1078??2008-04-10?18:12??mobiletracking\res\bmptest.ico
?????文件????????399??2008-04-10?18:12??mobiletracking\res\bmptest.rc2
?????文件?????230454??2008-04-10?18:16??mobiletracking\res\fr
?????文件?????230454??2008-04-10?18:16??mobiletracking\res\fr
?????文件?????230454??2008-04-10?18:16??mobiletracking\res\fr
?????文件?????230454??2008-04-10?18:16??mobiletracking\res\fr
?????文件???????2061??2008-05-06?18:02??mobiletracking\resource.h
?????文件????????209??2008-04-10?18:12??mobiletracking\StdAfx.cpp
?????文件???????1052??2008-04-13?09:19??mobiletracking\StdAfx.h
............此處省略6個文件信息
評論
共有 條評論