This section introduces homogeneous coordinates, a mathematical tool that proves very useful for discussing the problem of projective geometry as well as various formalisms addressed in different chapters of this book.
Homogeneous coordinates of a point on the plane
will be any ordered triplet
of real numbers such that
,
, and
.
Similarly, homogeneous coordinates of a point
will be a quadruplet of numbers
such that
and
,
, and
.
The point
expressed in homogeneous coordinates corresponds to the real point
(inhomogeneous):
Homogeneous coordinates have the following properties:
In homogeneous coordinates, there is a distinction between a vector () and a point (
), which is not the case with Euclidean coordinates. The set composed of all non-zero triplets/quadrupoles forms a two-dimensional/three-dimensional projective space.
Homogeneous coordinates allow for the representation of points at infinity and enable the expression of all geometric coordinate transformations used in computer vision in matrix form. The use of homogeneous coordinates is prevalent in computer graphics due to their ability to represent, just like in the Cartesian case, affine transformations through the use of matrices and also allows representing perspective projections with the same formalism.
Paolo medici