图像拼接技术Doc.h
资源名称:txpj.rar [点击查看]
上传用户:pureled
上传日期:2013-05-27
资源大小:1078k
文件大小:3k
源码类别:
GDI/图象编程
开发平台:
Visual C++
- // 图像拼接技术Doc.h : interface of the CMyDoc class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_DOC_H__47231923_6B70_11D6_B55C_00D0F8011261__INCLUDED_)
- #define AFX_DOC_H__47231923_6B70_11D6_B55C_00D0F8011261__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CMyDoc : public CDocument
- {
- protected: // create from serialization only
- CMyDoc();
- DECLARE_DYNCREATE(CMyDoc)
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMyDoc)
- public:
- virtual BOOL OnNewDocument();
- virtual void Serialize(CArchive& ar);
- virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
- virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- LPBYTE rgbPal;
- void SaveBitmap();
- int y2;
- int x2;
- int y1;
- int x1;
- int Match3_y;
- int Match3_x;
- float MatchRotateAngle;
- int matchHeight;
- int matchWidth;
- float matchAngle;
- LPBYTE NewP;
- int TrueWidth2;
- int TrueWidth;
- void Moban(int a,int b,int c,int d);
- void ShowNew(CDC* pDC);
- BITMAPFILEHEADER lbmpHeader;
- LPBITMAPINFO m_bmpInfo;
- LPBITMAPFILEHEADER m_bmpHead;
- // unsigned char DataNewMap[800][800];
- int Match_y;
- int Match_x;
- void TemplateMatch();
- int m_x;
- int m_y;
- int m2_x;
- int m2_y;
- int m3_x;
- int m3_y;
- int Height;
- int Width;
- // unsigned char DataTemp[800][800];
- // unsigned char DataMap1[800][800];
- // unsigned char DataMap2[800][800];
- LPBITMAPINFO lbmpInfo;
- LPBYTE lpBits;
- CSize size;
- LPBITMAPINFO lbmpInfo2;
- LPBYTE lpBits2;
- CSize size2;
- LPBYTE Lp1,Lp2,Lp3;
- void ShowOther(CDC *pDC);
- void ShowBitmap(CDC* pDC);
- virtual ~CMyDoc();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CMyDoc)
- afx_msg void OnFileOtheropen();
- afx_msg void OnPinjie();
- afx_msg void OnSuanfa1();
- afx_msg void OnSuanfa2();
- afx_msg void OnRotatepinjie();
- afx_msg void OnSuanfa3();
- afx_msg void OnChuizhipinjie();
- afx_msg void OnSavebitmap();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_DOC_H__47231923_6B70_11D6_B55C_00D0F8011261__INCLUDED_)