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

📄 myinterfacedlg.h

📁 用数字图像处理主要是为了修改图形,改善图像质量,或是从图像中提起有效信息,还有利用数字图像处理可以对图像进行体积.
💻 H
字号:
// MyInterfaceDlg.h : 头文件
//

#pragma once
#include "MyToolTipCtrl.h"
#include "afxwin.h"
#include "picSet.h"
#include "Search.h"
#include "BmpProc.h"


// CMyInterfaceDlg 对话框
////HBITMAP hBitmap=NULL;
class CMyInterfaceDlg : public CDialog
{
// 构造
	//char* fileName;
	char* SourcePic;
	char* DestPic;
	char* charlap;
	int intSD;
	BOOL picInput;
	BOOL picShow;
	HBITMAP hBitmap;	
	CBmpProc* pBmp;//原图
	CBmpProc* pDest;
	HANDLE hThread;
public:	
    CpicSet* m_pset;
	void DrawTitleBar(CDC *pDC);
	CRect m_rtButtExit;	//关闭按钮位置
	CRect m_rtButtMax;	//最大化按钮位置
	CRect m_rtButtMin;	//最小化按钮位置
	CRect m_rtButtHelp;	//帮助按钮位置
	CRect m_rtIcon;		//图标位置
	CMyInterfaceDlg(CWnd* pParent = NULL);	// 标准构造函数
	~CMyInterfaceDlg();
	void GetCharater(CString strName);	
	BOOL m_ReSizeFlag;
	int	m_OldWidth;
	int	m_OldHeight;
	//static UINT_PTR CALLBACK SelFileHookProc(HWND hdlg, UINT uiMsg, WPARAM wParam, LPARAM lParam);

// 对话框数据
	enum { IDD = IDD_MYINTERFACE_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV 支持
// 实现
protected:
	HICON m_hIcon;
	BOOL	m_ShowTitle;
	CMyToolTipCtrl m_ToolTip;

	// 生成的消息映射函数
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnNcLButtonDown(UINT nHitTest, CPoint point);
	afx_msg void OnNcMouseMove(UINT nHitTest, CPoint point);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnBnClickedButton1();
	CStatic m_pic;	
	CListBox m_ListPic;	
	afx_msg void OnBnClickedButton3();
	afx_msg void OnLbnDblclkListPic();
	afx_msg void OnBnClickedButton2();
	afx_msg void OnBnClickedButton4();
	afx_msg void OnBnClickedSearch();
	afx_msg void OnBnClickedButton5();
	afx_msg void OnBnClickedButton6();
	afx_msg void OnBnClickedFilter();
	
	BOOL m_filterCheck;
	afx_msg void OnBnClickedCheck();
	afx_msg void OnBnClickedCheck1();
	BOOL m_Sobel;
	afx_msg void OnBnClickedSearchfromlib();
	afx_msg void OnBnClickedFind();	
	int m_x1;
	int m_x2;
	int m_x3;
	int m_x4;
	int m_y1;
	int m_y2;
	int m_y3;
	int m_y4;
	afx_msg void OnBnClickedButton7();
	int m_left;
	int m_top;
	int m_right;
	int m_bottom;
	afx_msg void OnBnClickedButton8();
	
	double m_valve;
	afx_msg void OnBnClickedButtoncolorpair();
	int m_BlockNum;
	CButton m_ColorGraphSubmit;
	CButton m_ColorPairSubmit;		

protected:
	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
};

extern CString PicFilePath;
extern double m_KeySignature[256];

⌨️ 快捷键说明

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