-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathimageProcessingView.h
More file actions
58 lines (50 loc) · 1.51 KB
/
Copy pathimageProcessingView.h
File metadata and controls
58 lines (50 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// imageProcessingView.h: CimageProcessingView 类的接口
//
#pragma once
class CimageProcessingView : public CView
{
public:
char *pFileBuf;
/**/
protected: // 仅从序列化创建
CimageProcessingView() noexcept;
DECLARE_DYNCREATE(CimageProcessingView)
// 特性
public:
CimageProcessingDoc* GetDocument() const;
// 重写
public:
virtual void OnDraw(CDC* pDC); // 重写以绘制该视图
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
// 实现
public:
virtual ~CimageProcessingView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// 生成的消息映射函数
protected:
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnImageprocessOpenbmpfile();
afx_msg void OnImageprocessSavetofile();
afx_msg void OnImageprocessDisplayfileheader();
afx_msg void OnImageprocessDisplaypalette();
afx_msg void OnImageprocessGetpixelvalue();
afx_msg void OnImageprocessSetpixelvalue();
afx_msg void OnImageprocessInerpolation();
afx_msg void OnImageprocessGausssmooth();
afx_msg void OnImageprocessMedianfilter();
afx_msg void OnImageprocessBilateralfilter();
afx_msg void OnImageprocessHistoequalization();
afx_msg void OnImageprocessSharpengrad();
afx_msg void OnImageprocessCannyedge();
afx_msg void OnImageprocessOtsusegment();
};
#ifndef _DEBUG // imageProcessingView.cpp 中的调试版本
inline CimageProcessingDoc* CimageProcessingView::GetDocument() const
{ return reinterpret_cast<CimageProcessingDoc*>(m_pDocument); }
#endif