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

📄 carlpdlg.h

📁 车牌定位c++源码,本人编辑的地方车辆号牌识别.
💻 H
字号:
// CarLPDlg.h : 头文件
//
#pragma once

#include "stdafx.h"
#include "CarLP.h"
#include "ImageWnd.h"
#include "Splash.h"

// CCarLPDlg 对话框
class CCarLPDlg : public CDialog
{
// Construction
public:
//	BOOL Grabbing;
	void Scan();
	void PseudoColor();
	void PrintImages();
	void SaveAs();
	void Edge();
	void BiValue();
	void Restore();
	void Copy();
	void BrightModify();
	void Noise(int type);
	void NoColor();
	void LoadBitmap();
	void Paste();
	void Transform();
	void Smooth();
	void HistogramEq();
	void Geometrical();
	void OpenFile();
	int HitTestButton(int x0,int y0);

	void HoughIMG();//Houhgh transformation 

	CString FileName;
	int nWidth;
	int nHeight;
	int nLen;
	int nByteWidth;
	BYTE *lpPoints;
	BYTE *lpBackup;
	BYTE *lpBitmap;
	BYTE *lpBits;

	void MenuButton(int pos,int status);
	void AddButton(int x,int y,int ID,const char *caption);
	char buttoncaption[50][30];
	int buttonid[50];
	int buttonx[50];
	int buttony[50];
	int buttonptr;
	int menufocus,menuclick;
	CImageWnd source,dest;



// 构造
public:
	CCarLPDlg(CWnd* pParent = NULL);	// 标准构造函数

// 对话框数据
	//{{AFX_DATA(CarLPDlg)
	enum { IDD = IDD_CARLP_DIALOG };
	//}}AFX_DATA(CarLPDlg)

	//{{AFX_DATA(CarLPDlg)
    public:
	virtual void WinHelp(DWORD_PTR dwData,UINT nCmd=HELP_CONTEXT);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV 支持
	//}}AFX_VIRTUAL



// 实现
//protected:
public:	
	HICON m_hIcon;

	// 生成的消息映射函数
	//{{AFX_MSG(CDIPDemoDlg)

	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();

	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg LRESULT OnClick(WPARAM pos,LPARAM dump);
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
	afx_msg void OnDestroy();
	virtual void OnOK();
	virtual void OnCancel();

	afx_msg void OnBnClickedOpen();
	
	//}}AFX_MSG
   DECLARE_MESSAGE_MAP()
};

⌨️ 快捷键说明

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