Class CompatibleProjectiveHomography


  • public class CompatibleProjectiveHomography
    extends java.lang.Object
    Algorithms for finding a 4x4 homography which can convert two camera matrices of the same view but differ in only the projective ambiguity. This is needed if extending a projective scene by independently computing the solution set sets of 2, 3 or more views. This provides a mechanism "stitching" the solutions together using their common views.

    projection of world point 'X' to pixel 'x': x = P*X

    Two projective frames of the same view are related by 4x4 homography H. 3D points are related too by H

    P1[i]*H = P2[i]

    X1 = H*X2

    P is a 3x4 camera matrix and has a projective ambiguity. x = P*inv(H)*H*X, P' = P*inv(H) and X' = H*X

    1. Fitzgibbon, Andrew W., and Andrew Zisserman. "Automatic camera recovery for closed or open image sequences." European conference on computer vision. Springer, Berlin, Heidelberg, 1998.
    2. P. Abeles, "BoofCV Technical Report: Automatic Camera Calibration" 2018-1