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

📄 histogramdlg.h

📁 阮秋琦的数字图像处理学一书所附的代码
💻 H
字号:
#if !defined(AFX_HISTOGRAMDLG_H__8C973685_3AEC_11D4_A24C_0000E8235905__INCLUDED_)
#define AFX_HISTOGRAMDLG_H__8C973685_3AEC_11D4_A24C_0000E8235905__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// HistogramDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CHistogramDlg dialog

class CHistogramDlg : public CDialog
{
// Construction
public:
	int nWidth,nDestWidth;
	int nHeight,nDestHeight;
	BYTE *lpSource;
	BYTE *lpDest;
	void GetHistogram(int *ret,BYTE *lpPoints,int width,int height);
	CHistogramDlg(CWnd* pParent = NULL);   // standard constructor
	int sourceh[256];
	int desth[256];

// Dialog Data
	//{{AFX_DATA(CHistogramDlg)
	enum { IDD = IDD_HISTOGRAM };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CHistogramDlg)
	virtual BOOL OnInitDialog();
	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_HISTOGRAMDLG_H__8C973685_3AEC_11D4_A24C_0000E8235905__INCLUDED_)

⌨️ 快捷键说明

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