问题遇到的现象和发生背景 求出基础矩阵F,绘制外极线
问题相关代码,请勿粘贴截图 //画出外极线,对应点已经经过了RANSAC优化
void DrawEpiLines(const Mat & img_1, const Mat & img_2, vector<Point2f>points1, vector<Point2f>points2); {
cv::Mat F = cv::findFundamentalMat(points1, points2, FM_8POINT);
//首先根据对应点计算出两视图的基础矩阵,基础矩阵包含了两个相机的外参数关系