Homography
From Wikipedia, the free encyclopedia
Homography is a concept in the mathematical science of geometry. It is defined as a relation between two figures, such that any given point in one figure corresponds to one and only one point in the other, and vice versa.
Contents |
[edit] Computer Vision Applications
In the field of computer vision, a homography is defined in 2 dimensional space as a mapping between a point on a ground plane as seen from one camera, to the same point on the ground plane as seen from a second camera. This has many practical applications, most notably it provides a method for compositing 2D or 3D objects into an image or video with the correct pose. The homography matrix is sometimes known as a homograph, a term which has a different meaning in linguistics.
[edit] 3D plane to plane equation
We have two cameras a and b, looking at points Pi in a plane.
Passing the projections of Pi from bpi in b to a point api in a:
where Hba is
R is the rotation matrix by which b is rotated in relation to a; t is the translation vector from a to b; n and d are the normal vector of the plane and the distance to the plane respectively.
Ka and Kb are the cameras' intrinsic parameter matrices.
The figure shows camera b looking at the plane at distance d.
[edit] Mathematical definition
Given
Then
and
where
[edit] See also
[edit] External links
- M. Lourakis' homest is a GPL C/C++ library for robust, non-linear (based on the Levenberg-Marquardt algorithm) homography estimation from matched point pairs.
- Computing the plane to plane homography
- How to compute a homography
- MATLAB Functions for Multiple View Geometry Matlab functions for calculating a homography and the fundamental matrix