function.h
来自「基于OpenCV的计算机视觉技术实现.rar」· C头文件 代码 · 共 34 行
H
34 行
#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 + =
减小字号Ctrl + -
显示快捷键?