-
Notifications
You must be signed in to change notification settings - Fork 0
/
FireDetectionDoc.h
71 lines (55 loc) · 1.79 KB
/
FireDetectionDoc.h
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
// FireDetectionDoc.h : interface of the CFireDetectionDoc class
//
// ******************************************************
// ** course : Advanced Programming **
// *** HomeWork : 09 ***
// **** Topic : Image Processing ****
// **** AUTHOR : Reza Adinepour ****
// *** Student ID: : 9814303 ***
// ** Github : github.com/rezaAdinepour/ **
// ******************************************************
#pragma once
#include <opencv.hpp>
#if _DEBUG
#pragma comment(lib, "opencv_world470d.lib")
#else
#pragma comment(lib, "opencv_world470.lib")
#endif // _DEBUG
using namespace cv;
using namespace std;
class CFireDetectionDoc : public CDocument
{
protected: // create from serialization only
CFireDetectionDoc() noexcept;
DECLARE_DYNCREATE(CFireDetectionDoc)
// Attributes
public:
// Operations
public:
// Overrides
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
#ifdef SHARED_HANDLERS
virtual void InitializeSearchContent();
virtual void OnDrawThumbnail(CDC& dc, LPRECT lprcBounds);
#endif // SHARED_HANDLERS
// Implementation
public:
virtual ~CFireDetectionDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
DECLARE_MESSAGE_MAP()
#ifdef SHARED_HANDLERS
// Helper function that sets search content for a Search Handler
void SetSearchContent(const CString& value);
#endif // SHARED_HANDLERS
public:
afx_msg void OnFileOpen();
Mat left_out_frame, right_out_frame;
};