该代码实现了遥感影像的变化检测功能,另外也附上了适用图片供各位进行测试。
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 30048 2014-05-07 20:06 changedetectionchangedetection.aps
文件 3136 2014-05-09 19:41 changedetectionchangedetection.clw
文件 4371 2012-06-04 12:02 changedetectionchangedetection.cpp
文件 4908 2012-06-04 16:33 changedetectionchangedetection.dsp
文件 536 2012-06-04 12:02 changedetectionchangedetection.dsw
文件 1455 2012-06-04 12:02 changedetectionchangedetection.h
文件 82944 2014-05-09 19:49 changedetectionchangedetection.ncb
文件 52736 2014-05-09 19:49 changedetectionchangedetection.opt
文件 2209 2014-05-09 19:39 changedetectionchangedetection.plg
文件 12722 2012-06-05 12:29 changedetectionchangedetection.rc
文件 25052 2012-06-06 00:25 changedetectionchangedetectionDoc.cpp
文件 1793 2012-06-05 18:02 changedetectionchangedetectionDoc.h
文件 6039 2012-06-05 12:29 changedetectionchangedetectionView.cpp
文件 2070 2012-06-05 12:22 changedetectionchangedetectionView.h
文件 147551 2014-05-09 19:39 changedetectionDebugchangedetection.exe
文件 356316 2014-05-09 19:39 changedetectionDebugchangedetection.ilk
文件 23672 2014-05-09 19:39 changedetectionDebugchangedetection.obj
文件 369664 2014-04-19 21:07 changedetectionDebugchangedetection.pdb
文件 7840 2014-04-19 21:07 changedetectionDebugchangedetection.res
文件 58450 2014-05-09 19:39 changedetectionDebugchangedetectionDoc.obj
文件 35581 2014-05-09 19:39 changedetectionDebugchangedetectionView.obj
文件 19607 2014-05-09 19:39 changedetectionDebugInputDlg.obj
文件 20150 2014-05-09 19:39 changedetectionDebugMainFrm.obj
文件 105873 2014-05-09 19:39 changedetectionDebugStdAfx.obj
文件 222208 2014-05-09 19:39 changedetectionDebugvc60.idb
文件 380928 2014-04-19 21:07 changedetectionDebugvc60.pdb
文件 106539 2009-02-19 21:33 changedetectionDIB.dll
文件 3936 2009-02-19 21:33 changedetectionDIB.lib
文件 1799 2012-06-04 12:26 changedetectionInputDlg.cpp
文件 1221 2012-06-04 12:25 changedetectionInputDlg.h
............此处省略24个文件信息
// changedetection.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “changedetection.h“
#include “MainFrm.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
}
/////////////////////////////////////////////////////////////////////////////
// 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.
CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CChangedetectionDoc)
RUNTIME_CLASS(CMainframe) // main SDI frame window
RUNTIME_CLASS(CChangedetectionView));
AddDocTemplate(pDocTemplate);
// Parse command line for standard shell commands DDE file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
// Dispatch commands specified on the command line
if (!ProcessShellCommand(cmdInfo))
return FALSE;
// The one
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 30048 2014-05-07 20:06 changedetectionchangedetection.aps
文件 3136 2014-05-09 19:41 changedetectionchangedetection.clw
文件 4371 2012-06-04 12:02 changedetectionchangedetection.cpp
文件 4908 2012-06-04 16:33 changedetectionchangedetection.dsp
文件 536 2012-06-04 12:02 changedetectionchangedetection.dsw
文件 1455 2012-06-04 12:02 changedetectionchangedetection.h
文件 82944 2014-05-09 19:49 changedetectionchangedetection.ncb
文件 52736 2014-05-09 19:49 changedetectionchangedetection.opt
文件 2209 2014-05-09 19:39 changedetectionchangedetection.plg
文件 12722 2012-06-05 12:29 changedetectionchangedetection.rc
文件 25052 2012-06-06 00:25 changedetectionchangedetectionDoc.cpp
文件 1793 2012-06-05 18:02 changedetectionchangedetectionDoc.h
文件 6039 2012-06-05 12:29 changedetectionchangedetectionView.cpp
文件 2070 2012-06-05 12:22 changedetectionchangedetectionView.h
文件 147551 2014-05-09 19:39 changedetectionDebugchangedetection.exe
文件 356316 2014-05-09 19:39 changedetectionDebugchangedetection.ilk
文件 23672 2014-05-09 19:39 changedetectionDebugchangedetection.obj
文件 369664 2014-04-19 21:07 changedetectionDebugchangedetection.pdb
文件 7840 2014-04-19 21:07 changedetectionDebugchangedetection.res
文件 58450 2014-05-09 19:39 changedetectionDebugchangedetectionDoc.obj
文件 35581 2014-05-09 19:39 changedetectionDebugchangedetectionView.obj
文件 19607 2014-05-09 19:39 changedetectionDebugInputDlg.obj
文件 20150 2014-05-09 19:39 changedetectionDebugMainFrm.obj
文件 105873 2014-05-09 19:39 changedetectionDebugStdAfx.obj
文件 222208 2014-05-09 19:39 changedetectionDebugvc60.idb
文件 380928 2014-04-19 21:07 changedetectionDebugvc60.pdb
文件 106539 2009-02-19 21:33 changedetectionDIB.dll
文件 3936 2009-02-19 21:33 changedetectionDIB.lib
文件 1799 2012-06-04 12:26 changedetectionInputDlg.cpp
文件 1221 2012-06-04 12:25 changedetectionInputDlg.h
............此处省略24个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)