Reputation: 21
I am trying to perform camera homography between two different cameras. I have the camera extrinsic and intrinsic parameters shared by the factory between the pair of cameras. I apply the camera homography shared on the opencv page (opencv homography tutorial) and verify the output warped image2 w.r.t image1 and they both are not aligned . I have few questions regarding the same.
Thanks, Ravi
Upvotes: 1
Views: 1280
Reputation: 445
Yes, you can. In the step where you convert your Euclidean Homograpy (Hab) to a Projective Homography(H'ab):
H'ab = KHabK-1
Use the intrinsic matrices of each camera instead of the same one on both sides: Ka and Kb:
H'ab = KaHabKb-1
Upvotes: 1