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
| #pragma once
| #ifndef DATATYPE_H
| #define DATATYPEH
|
| #include <cstddef>
| #include <vector>
|
| #include <Eigen/Core>
| #include <Eigen/Dense>
| typedef Eigen::Matrix<float, 1, 4, Eigen::RowMajor> DETECTBOX;
| typedef Eigen::Matrix<float, -1, 4, Eigen::RowMajor> DETECTBOXSS;
| typedef Eigen::Matrix<float, 1, 128, Eigen::RowMajor> FEATURE;
| typedef Eigen::Matrix<float, Eigen::Dynamic, 128, Eigen::RowMajor> FEATURESS;
|
| typedef Eigen::Matrix<float, 1, 8, Eigen::RowMajor> KAL_MEAN;
| typedef Eigen::Matrix<float, 8, 8, Eigen::RowMajor> KAL_COVA;
| typedef Eigen::Matrix<float, 1, 4, Eigen::RowMajor> KAL_HMEAN;
| typedef Eigen::Matrix<float, 4, 4, Eigen::RowMajor> KAL_HCOVA;
| using KAL_DATA = std::pair<KAL_MEAN, KAL_COVA>;
| using KAL_HDATA = std::pair<KAL_HMEAN, KAL_HCOVA>;
|
| using RESULT_DATA = std::pair<int, DETECTBOX>;
|
| using TRACKER_DATA = std::pair<int, FEATURESS>;
| using MATCH_DATA = std::pair<int, int>;
| typedef struct t{
| std::vector<MATCH_DATA> matches;
| std::vector<int> unmatched_tracks;
| std::vector<int> unmatched_detections;
| }TRACHER_MATCHD;
|
| typedef Eigen::Matrix<float, -1, -1, Eigen::RowMajor> DYNAMICM;
|
|
| #endif // DATATYPE_H
|
|