I have given two homography matrices and need to find out whether they describe (nearly) the same projection. Is there a metric which i can use for this problem?
Asked
Active
Viewed 952 times
2
-
I'm also looking for the answer, please kindly let me know if you get the answers.:) – user978112 Jul 09 '15 at 09:11
1 Answers
2
The easiest thing to do is to calculate the difference between pi_a
and pi_b
, where:
pi_a = Ha * ei
pi_b = Hb * ei
Ha
and Hb
are the homography matrix and ei
are basis vectors

MajorTom
- 327
- 2
- 5
-
-
for a 3 dimensions matrix H, e0 = (1, 0, 0), e1 = (0, 1, 0), e2 = (0, 0, 1). – MajorTom Nov 11 '21 at 14:01
-
@MajorTom calculate the difference and what? Should it be close to 0? I mean should `p0_a - p0_b`, `p1_a - p1_b` and `p2_a - p2_b` be minimal ? – user0221441 Nov 19 '21 at 20:00
-
If `Ha` and `Hb` describe (nearly) the same transformation then `p0_a` must be close to `p0_b`, so yes, you want `p0_a - p0_b` to be close to zero. – MajorTom Nov 22 '21 at 08:38