資源簡介
能夠讀取遙感影像,并利用Moravec和fostner算子提取特征點,內(nèi)附影像

代碼片段和文件信息
//?CornerExtraction.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“CornerExtraction.h“
#include?“MainFrm.h“
#include?“CornerExtractionDoc.h“
#include?“CornerExtractionView.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CCornerExtractionApp
BEGIN_MESSAGE_MAP(CCornerExtractionApp?CWinApp)
//{{AFX_MSG_MAP(CCornerExtractionApp)
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()
/////////////////////////////////////////////////////////////////////////////
//?CCornerExtractionApp?construction
CCornerExtractionApp::CCornerExtractionApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CCornerExtractionApp?object
CCornerExtractionApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CCornerExtractionApp?initialization
BOOL?CCornerExtractionApp::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(CCornerExtractionDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CCornerExtractionView));
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;
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????1501480??2009-03-19?17:34??CornerExtraction\0.bmp
?????文件?????717776??2009-03-25?09:45??CornerExtraction\1.bmp
?????文件??????44136??2010-04-14?23:16??CornerExtraction\CornerExtraction.aps
?????文件???????2944??2010-04-14?23:34??CornerExtraction\CornerExtraction.clw
?????文件???????4391??2010-04-10?11:25??CornerExtraction\CornerExtraction.cpp
?????文件???????5060??2010-04-14?23:16??CornerExtraction\CornerExtraction.dsp
?????文件????????555??2010-04-10?11:25??CornerExtraction\CornerExtraction.dsw
?????文件???????1466??2010-04-10?11:25??CornerExtraction\CornerExtraction.h
?????文件??????91136??2010-04-14?23:34??CornerExtraction\CornerExtraction.ncb
?????文件??????54784??2010-04-14?23:34??CornerExtraction\CornerExtraction.opt
?????文件???????2411??2010-04-14?23:34??CornerExtraction\CornerExtraction.plg
?????文件??????11830??2010-04-14?23:16??CornerExtraction\CornerExtraction.rc
?????文件???????1846??2010-04-10?11:25??CornerExtraction\CornerExtractionDoc.cpp
?????文件???????1631??2010-04-10?11:25??CornerExtraction\CornerExtractionDoc.h
?????文件??????23334??2010-04-14?23:26??CornerExtraction\CornerExtractionView.cpp
?????文件???????2397??2010-04-14?23:16??CornerExtraction\CornerExtractionView.h
?????文件?????106496??2009-06-01?01:53??CornerExtraction\DIB.dll
?????文件???????3936??2009-06-01?01:53??CornerExtraction\DIB.lib
?????文件???????1124??2010-04-12?08:00??CornerExtraction\DlgForstner.cpp
????I.A....??????1248??2010-04-12?07:33??CornerExtraction\DlgForstner.h
?????文件????????986??2010-04-12?09:36??CornerExtraction\DlgMora1.cpp
????I.A....??????1199??2010-04-10?11:39??CornerExtraction\DlgMora1.h
?????文件????4501254??2010-04-12?09:26??CornerExtraction\Forstner.bmp
?????文件????2143046??2010-04-14?22:55??CornerExtraction\Forstner1.bmp
?????文件???????2574??2010-04-10?11:25??CornerExtraction\MainFrm.cpp
?????文件???????1581??2010-04-10?11:25??CornerExtraction\MainFrm.h
?????文件????4501254??2010-04-12?09:25??CornerExtraction\Moravec.bmp
?????文件????2143046??2010-04-14?22:55??CornerExtraction\Moravec1.bmp
?????文件???????4531??2010-04-10?11:25??CornerExtraction\ReadMe.txt
?????文件???????1078??2010-04-08?00:09??CornerExtraction\res\CornerExtraction.ico
............此處省略11個文件信息
評論
共有 條評論