Computing a homography between two images

The first recipe of this chapter showed you how to compute the fundamental matrix of an image pair from a set of matches. In projective geometry, another very useful mathematical entity also exists. This one can be computed from multi-view imagery and, as we will see, is a matrix with special properties.

Getting ready

Again, let's consider the projective relation between a 3D point and its image on a camera, which we presented in the introduction section of this chapter. Basically, we learned that this equation relates a 3D point to its image using the intrinsic properties of the camera and the position of that camera (specified with a rotation and a translation component). If we now carefully examine this ...

Get OpenCV 3 Computer Vision Application Programming Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.