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
| //
| // Created by Scheaven on 2020/5/22.
| //
|
| #ifndef INC_02_COORDINATE_TRANSFORMATION_HOMOGRAPHY_UTIL_H
| #define INC_02_COORDINATE_TRANSFORMATION_HOMOGRAPHY_UTIL_H
|
| #include <vector>
| #include "math_util.h"
|
| typedef struct _Matrix
| {
| float homography[3][3];
| }SMatrix;
|
| typedef struct _Homography
| {
| SMatrix* matrix;
| int count;
| }SHomogtaphy;
|
| static void gaussian_elimination(float *input, int n);
| void creatHomography();
| //void creatHomography(vector<SPoint2f> src, vector<SPoint2f> dst,SMatrix* matrix);
| void creatHomography(vector<SPoint2f> src, vector<SPoint2f> dst,SHomogtaphy *SH_pointer ,int j_index);
|
|
| #endif //INC_02_COORDINATE_TRANSFORMATION_HOMOGRAPHY_UTIL_H
|
|