// // Created by Scheaven on 2020/5/22. // #ifndef INC_02_COORDINATE_TRANSFORMATION_HOMOGRAPHY_UTIL_H #define INC_02_COORDINATE_TRANSFORMATION_HOMOGRAPHY_UTIL_H #include #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 src, vector dst,SMatrix* matrix); void creatHomography(vector src, vector dst,SHomogtaphy *SH_pointer ,int j_index); #endif //INC_02_COORDINATE_TRANSFORMATION_HOMOGRAPHY_UTIL_H