-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmainwindow.h
46 lines (33 loc) · 828 Bytes
/
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
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include "src/calibrationprocess.h"
#include <QButtonGroup>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow();
void resimKaydetmeIslemi(QStringList resimList);
private slots:
void on_selectImages_clicked();
void on_startCalibration_clicked();
private:
Ui::MainWindow *ui;
calibrationProcess cameraCalib;
int flag=0;
Size boardSize;
QButtonGroup group;
Mat frame;
Mat drawToFrame;
Mat distanceCoefficients;
vector<Mat> savedImages;
vector<vector<Point2f>> markerCorners,rejectedCandidates;
bool koseleriGoster,sonucuGoster;
int status=0;
};
#endif // MAINWINDOW_H