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

📄 testdlg.h

📁 一个基于灰度值的视频检索程序,主要是计算灰度值,对图像进行检索.
💻 H
字号:
// testDlg.h : header file
//

#if !defined(AFX_TESTDLG_H__AD5BFF50_0D44_42CB_A4B4_A378D0A10B49__INCLUDED_)
#define AFX_TESTDLG_H__AD5BFF50_0D44_42CB_A4B4_A378D0A10B49__INCLUDED_

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

#include "ximage.h"
#include "LianDoc.h"
/////////////////////////////////////////////////////////////////////////////
// CTestDlg dialog

class CTestDlg : public CDialog
{
// Construction
public:
	CTestDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CTestDlg)
	enum { IDD = IDD_TEST_DIALOG };
	CListBox	m_ListFound;
	CProgressCtrl	m_progress;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTestDlg)
	public:
	virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CTestDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnOpenimage();
	afx_msg void OnAbstract();
	afx_msg void OnSearch();
	afx_msg void OnStaticSearchimage1();
	afx_msg void OnStaticSearchimage2();
	afx_msg void OnStaticSearchimage10();
	afx_msg void OnStaticSearchimage3();
	afx_msg void OnStaticSearchimage4();
	afx_msg void OnStaticSearchimage5();
	afx_msg void OnStaticSearchimage6();
	afx_msg void OnStaticSearchimage7();
	afx_msg void OnStaticSearchimage8();
	afx_msg void OnStaticSearchimage9();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnSelchangeList1();
	afx_msg void OnStaticKeyimage();
	afx_msg void OnStaticSearchimageall();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	void RunDir(const CString &strfile2);
	void StartDir(const CString &strfile1);
	void writedatabase();
	
	void RefreshDisplay();
double m_KeySignature[256];
	CxImage m_imgLoaded;
	CxImage m_imgSearch1;
	CxImage m_imgSearch2;
	CxImage m_imgSearch3;
	CxImage m_imgSearch4;
	CxImage m_imgSearch5;
	CxImage m_imgSearch6;
	CxImage m_imgSearch7;
	CxImage m_imgSearch8;
	CxImage m_imgSearch9;
	CxImage m_imgSearch10;
    CxImage m_imgSearchall;
    CString * temp[256];
	int tempi,counts;
	CString strNamaFile;//关键图路径

	float m_lCount3[450][256];
	int imge_count;
	char m_path[256];
	PALETTEENTRY m_lpEntry[256];
	CString str_Temp;
	int flag;
	DWORD Dflag;
    CLianDoc docufile;
	CString str0;
	CString str1;
	CString str2;
	CString str3;
	CString str4;
	CString str5;
	CString str6;
	CString str7;
	CString str8;
	CString str9;
    int iPos;
	CString strArr;
    CTime   m_time1;   
    CTime   m_time2;
	int ntime;

};

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

#endif // !defined(AFX_TESTDLG_H__AD5BFF50_0D44_42CB_A4B4_A378D0A10B49__INCLUDED_)

⌨️ 快捷键说明

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