c++ - findFundamentalMat 返回 9x3 矩阵

标签 c++ opencv computer-vision

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

最佳答案

来自OpenCV documentation对于 findFundamentalMat() 函数:

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).

因此您得到的结果是完全正常的!

关于c++ - findFundamentalMat 返回 9x3 矩阵,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16688156/

相关文章:

python - Python 中的 Bag Of Visual Words 实现的准确性非常差

matlab - 在 Matlab 中计算 opencv 的透视变换时出错

image-processing - 如何基于霍夫线在 OpenCV 中分割图像?

c++ - valgrind 输出中的数字是什么意思?

c++ - 使用 UV 贴图 OpenGL 纹理化 3d 对象

c++ - 如何使用opencv比较存储在文件中的两个图像

c++ - 检查灰度图像中的像素是否为黑色 (OpenCV)

c++ - OpenCV用图片实例训练SVM错误

c++ - If Else 构造

c++ - 我想我混淆了名称隐藏和函数覆盖