📄 function.h
字号:
#ifndef FUNCTION_H
#define FUNCTION_H
/********************************************************************
include files
*********************************************************************/
#include "cv.h"
#include "cxcore.h"
/********************************************************************
calculate fundamental matrix
*********************************************************************/
void find_F(double F[3][3],double M1_data[3][4],double M2_data[3][4]);
/********************************************************************
find the match point
*********************************************************************/
bool match(double point_src[2],double point_dst[2],
IplImage* img_src,IplImage* img_dst,double F_matrix[3][3],
double colors[3],IplImage* img_temp);
/********************************************************************
calculate the M matrix of the two camera
(combine the camera matrix,translation matrix and rotation matrix)
*********************************************************************/
void calc_M(double M1[3][4],double M2[3][4]);
/********************************************************************
calculate the 3-dimention point from two 2-dimention points
*********************************************************************/
void point_reconstruct(double M1[3][4],double M2[3][4],
double p1[2],double p2[2],double p[3]);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -