📄 ouyangimageview.h
字号:
// ouyangImageView.h : interface of the COuyangImageView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_OUYANGIMAGEVIEW_H__85771B52_3703_4281_9177_D08B99D8C31F__INCLUDED_)
#define AFX_OUYANGIMAGEVIEW_H__85771B52_3703_4281_9177_D08B99D8C31F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class COuyangImageView : public CView
{
protected: // create from serialization only
COuyangImageView();
DECLARE_DYNCREATE(COuyangImageView)
// Attributes
public:
COuyangImageDoc* GetDocument();
// 灰度级别数目
int m_iColorNum;
// 哈夫曼编码表
CString m_strCode[256];
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(COuyangImageView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~COuyangImageView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(COuyangImageView)
afx_msg void OnPointInvert();
afx_msg void OnPointEqua();
afx_msg void OnFreqFour();
afx_msg void OnGeomMirv();
afx_msg void OnGeomMirh();
afx_msg void OnRestoreWiener();
afx_msg void OnEdgeRobert();
afx_msg void OnEdgeSobel();
afx_msg void OnEdgePrewitt();
afx_msg void OnCodeHuffman();
afx_msg void OnCodeShannon();
afx_msg void OnDetectThreshold();
afx_msg void OnDetectHprojection();
afx_msg void OnDetectVprojection();
afx_msg void OnHumanGen();
afx_msg void OnViewIntensity();
afx_msg void OnPointSml();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in ouyangImageView.cpp
inline COuyangImageDoc* COuyangImageView::GetDocument()
{ return (COuyangImageDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_OUYANGIMAGEVIEW_H__85771B52_3703_4281_9177_D08B99D8C31F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -