📄 thresholdset.h
字号:
#if !defined(AFX_ThRESHOLDSET_H__C69B3EA7_D2FC_48A3_ACEE_4C61F9E9446A__INCLUDED_)
#define AFX_ThRESHOLDSET_H__C69B3EA7_D2FC_48A3_ACEE_4C61F9E9446A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ThresholdSet.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CThresholdSet dialog
class CThresholdSet : public CDialog
{
// Construction
public:
CThresholdSet(CWnd* pParent = NULL); // standard constructor
int m_nTimerInThresholdSet; //定时器句柄
COLORREF m_colRef; //鼠标选择点的RGB值
int flags;
// Dialog Data
//{{AFX_DATA(CThresholdSet)
enum { IDD = IDD_THRESHOLDSET };
CString m_strIntensityR;
CString m_strIntensityG;
CString m_strIntensityB;
CString m_r;
CString m_g;
CString m_b;
float m_rWhiteMax;
float m_gWhiteMax;
float m_bWhiteMax;
float m_rWhiteMin;
float m_gWhiteMin;
float m_bWhiteMin;
float m_rYellowMin;
float m_gYellowMin;
float m_bYellowMin;
float m_rYellowMax;
float m_gYellowMax;
float m_bYellowMax;
float m_gBlueMin;
float m_bBlueMin;
float m_rBlueMax;
float m_gBlueMax;
float m_bBlueMax;
float m_rBlueMin;
float m_bRedMin;
float m_gRedMin;
float m_rRedMin;
float m_bRedMax;
float m_gRedMax;
float m_rRedMax;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CThresholdSet)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
public:
void PaintSelectionColor(); //绘制鼠标选择点的颜色
void DisplayFrames(); //在处理后视频显示区显示视频
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CThresholdSet)
virtual void OnCancel();
virtual void OnOK();
virtual BOOL OnInitDialog();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnPaint();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SAMPLE_H__C69B3EA7_D2FC_48A3_ACEE_4C61F9E9446A__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -