findFundamentalMat 返回 9x3 矩阵 [英] findFundamentalMat returns 9x3 matrix

查看:80
本文介绍了findFundamentalMat 返回 9x3 矩阵的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 OpenCV 2.4.5.当我将 findFundamentalMat 与方法 FM_7POINT 一起使用时,我得到 9x3 矩阵的结果.但是当我将 findFundamentalMat 与任何其他方法一起使用并且在图像中仅使用 7 点 时(为了使用 7 点方法),我得到 3x3矩阵.怎么了?我应该随时获得 3x3 矩阵吗?

I use OpenCV 2.4.5. When I use findFundamentalMat with method FM_7POINT I get 9x3 matrix in result. But when I use findFundamentalMat with any other method and with only 7 points in images (in order to use 7-point method) I get 3x3 matrix. What's wrong? Should I get 3x3 matrix anytime?

推荐答案

来自 OpenCV 文档:

From the OpenCV documentation for findFundamentalMat() function:

通常只找到一个矩阵.但在 7 点算法的情况下,该函数最多可以返回 3 个解(9x3 矩阵,按顺序存储所有 3 个矩阵).

Normally just one matrix is found. But in case of the 7-point algorithm, the function may return up to 3 solutions (9x3 matrix that stores all 3 matrices sequentially).

你得到的结果是完全正常的!

The results you get are thus perfectly normal!

这篇关于findFundamentalMat 返回 9x3 矩阵的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆