資源簡(jiǎn)介
先用點(diǎn)特征提取算子,再粗匹配,最后使用最小二乘匹配,適合核線影像

代碼片段和文件信息
//?MainFrm.cpp?:?implementation?of?the?CMainframe?class
//
#include?“stdafx.h“
#include?“pipei.h“
#include?“pipeiView.h“
#include?“right.h“
#include?“MainFrm.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMainframe
IMPLEMENT_DYNCREATE(CMainframe?CframeWnd)
BEGIN_MESSAGE_MAP(CMainframe?CframeWnd)
//{{AFX_MSG_MAP(CMainframe)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code?!
ON_WM_CREATE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
static?UINT?indicators[]?=
{
ID_SEPARATOR???????????//?status?line?indicator
ID_INDICATOR_CAPS
ID_INDICATOR_NUM
ID_INDICATOR_SCRL
};
/////////////////////////////////////////////////////////////////////////////
//?CMainframe?construction/destruction
CMainframe::CMainframe()
{
isInit=FALSE;
}
CMainframe::~CMainframe()
{
}
int?CMainframe::OnCreate(LPCREATESTRUCT?lpCreateStruct)
{
if?(CframeWnd::OnCreate(lpCreateStruct)?==?-1)
return?-1;
if?(!m_wndToolBar.CreateEx(this?TBstyle_FLAT?WS_CHILD?|?WS_VISIBLE?|?CBRS_TOP
|?CBRS_GRIPPER?|?CBRS_TOOLTIPS?|?CBRS_FLYBY?|?CBRS_SIZE_DYNAMIC)?||
!m_wndToolBar.LoadToolBar(IDR_MAINframe))
{
TRACE0(“Failed?to?create?toolbar\n“);
return?-1;??????//?fail?to?create
}
if?(!m_wndStatusBar.Create(this)?||
!m_wndStatusBar.SetIndicators(indicators
??sizeof(indicators)/sizeof(UINT)))
{
TRACE0(“Failed?to?create?status?bar\n“);
return?-1;??????//?fail?to?create
}
//?TODO:?Delete?these?three?lines?if?you?don‘t?want?the?toolbar?to
//??be?dockable
m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
EnableDocking(CBRS_ALIGN_ANY);
DockControlBar(&m_wndToolBar);
return?0;
}
BOOL?CMainframe::PreCreateWindow(CREATESTRUCT&?cs)
{
if(?!CframeWnd::PreCreateWindow(cs)?)
return?FALSE;
//?TODO:?Modify?the?Window?class?or?styles?here?by?modifying
//??the?CREATESTRUCT?cs
return?TRUE;
}
/////////////////////////////////////////////////////////////////////////////
//?CMainframe?diagnostics
#ifdef?_DEBUG
void?CMainframe::AssertValid()?const
{
CframeWnd::AssertValid();
}
void?CMainframe::Dump(CDumpContext&?dc)?const
{
CframeWnd::Dump(dc);
}
#endif?//_DEBUG
/////////////////////////////////////////////////////////////////////////////
//?CMainframe?message?handlers
BOOL?CMainframe::OnCreateClient(LPCREATESTRUCT?lpcs?CCreateContext*?pContext)?
{
//?TODO:?Add?your?specialized?code?here?and/or?call?the?base?class
if?(!splitter.CreateStatic(this12))
{
return?FALSE;//如果創(chuàng)建失敗
}
CRect?rc;????
????GetClientRect(&rc);?
if?(!splitter.CreateView(0?0?RUNTIME_CLASS(CPipeiView)?CSize(rc.Width()/2?rc.Height())?pContext))???
????????return?FALSE;????
????if?(!splitter.CreateView(0?1?RUNTIME_CLASS(Cright)?CSize(rc.Width()/2?
?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----
?????文件???????6304??2011-06-13?11:58??pipei\BmpFile.h
?????文件??????21686??2013-05-17?11:20??pipei\Debug\MainFrm.obj
?????文件??????????0??2013-05-17?11:20??pipei\Debug\MainFrm.sbr
?????文件??????10039??2013-05-17?11:20??pipei\Debug\Moravec.obj
?????文件??????????0??2013-05-17?11:20??pipei\Debug\Moravec.sbr
?????文件????3171328??2013-05-17?11:20??pipei\Debug\pipei.bsc
?????文件?????151601??2013-05-17?11:20??pipei\Debug\pipei.exe
?????文件?????381504??2013-05-17?11:20??pipei\Debug\pipei.ilk
?????文件??????22573??2013-05-17?11:20??pipei\Debug\pipei.obj
?????文件????6871972??2013-05-17?11:20??pipei\Debug\pipei.pch
?????文件?????377856??2013-05-17?11:20??pipei\Debug\pipei.pdb
?????文件???????7884??2013-05-17?11:20??pipei\Debug\pipei.res
?????文件??????????0??2013-05-17?11:20??pipei\Debug\pipei.sbr
?????文件??????50229??2013-05-17?11:20??pipei\Debug\pipeiDoc.obj
?????文件??????????0??2013-05-17?11:20??pipei\Debug\pipeiDoc.sbr
?????文件??????36935??2013-05-17?11:20??pipei\Debug\pipeiView.obj
?????文件??????????0??2013-05-17?11:20??pipei\Debug\pipeiView.sbr
?????文件??????18388??2013-05-17?11:20??pipei\Debug\read.obj
?????文件??????????0??2013-05-17?11:20??pipei\Debug\read.sbr
?????文件??????27904??2013-05-17?11:20??pipei\Debug\right.obj
?????文件??????????0??2013-05-17?11:20??pipei\Debug\right.sbr
?????文件?????105298??2013-05-17?11:20??pipei\Debug\StdAfx.obj
?????文件????1366484??2013-05-17?11:20??pipei\Debug\StdAfx.sbr
?????文件?????205824??2013-05-17?11:33??pipei\Debug\vc60.idb
?????文件?????364544??2013-05-17?11:20??pipei\Debug\vc60.pdb
?????文件???????3136??2013-05-02?11:11??pipei\MainFrm.cpp
?????文件???????1722??2013-05-02?10:49??pipei\MainFrm.h
?????文件???????3031??2013-05-02?15:40??pipei\matrixfunction.h
?????文件???????1066??2013-05-11?17:33??pipei\Moravec.cpp
?????文件???????1212??2013-05-05?12:30??pipei\Moravec.h
............此處省略32個(gè)文件信息
評(píng)論
共有 條評(píng)論