使用Canny算子对img格式的遥感影像进行分割,并生成shp文件
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4842677 2008-12-24 16:45 Canny(C++)aa.img
文件 98 2009-03-27 16:00 Canny(C++)Canny(C+.dbf
文件 100 2009-03-27 16:00 Canny(C++)Canny(C+.shp
文件 100 2009-03-27 16:00 Canny(C++)Canny(C+.shx
文件 21140 2009-02-11 09:39 Canny(C++)Canny.aps
文件 1388 2009-02-11 14:00 Canny(C++)Canny.clw
文件 2049 2005-10-10 11:50 Canny(C++)Canny.cpp
文件 4141 2005-10-10 11:50 Canny(C++)Canny.dsp
文件 533 2005-10-10 11:50 Canny(C++)Canny.dsw
文件 1313 2005-10-10 11:50 Canny(C++)Canny.h
文件 91136 2009-03-27 16:01 Canny(C++)Canny.ncb
文件 53760 2009-03-27 16:01 Canny(C++)Canny.opt
文件 1075 2009-02-11 09:52 Canny(C++)Canny.plg
文件 5625 2005-08-16 10:22 Canny(C++)Canny.rc
文件 22011 2009-02-11 09:52 Canny(C++)CannyDlg.cpp
文件 2443 2005-08-16 10:46 Canny(C++)CannyDlg.h
文件 131135 2009-02-11 09:52 Canny(C++)DebugCanny.exe
文件 256432 2009-02-11 09:52 Canny(C++)DebugCanny.ilk
文件 14142 2009-02-11 09:40 Canny(C++)DebugCanny.obj
文件 5566068 2009-02-11 09:40 Canny(C++)DebugCanny.pch
文件 451584 2009-02-11 09:52 Canny(C++)DebugCanny.pdb
文件 2764 2009-02-11 09:40 Canny(C++)DebugCanny.res
文件 82329 2009-02-11 09:52 Canny(C++)DebugCannyDlg.obj
文件 105561 2009-02-11 09:40 Canny(C++)DebugStdAfx.obj
文件 214016 2009-03-27 15:59 Canny(C++)Debugvc60.idb
文件 372736 2009-02-11 09:52 Canny(C++)Debugvc60.pdb
目录 0 2009-03-19 13:56 Canny(C++)Debug
文件 3561 2005-10-10 11:50 Canny(C++)ReadMe.txt
文件 1078 2005-10-10 11:50 Canny(C++)
esCanny.ico
文件 397 2005-10-10 11:50 Canny(C++)
esCanny.rc2
............此处省略8个文件信息
// Canny.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “Canny.h“
#include “CannyDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCannyApp
BEGIN_MESSAGE_MAP(CCannyApp CWinApp)
//{{AFX_MSG_MAP(CCannyApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CCannyApp construction
CCannyApp::CCannyApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CCannyApp object
CCannyApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CCannyApp initialization
BOOL CCannyApp::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
CCannyDlg 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4842677 2008-12-24 16:45 Canny(C++)aa.img
文件 98 2009-03-27 16:00 Canny(C++)Canny(C+.dbf
文件 100 2009-03-27 16:00 Canny(C++)Canny(C+.shp
文件 100 2009-03-27 16:00 Canny(C++)Canny(C+.shx
文件 21140 2009-02-11 09:39 Canny(C++)Canny.aps
文件 1388 2009-02-11 14:00 Canny(C++)Canny.clw
文件 2049 2005-10-10 11:50 Canny(C++)Canny.cpp
文件 4141 2005-10-10 11:50 Canny(C++)Canny.dsp
文件 533 2005-10-10 11:50 Canny(C++)Canny.dsw
文件 1313 2005-10-10 11:50 Canny(C++)Canny.h
文件 91136 2009-03-27 16:01 Canny(C++)Canny.ncb
文件 53760 2009-03-27 16:01 Canny(C++)Canny.opt
文件 1075 2009-02-11 09:52 Canny(C++)Canny.plg
文件 5625 2005-08-16 10:22 Canny(C++)Canny.rc
文件 22011 2009-02-11 09:52 Canny(C++)CannyDlg.cpp
文件 2443 2005-08-16 10:46 Canny(C++)CannyDlg.h
文件 131135 2009-02-11 09:52 Canny(C++)DebugCanny.exe
文件 256432 2009-02-11 09:52 Canny(C++)DebugCanny.ilk
文件 14142 2009-02-11 09:40 Canny(C++)DebugCanny.obj
文件 5566068 2009-02-11 09:40 Canny(C++)DebugCanny.pch
文件 451584 2009-02-11 09:52 Canny(C++)DebugCanny.pdb
文件 2764 2009-02-11 09:40 Canny(C++)DebugCanny.res
文件 82329 2009-02-11 09:52 Canny(C++)DebugCannyDlg.obj
文件 105561 2009-02-11 09:40 Canny(C++)DebugStdAfx.obj
文件 214016 2009-03-27 15:59 Canny(C++)Debugvc60.idb
文件 372736 2009-02-11 09:52 Canny(C++)Debugvc60.pdb
目录 0 2009-03-19 13:56 Canny(C++)Debug
文件 3561 2005-10-10 11:50 Canny(C++)ReadMe.txt
文件 1078 2005-10-10 11:50 Canny(C++)
esCanny.ico
文件 397 2005-10-10 11:50 Canny(C++)
esCanny.rc2
............此处省略8个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)