⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 twothreshold.h

📁 图像处理软件,功能比较基础
💻 H
字号:
#if !defined(AFX_TWOTHRESHOLD_H__85F79660_59A1_11D5_BD50_5254AB10D0A6__INCLUDED_)
#define AFX_TWOTHRESHOLD_H__85F79660_59A1_11D5_BD50_5254AB10D0A6__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TwoThreshold.h : header file
//
#ifndef COMLIB_H
#define COMLIB_H
#include "omlib.h"
#endif
#ifndef BMPAPI_H
#define BMPAPI_H

#endif
/////////////////////////////////////////////////////////////////////////////
// TwoThreshold dialog

class TwoThreshold : public CDialog
{
// Construction
public:
	TwoThreshold(CWnd* pParent = NULL);
void InitDIBData();// standard constructor
	int *gray;
	BOOL flagHis;
	int left;
	int right;
	POINT point;
	Picture input;
	Picture output;
	RECT rect;
	RECT rectdest;
	RECT rectdib;
	BOOL flagpic;
protected:
	HDIB m_hDIB;
	CPalette* m_palDIB;

// Dialog Data
	//{{AFX_DATA(TwoThreshold)
	enum { IDD = IDD_TWO_THRESHOLD };
	CSliderCtrl	m_right;
	CSliderCtrl	m_left;
	int		m_rightnum;
	int		m_leftnum;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(TwoThreshold)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(TwoThreshold)
	afx_msg void OnPaint();
	virtual BOOL OnInitDialog();
	afx_msg void OnCustomdrawSlider2(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnCustomdrawRight(NMHDR* pNMHDR, LRESULT* pResult);
	virtual void OnCancel();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TWOTHRESHOLD_H__85F79660_59A1_11D5_BD50_5254AB10D0A6__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -