histogram.cpp

来自「一个基于知识的人脸检测系统」· C++ 代码 · 共 50 行

CPP
50
字号
// Histogram.cpp : implementation file
//

#include "stdafx.h"
#include "imageprocess.h"
#include "Histogram.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// Histogram dialog


Histogram::Histogram(CWnd* pParent /*=NULL*/)
	: CDialog(Histogram::IDD, pParent)
{
	//{{AFX_DATA_INIT(Histogram)
	m_label = 0;
	m_combhsi = _T("");
	//}}AFX_DATA_INIT
}


void Histogram::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(Histogram)
	DDX_Text(pDX, IDC_EDITLABEL, m_label);
	DDV_MinMaxInt(pDX, m_label, 1, 100);
	DDX_CBString(pDX, IDC_COMBO1, m_combhsi);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(Histogram, CDialog)
	//{{AFX_MSG_MAP(Histogram)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// Histogram message handlers



⌨️ 快捷键说明

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