📄 morphology.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -