-
Notifications
You must be signed in to change notification settings - Fork 1
/
mainwindow.h
69 lines (52 loc) · 1.25 KB
/
mainwindow.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
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <ios>
// OpenCV includes
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/video/video.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/videostab.hpp>
#include <opencv2/features2d.hpp>
#include <opencv2/stitching.hpp>
using namespace cv;
#include <QMainWindow>
// Project includes
#include "calibratearena.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
public slots:
/*!
* \brief matchConfDoubleConvertor
* Allows us to convert the slider int into a double for display
*/
void matchConfDoubleConvertor(int);
/*!
* \brief loadImages
* Method to generate a dialog used for loading the calibration images
*/
void loadImages();
/*!
* \brief capImages
* Method to capture calibration images from the cameras
*/
void capImages();
/*!
* \brief save Images
* Method to save the captured calibration images
*/
void saveImages();
private:
Ui::MainWindow *ui;
// private methods
void testStitching();
CalibrateArena calibrater;
};
#endif // MAINWINDOW_H