-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmainwindow.h
131 lines (82 loc) · 2.9 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QtWidgets/QMainWindow>
#include "placedetection.h"
#include "segmenttrack.h"
#include "tschybrid.h"
#include "recognition.h"
#include <memory>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
SegmentTrack* seg_track;
GraphMatch* gm;
Segmentation* seg;
TSCHybrid* tsc_hybrid;
Parameters* params;
vector<Parameters*> params_all;
vector<Dataset> datasets;
Recognition* recognition;
private:
bool auto_tune;
private slots:
void showImgOrg(QImage img);
void showMatchImage(QImage img);
void showMap(QImage img);
void showSSG(QImage img);
void showTree(QImage img);
void printMessage(QString str);
void showTrackMap(QImage img);
void showTrackSegment(QImage img);
void on_btn_process_all_clicked();
void on_btn_next_clicked();
void on_scroll_sigma_valueChanged(int value);
void on_scroll_k_valueChanged(int value);
void on_scroll_min_size_valueChanged(int value);
void on_scroll_tau_n_valueChanged(int value);
void on_scroll_tau_c_valueChanged(int value);
void on_scroll_tau_w_valueChanged(int value);
void on_scroll_tau_f_valueChanged(int value);
void on_scroll_tau_m_valueChanged(int value);
void on_scroll_color_coeff_valueChanged(int value);
void on_scroll_pos_coeff_valueChanged(int value);
void on_scroll_area_coeff_valueChanged(int value);
void on_scroll_disapp_coeff1_valueChanged(int value);
void on_scroll_disapp_coeff2_valueChanged(int value);
void on_scroll_appear_coeff_valueChanged(int value);
void on_scroll_coh_base_valueChanged(int value);
void on_scroll_appear_thres_valueChanged(int value);
void on_cb_framebyframe_clicked();
void on_btn_tracking_start_clicked();
void on_lbl_find_coherent_clicked();
void on_btn_stop_process_clicked();
void on_scroll_tau_r_valueChanged(int value);
void on_btn_process_hierarchical_clicked();
void on_scroll_tau_p_valueChanged(int value);
void on_tb_tree_plot_h_editingFinished();
void on_tb_tree_plot_w_editingFinished();
void on_tb_tree_ssg_h_editingFinished();
void on_tb_tree_ssg_w_editingFinished();
void on_btn_save_settings_clicked();
void on_btn_hierarchical_stop_clicked();
void on_cb_auto_tune_clicked();
void on_scroll_tau_p_sliderReleased();
void on_scroll_tau_r_sliderReleased();
void on_scroll_tau_v_valueChanged(int value);
void on_scroll_tau_v_sliderReleased();
void on_scroll_bow_coeff_valueChanged(int value);
void on_btn_next_frame_clicked();
void on_btn_init_from_db_clicked();
void on_cb_place_circle_clicked();
void on_cb_show_inner_ssgs_clicked();
void on_btn_init_from_db_2_clicked();
private:
Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H