我使用 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/