来自相同投影矩阵的不同基本矩阵 [英] Different fundamental matrix from the same projection matrices

查看:299
本文介绍了来自相同投影矩阵的不同基本矩阵的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用两个投影矩阵P1和P2(例如,我使用恐龙数据集),我需要计算基本矩阵F.
所以我使用两个Matlab函数:

I use two projection matrices P1 and P2 (for example I'm using dinosaur dataset) and I need to compute the fundamental matrix F. So I use two Matlab functions:


  • Peter Kovesi的函数:www .csse.uwa.edu.au /〜pk / Research / MatlabFns / Projective / fundfromcameras.m

  • Zisserman:www.robots.ox.ac.uk/~vgg/hzbook/code /vgg_multiview/vgg_F_from_P.m

这些函数应该做同样的事情,但我有不同的F值!怎么可能?

These functions should do the same thing, but I have a different F value! How it's possible? Which is the right functions?

如果两个不同的图像中两个点X1和X2是相同,则X2 ^ T * F * X1 = 0 ...
所以我通过使用SURF从两个旋转的图像(5度)找到两个对应的点,但是对于这两个特征,X2 ^ T * F * X1永远不等于零。
任何想法?

If two points X1 and X2 are "the same" in two different images, X2^T*F*X1 = 0 ... So I found two corresponded points from two rotated images (5 degrees) by using SURF, but X2^T*F*X1 is never equal to zero with this two funtcions. Any ideas?

而是如果我使用这个函数从匹配点计算F:

Instead if I use this function that computes F from matches points:

  • ransac fit fundamental matrix by Peter Kovesi: ransacfitfundmatrix.m

我有那个X2 ^ T * F * X1 = 0 ....显然F不同于两个FI ...

I have that X2^T*F*X1 = 0 .... Obviously F is different from the two F I had with the other two functions...

推荐答案

基本矩阵只有 >。

The fundamental matrix is unique only up to a scale.

所以,即使你有不同的基本矩阵,两者都可以正确的你的图像。

So, even if you have different fundamental matrices, both can be correct for your images.

这篇关于来自相同投影矩阵的不同基本矩阵的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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