www.pudn.com > MotionEstimation.rar > MotionEstimationDoc.h
// MotionEstimationDoc.h : interface of the CMotionEstimationDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MOTIONESTIMATIONDOC_H__5DEDB817_85E5_40AC_A3E6_A25DCD3140DD__INCLUDED_)
#define AFX_MOTIONESTIMATIONDOC_H__5DEDB817_85E5_40AC_A3E6_A25DCD3140DD__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Dib.h"
class CMotionEstimationDoc : public CDocument
{
protected: // create from serialization only
CMotionEstimationDoc();
DECLARE_DYNCREATE(CMotionEstimationDoc)
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMotionEstimationDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
//}}AFX_VIRTUAL
// Implementation
public:
BOOL IsBmp(CString lpszPathName);
CDib Image1;
CDib Image2;
CDib ImageEstimation;
unsigned char* orgframe;
unsigned char* curframe;
virtual ~CMotionEstimationDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CMotionEstimationDoc)
afx_msg void OnOpenImage1();
afx_msg void OnOpenImage2();
afx_msg void OnMotionEstimate();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MOTIONESTIMATIONDOC_H__5DEDB817_85E5_40AC_A3E6_A25DCD3140DD__INCLUDED_)