数字上摄影测量最小二乘匹配


先用点特征提取算子,再粗匹配,最后使用最小二乘匹配,适合核线影像
资源截图
代码片段和文件信息
// 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
“);
return -1;      // fail to create
}

if (!m_wndStatusBar.Create(this) ||
!m_wndStatusBar.SetIndicators(indicators
  sizeof(indicators)/sizeof(UINT)))
{
TRACE0(“Failed to create status bar
“);
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;//如果创建失败
}
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 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       6304  2011-06-13 11:58  pipeiBmpFile.h

     文件      21686  2013-05-17 11:20  pipeiDebugMainFrm.obj

     文件          0  2013-05-17 11:20  pipeiDebugMainFrm.sbr

     文件      10039  2013-05-17 11:20  pipeiDebugMoravec.obj

     文件          0  2013-05-17 11:20  pipeiDebugMoravec.sbr

     文件    3171328  2013-05-17 11:20  pipeiDebugpipei.bsc

     文件     151601  2013-05-17 11:20  pipeiDebugpipei.exe

     文件     381504  2013-05-17 11:20  pipeiDebugpipei.ilk

     文件      22573  2013-05-17 11:20  pipeiDebugpipei.obj

     文件    6871972  2013-05-17 11:20  pipeiDebugpipei.pch

     文件     377856  2013-05-17 11:20  pipeiDebugpipei.pdb

     文件       7884  2013-05-17 11:20  pipeiDebugpipei.res

     文件          0  2013-05-17 11:20  pipeiDebugpipei.sbr

     文件      50229  2013-05-17 11:20  pipeiDebugpipeiDoc.obj

     文件          0  2013-05-17 11:20  pipeiDebugpipeiDoc.sbr

     文件      36935  2013-05-17 11:20  pipeiDebugpipeiView.obj

     文件          0  2013-05-17 11:20  pipeiDebugpipeiView.sbr

     文件      18388  2013-05-17 11:20  pipeiDebug
ead.obj

     文件          0  2013-05-17 11:20  pipeiDebug
ead.sbr

     文件      27904  2013-05-17 11:20  pipeiDebug
ight.obj

     文件          0  2013-05-17 11:20  pipeiDebug
ight.sbr

     文件     105298  2013-05-17 11:20  pipeiDebugStdAfx.obj

     文件    1366484  2013-05-17 11:20  pipeiDebugStdAfx.sbr

     文件     205824  2013-05-17 11:33  pipeiDebugvc60.idb

     文件     364544  2013-05-17 11:20  pipeiDebugvc60.pdb

     文件       3136  2013-05-02 11:11  pipeiMainFrm.cpp

     文件       1722  2013-05-02 10:49  pipeiMainFrm.h

     文件       3031  2013-05-02 15:40  pipeimatrixfunction.h

     文件       1066  2013-05-11 17:33  pipeiMoravec.cpp

     文件       1212  2013-05-05 12:30  pipeiMoravec.h

............此处省略32个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)