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

📄 fingerdlg.h

📁 这是个手指指纹识别的源代码 ,也是从网络上下载的
💻 H
字号:
// FingerDlg.h : header file
//
#include "Dib.h"
#include "CustomRs.h"
#include "Time.h"
#include "Count.h"
#include "FingerEnd.h"
#include "FingerFen.h"
#if !defined(AFX_FINGERDLG_H__6182BFF5_5184_11D6_9FCA_9C31BA041921__INCLUDED_)
#define AFX_FINGERDLG_H__6182BFF5_5184_11D6_9FCA_9C31BA041921__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CFingerDlg dialog

class CFingerDlg : public CDialog
{
// Construction
public:
	CFingerDlg(CWnd* pParent = NULL);	// standard constructor
public:
	int sendmessage(int type);
	int denglu(int type,int position);
	/////总体的函数
	long GiveDataSqurtgap();          ////求全图的方差
    void GiveData();                  ///给data[][]数组符值
	void GiveDatabmp();               ///给databmp[][]数组符值
	int  GiveDataAvery();              ///求图象的像数数
	void ShowBmp();                   ///显示处理后的图象
	///////平滑化
	float FindAvery(int a0,int a1,int a2,int a3,int a4,int a5,int a6);              ////求平均值
    float FindAveriance(int a0,int a1,int a2,int a3,int a4,int a5,int a6,float a);  ////求方差
    ///////二值化
	void BordDoubleValue(int n,int a[]);  /////求nXn模板的均值
	////方向图
	int BordDirection(int a[8][8]);
	void DrawBordDiretion(int i,int j,int n);
	struct Sequency
	{
		int No;
		int Number;
	};
	struct bianhuan
	{
	    int color;
		int xzhou;
		int yzhou;
	};


	

	// Dialog Data
	//{{AFX_DATA(CFingerDlg)
	enum { IDD = IDD_FINGER_DIALOG };
	CString	m_EmployeeName;
	CString	m_EmployeeDepartName;
	COleDateTime	m_TimeOutCharge;
	COleDateTime	m_TimeOnCharge;
	CString	m_EmployeeId;
	int		m_TimeType;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CFingerDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnExit();
	afx_msg void OnOnWork();
	afx_msg void OnOutWork();
	afx_msg void OnZhuCe();
	afx_msg void OnGoOut();
	afx_msg void OnGoBack();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	int jianchaid();
	int updatacustom(CString SQL);
	CCount* getcount();
	int setcount(CString SQL);
	int insertfinger(CString sql);
	int newonmo();
	int createDB();
	int deleteconnect();
	int getmoend();
	CFingerEnd* GetFinger();
	int setFingerprint(CString SQL);
	int pipei();
	int recordcharge(int type);
	int qumo(int type);
	int sao(int type);
	int fencha(int type);
	int fanwei(int type);
	int Takeon(int type);
	int jiancha(int type);
	int getWhich();
	CCustomRs* GetCustom();
	int refreshCustom(int type);
	int SetCustom(CString SQL,int type);
	long qingshow(int c);
	long shun(int x,int y,int c);
	long panduanmid(int x,int y);
	long showlian(int x,int y,int dxk,int dyk);
	long lianjie(int x1,int y1,int x2,int y2);
	long neiborghtstart(int x,int y,int dxk,int dyk);
	long showdirect(int x1,int y1,int x2,int y2);
	long getdirect(int x,int y);
	long reload();
	long thing();
	int genzong(int x,int y,int c);
	int getendpoint(int x,int y);
	int searcharendpoint(int x,int y,int yuanx,int yuany);
	int qing(int c);
	int bijiao(int x,int y);
	int testlen(int a,int b);
	int shankong(int a,int b);
	int shan();
	long chargekongdong();
	long chargezabo();
	long getendandstart();
	long directmid();
	long directfilter();
	long delalate();
	long getdirect();
	long getend();
	long duoblevalue();
	CString m_strCmdText;
	IADORecordBinding* m_piAdoRecordBinding;
    _ConnectionPtr m_con;
    _CommandPtr  m_com;
    _RecordsetPtr m_pRs;
	CCustomRs m_rsCustom;
	CCount m_rsCount;
	CFingerEnd m_rsFinEnd;
	CString m_strConnection;
};

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

#endif // !defined(AFX_FINGERDLG_H__6182BFF5_5184_11D6_9FCA_9C31BA041921__INCLUDED_)

⌨️ 快捷键说明

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