📄 disparity 200712dlg.h
字号:
// disparity 200712Dlg.h : header file
//
#if !defined(AFX_DISPARITY200712DLG_H__AFAF62E6_C3A8_4891_8D90_7F22F419C75D__INCLUDED_)
#define AFX_DISPARITY200712DLG_H__AFAF62E6_C3A8_4891_8D90_7F22F419C75D__INCLUDED_
#if _MSC_VER > 1000
#include "inc/cv.h"
#include "inc/highgui.h"
#include "inc/cvcam.h"
#include "Img.h"
#include "disparity.h"
//#include "display.h"
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CDisparity200712Dlg dialog
class CDisparity200712Dlg : public CDialog
{
// Construction
public:
CvCapture* capture;
int isHandOpen;
CvMemStorage* storage;
//static double color;
CvSize imgSize;
CvSize tmplSize;
CvSeq* contour;
CvSeq* biggest;
//static double color;
CvScalar color;
IplImage *img;
IplImage *tmpImg;
IplImage *conv;
IplImage *H;
IplImage *S;
IplImage *V;
IplImage *tmpH1;
IplImage *tmpS1;
IplImage *tmpH2;
IplImage *tmpS2;
IplImage *tmpH3;
IplImage *tmpS3;
IplImage *openHandTmpl;
IplImage *closedHandTmpl;
IplImage *openGrayHandTmpl, *closedGrayHandTmpl;
IplImage *openscaledTmpl, *closedscaledTmpl;
IplImage *openMatchResult, *closedMatchResult;
FILE *output;
public:
void handDetect( IplImage *img);
public:
CDisparity200712Dlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDisparity200712Dlg)
enum { IDD = IDD_DISPARITY200712_DIALOG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDisparity200712Dlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CDisparity200712Dlg)
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 void OnButton3();
afx_msg void OnButton4();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DISPARITY200712DLG_H__AFAF62E6_C3A8_4891_8D90_7F22F419C75D__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -