aaDlg.h
上传用户:zhaobiao
上传日期:2013-10-27
资源大小:92k
文件大小:2k
- // aaDlg.h : header file
- //
- #if !defined(AFX_AADLG_H__15027715_4D23_4415_98EB_B819EC2FF654__INCLUDED_)
- #define AFX_AADLG_H__15027715_4D23_4415_98EB_B819EC2FF654__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CAaDlg dialog
- #include <cv.h>
- #include <cxcore.h>
- #include <highgui.h>
- #include "CBitmapEx.h"
- #include "Ipl2DIB.h"
- class CAaDlg : public CDialog
- {
- // Construction
- public:
- CAaDlg(CWnd* pParent = NULL); // standard constructor
- public:
- CvvImage cimg;
- CvvImage cimg1;
- //声明IplImage指针
- IplImage* pFrame;
- IplImage* pFrImg;
- IplImage* pBkImg;
-
- CvMat* pFrameMat;
- CvMat* pFrMat;
- CvMat* pBkMat;
- CvCapture* pCapture;
- IplImage * FitRotate (IplImage* Img_old, double angle,int method);
- // Dialog Data
- //{{AFX_DATA(CAaDlg)
- enum { IDD = IDD_AA_DIALOG };
- CString m_nPfs;
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CAaDlg)
- public:
- virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- public:
-
- protected:
- HICON m_hIcon;
- // Generated message map functions
- //{{AFX_MSG(CAaDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnButton1();
- afx_msg void OnButton2();
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnClose();
- afx_msg void OnButton3();
- afx_msg void OnTimer(UINT nIDEvent);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- double fps;
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_AADLG_H__15027715_4D23_4415_98EB_B819EC2FF654__INCLUDED_)