How to calculate Rotation and Translation matrices from homography?

后端 未结 3 1949
星月不相逢
星月不相逢 2020-12-30 17:35

I have already done the comparison of 2 images of same scene which are taken by one camera with different view angles(say left and right) using SURF in emgu

3条回答
  •  孤城傲影
    2020-12-30 17:51

    Homography only works for planar scenes (ie: all of your points are coplanar). If that is the case then the homography is a projective transformation and it can be decomposed into its components.

    But if your scene isn't coplanar (which I think is the case from your description) then it's going to take a bit more work. Instead of a homography you need to calculate the fundamental matrix (which emgucv will do for you). The fundamental matrix is a combination of the camera intrinsic matrix (K), the relative rotation (R) and translation (t) between the two views. Recovering the rotation and translation is pretty straight forward if you know K. It looks like emgucv has methods for camera calibration. I am not familiar with their particular method but these generally involve taking several images of a scene with know geometry.

提交回复
热议问题