資源簡介
兩張不同時期的影像的變化檢測,檢測出變化的區域

代碼片段和文件信息
//?changedetection.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“changedetection.h“
#include?“MainFrm.h“
#include?“ChildFrm.h“
#include?“changedetectionDoc.h“
#include?“changedetectionView.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CChangedetectionApp
BEGIN_MESSAGE_MAP(CChangedetectionApp?CWinApp)
//{{AFX_MSG_MAP(CChangedetectionApp)
ON_COMMAND(ID_APP_ABOUT?OnAppAbout)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG_MAP
//?Standard?file?based?document?commands
ON_COMMAND(ID_FILE_NEW?CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN?CWinApp::OnFileOpen)
//?Standard?print?setup?command
ON_COMMAND(ID_FILE_PRINT_SETUP?CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CChangedetectionApp?construction
CChangedetectionApp::CChangedetectionApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
m_jizhun=NULL;
m_jiance=NULL;
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CChangedetectionApp?object
CChangedetectionApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CChangedetectionApp?initialization
BOOL?CChangedetectionApp::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
//?Change?the?registry?key?under?which?our?settings?are?stored.
//?TODO:?You?should?modify?this?string?to?be?something?appropriate
//?such?as?the?name?of?your?company?or?organization.
SetRegistryKey(_T(“Local?AppWizard-Generated?Applications“));
LoadStdProfileSettings();??//?Load?standard?INI?file?options?(including?MRU)
//?Register?the?application‘s?document?templates.??Document?templates
//??serve?as?the?connection?between?documents?frame?windows?and?views.
CMultiDocTemplate*?pDocTemplate;
pDocTemplate?=?new?CMultiDocTemplate(
IDR_CHANGETYPE
RUNTIME_CLASS(CChangedetectionDoc)
RUNTIME_CLASS(CChildframe)?//?custom?MDI?child?frame
RUNTIME_CLASS(CChangedetectionView));
AddDocTemplate(pDocTemplate);
//?create?main?MDI?frame?window
CMainframe*?pMainframe?=?new?CMainframe;
if?(!pMainframe->Loadframe(IDR_MAINframe))
return?FALSE;
m_pMainWnd?=?pMainframe;
//?Parse?command?line?for?s
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1109??2008-12-31?18:00??變化檢測\changedetection\NewEdit.h
?????文件???????1432??2008-12-31?18:13??變化檢測\changedetection\HuiDlg.h
?????文件???????2514??2008-12-31?18:13??變化檢測\changedetection\HuiDlg.cpp
?????文件???????1527??2008-12-31?18:07??變化檢測\changedetection\NewEdit.cpp
?????文件??????47412??2009-01-10?10:47??變化檢測\changedetection\changedetection.aps
?????文件??????15400??2009-01-10?10:47??變化檢測\changedetection\changedetection.rc
?????文件???????4250??2009-04-20?11:31??變化檢測\changedetection\changedetection.clw
?????文件???????5009??2008-12-25?08:20??變化檢測\changedetection\ReadMe.txt
?????文件??????61952??2009-04-20?12:27??變化檢測\changedetection\changedetection.opt
?????文件???????5245??2008-12-31?18:35??變化檢測\changedetection\changedetection.dsp
?????文件???????1054??2008-12-25?08:20??變化檢測\changedetection\StdAfx.h
?????文件????????217??2008-12-25?08:20??變化檢測\changedetection\StdAfx.cpp
?????文件???????1542??2008-12-25?08:20??變化檢測\changedetection\MainFrm.h
?????文件???????2532??2008-12-25?08:20??變化檢測\changedetection\MainFrm.cpp
?????文件???????1397??2008-12-25?08:20??變化檢測\changedetection\ChildFrm.h
?????文件???????1542??2008-12-25?08:20??變化檢測\changedetection\ChildFrm.cpp
?????文件???????1394??2009-01-10?10:47??變化檢測\changedetection\Resource.h
?????文件???????3123??2009-01-10?10:55??變化檢測\changedetection\changedetectionView.h
?????文件??????19594??2009-01-10?11:05??變化檢測\changedetection\changedetectionView.cpp
?????文件????????407??2008-12-25?08:20??變化檢測\changedetection\res\changedetection.rc2
?????文件???????1078??2008-12-25?08:20??變化檢測\changedetection\res\changedetectionDoc.ico
?????文件???????1078??2008-12-25?08:20??變化檢測\changedetection\res\changedetection.ico
?????文件???????1078??2008-12-25?08:20??變化檢測\changedetection\res\Toolbar.bmp
?????文件????????555??2008-12-25?08:20??變化檢測\changedetection\changedetection.dsw
?????文件?????115712??2009-04-20?12:27??變化檢測\changedetection\changedetection.ncb
?????文件????????264??2009-01-11?10:06??變化檢測\changedetection\changedetection.plg
?????文件???????1750??2008-12-26?23:15??變化檢測\changedetection\changedetectionDoc.h
?????文件???????3289??2008-12-26?23:32??變化檢測\changedetection\changedetectionDoc.cpp
?????文件???????1557??2008-12-25?09:59??變化檢測\changedetection\changedetection.h
?????文件???????4643??2008-12-25?10:07??變化檢測\changedetection\changedetection.cpp
............此處省略8個文件信息
- 上一篇:windows 1.04 img安裝文件
- 下一篇:allegro封裝庫生成器FPM
評論
共有 條評論