morphology.h

来自「一些自己做的关于图象处理的程序(如傅立叶变换」· C头文件 代码 · 共 78 行

H
78
字号
#if !defined(AFX_MORPHOLOGY_H__760B4D00_AEAE_4458_B5BA_9AE2F82AE3C7__INCLUDED_)
#define AFX_MORPHOLOGY_H__760B4D00_AEAE_4458_B5BA_9AE2F82AE3C7__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Morphology.h : header file
//
#include "ImageObject.h"
/////////////////////////////////////////////////////////////////////////////
// CMorphology dialog

class CMorphology : public CDialog
{
// Construction
public:
	inline BYTE* OnThining(unsigned char *pBits, int iHeight, int iWidth, int nWidthbytes);
	inline BYTE* OnDilation(unsigned char *pBits, int iHeight, int iWidth, int nWidthbytes);
	inline BYTE* OnErosion(unsigned char *pBits, int iHeight, int iWidth, int nWidthbytes);
	int m_morphologytype;
	BOOL OnMorphology();
	CImageObject* m_pImageObject;
	int m_elementselcted[25];
	CMorphology(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CMorphology)
	enum { IDD = IDD_MORPHOLOGY };
	CString	m_iltem;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CMorphology)
	afx_msg void OnElement1();
	afx_msg void OnElement2();
	afx_msg void OnElement3();
	afx_msg void OnElement4();
	afx_msg void OnElement5();
	afx_msg void OnElement6();
	afx_msg void OnElement7();
	afx_msg void OnElement8();
	afx_msg void OnElement9();
	afx_msg void OnElement10();
	afx_msg void OnElement11();
	afx_msg void OnElement12();
	afx_msg void OnElement13();
	afx_msg void OnElement14();
	afx_msg void OnElement15();
	afx_msg void OnElement16();
	afx_msg void OnElement17();
	afx_msg void OnElement18();
	afx_msg void OnElement19();
	afx_msg void OnElement20();
	afx_msg void OnElement21();
	afx_msg void OnElement22();
	afx_msg void OnElement23();
	afx_msg void OnElement24();
	afx_msg void OnElement25();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_MORPHOLOGY_H__760B4D00_AEAE_4458_B5BA_9AE2F82AE3C7__INCLUDED_)

⌨️ 快捷键说明

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