-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathImagePro2View.h
More file actions
89 lines (76 loc) · 2.39 KB
/
ImagePro2View.h
File metadata and controls
89 lines (76 loc) · 2.39 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
// ImagePro2View.h: CImagePro2View 클래스의 인터페이스
//
#pragma once
class CImagePro2View : public CScrollView
{
protected: // serialization에서만 만들어집니다.
CImagePro2View() noexcept;
DECLARE_DYNCREATE(CImagePro2View)
// 특성입니다.
public:
CImagePro2Doc* GetDocument() const;
int viewMode;
char AVIFileName[256];
// 작업입니다.
public:
// 재정의입니다.
public:
virtual void OnDraw(CDC* pDC); // 이 뷰를 그리기 위해 재정의되었습니다.
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void OnInitialUpdate(); // 생성 후 처음 호출되었습니다.
// 구현입니다.
public:
virtual ~CImagePro2View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// 생성된 메시지 맵 함수
protected:
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnMenutest();
afx_msg void OnPixeladd();
afx_msg void OnPixelsub();
afx_msg void OnPixeldiv();
afx_msg void OnPixelmul();
afx_msg void OnPixelHistoeq();
afx_msg void OnPixelstr();
afx_msg void OnPixelbinarization();
afx_msg void OnPixeltwoimageadd();
void LoadTwoImage();
afx_msg void OnPixelimagesub();
afx_msg void OnRegionSharpening();
void convolve(unsigned char** inimg, unsigned char** outimg, int cols, int rows, float mask[][3], int bias, int depth);
afx_msg void OnRegionSmoothing();
afx_msg void OnRegionEmbossing();
afx_msg void OnRegionPrewit();
afx_msg void OnRegionRoberts();
afx_msg void OnRegionSobel();
afx_msg void OnRegionEverageFlitering();
afx_msg void OnRegionMedianfiltering();
afx_msg void OnGeometryZoominPixelCopy();
afx_msg void OnMopologycolortogray();
afx_msg void OnMopologybinarization();
afx_msg void OnMopologyerosion();
afx_msg void OnMopologydilation();
afx_msg void OnMopologyopenning();
afx_msg void OnMopologyclosing();
void CopyResultToInput();
afx_msg void OnGeometryZoominBinuerinterpolation();
afx_msg void OnGeometryZoomoutSubsampling();
afx_msg void OnGeometryZoomoutMeanSub();
afx_msg void OnGeometryZoomoutAvg();
afx_msg void OnGeometryRotation();
afx_msg void OnGeometryMirror();
afx_msg void OnGeometryFlip();
afx_msg void OnGeometryWarping();
afx_msg void OnAviView();
};
#ifndef _DEBUG // ImagePro2View.cpp의 디버그 버전
inline CImagePro2Doc* CImagePro2View::GetDocument() const
{ return reinterpret_cast<CImagePro2Doc*>(m_pDocument); }
#endif