-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplacedetection.h
61 lines (47 loc) · 1.52 KB
/
placedetection.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
#ifndef PLACEDETECTION_H
#define PLACEDETECTION_H
#include "defs.h"
#include "qcustomplot.h"
#include "ssgproc.h"
#include "segmenttrack.h"
#include <QObject>
using namespace std;
//class PlaceDetection : public QObject
//{
// Q_OBJECT
//public:
// PlaceDetection(QCustomPlot* coherency_plot, QCustomPlot* map,
// SSGParams* params,
// SegmentTrackParams* seg_track_params,
// SegmentationParams* seg_params,
// GraphMatchParams* gm_params);
// SSGParams* params;
// int detectPlace(vector<float> coherency_scores,
// vector<int>& detected_places_unfiltered,
// vector<int>& detected_places);
// int getMedian(vector<int> v);
// bool getRegionStatus(vector<int> v);
// void clearPastData();
// void constructSceneGist(Mat& M, vector<pair<NodeSig, int> > M_ns);
// bool eventFilter( QObject* watched, QEvent* event );
//public:
// vector<float> coherency_scores; //Stores all coherency scores
// vector<int> detected_places_unfiltered;
// vector<int> detected_places; //Stores all detected place ids
// vector<SSG> SSGs; //Stores SSGs
// bool isProcessing;
// bool stopProcessing;
// vector<string> img_files;
//public:
// bool frameByFrameProcess;
// bool process_next_frame;
//private:
// QPen pen;
// int cursor;
//signals:
// void showSSG(QImage img);
// void showImg1(QImage img);
// void showImg2(QImage img);
//public slots:
//};
#endif // PLACEDETECTION_H