
In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, homogeneous coordinates or projective coordinates, introduced by
August Ferdinand Möbius
August Ferdinand Möbius (, ; ; 17 November 1790 – 26 September 1868) was a German mathematician and theoretical astronomer.
Life and education
Möbius was born in Schulpforta, Electorate of Saxony, and was descended on his mothe ...
in his 1827 work , are a
system of coordinates used in
projective geometry
In mathematics, projective geometry is the study of geometric properties that are invariant with respect to projective transformations. This means that, compared to elementary Euclidean geometry, projective geometry has a different setting (''p ...
, just as
Cartesian coordinates
In geometry, a Cartesian coordinate system (, ) in a plane is a coordinate system that specifies each point uniquely by a pair of real numbers called ''coordinates'', which are the signed distances to the point from two fixed perpendicular o ...
are used in
Euclidean geometry
Euclidean geometry is a mathematical system attributed to ancient Greek mathematics, Greek mathematician Euclid, which he described in his textbook on geometry, ''Euclid's Elements, Elements''. Euclid's approach consists in assuming a small set ...
. They have the advantage that the coordinates of points, including
points at infinity, can be represented using finite coordinates. Formulas involving homogeneous coordinates are often simpler and more symmetric than their Cartesian counterparts. Homogeneous coordinates have a range of applications, including
computer graphics
Computer graphics deals with generating images and art with the aid of computers. Computer graphics is a core technology in digital photography, film, video games, digital art, cell phone and computer displays, and many specialized applications. ...
and 3D
computer vision
Computer vision tasks include methods for image sensor, acquiring, Image processing, processing, Image analysis, analyzing, and understanding digital images, and extraction of high-dimensional data from the real world in order to produce numerical ...
, where they allow
affine transformation
In Euclidean geometry, an affine transformation or affinity (from the Latin, '' affinis'', "connected with") is a geometric transformation that preserves lines and parallelism, but not necessarily Euclidean distances and angles.
More general ...
s and, in general,
projective transformations to be easily represented by a
matrix
Matrix (: matrices or matrixes) or MATRIX may refer to:
Science and mathematics
* Matrix (mathematics), a rectangular array of numbers, symbols or expressions
* Matrix (logic), part of a formula in prenex normal form
* Matrix (biology), the m ...
. They are also used in fundamental
elliptic curve cryptography
Elliptic-curve cryptography (ECC) is an approach to public-key cryptography based on the algebraic structure of elliptic curves over finite fields. ECC allows smaller keys to provide equivalent security, compared to cryptosystems based on modula ...
algorithms.
If homogeneous coordinates of a point are multiplied by a non-zero
scalar then the resulting coordinates represent the same point. Since homogeneous coordinates are also given to points at infinity, the number of coordinates required to allow this extension is one more than the dimension of the
projective space being considered. For example, two homogeneous coordinates are required to specify a point on the projective line and three homogeneous coordinates are required to specify a point in the projective plane.
Introduction
The
real projective plane can be thought of as the
Euclidean plane
In mathematics, a Euclidean plane is a Euclidean space of Two-dimensional space, dimension two, denoted \textbf^2 or \mathbb^2. It is a geometric space in which two real numbers are required to determine the position (geometry), position of eac ...
with additional points added, which are called
points at infinity, and are considered to lie on a new line, the
line at infinity. There is a point at infinity corresponding to each direction (numerically given by the slope of a line), informally defined as the limit of a point that moves in that direction away from the origin. Parallel lines in the Euclidean plane are said to intersect at a point at infinity corresponding to their common direction. Given a point on the Euclidean plane, for any non-zero real number
, the triple is called a set of homogeneous coordinates for the point. By this definition, multiplying the three homogeneous coordinates by a common, non-zero factor gives a new set of homogeneous coordinates for the same point. In particular, is such a system of homogeneous coordinates for the point .
For example, the Cartesian point can be represented in homogeneous coordinates as or . The original Cartesian coordinates are recovered by dividing the first two positions by the third. Thus unlike Cartesian coordinates, a single point can be represented by infinitely many homogeneous coordinates.
The equation of a line through the origin may be written where
and
are not both
. In
parametric form this can be written
. Let
, so the coordinates of a point on the line may be written . In homogeneous coordinates this becomes . In the limit, as
approaches infinity, in other words, as the point moves away from the origin,
approaches
and the homogeneous coordinates of the point become . Thus we define as the homogeneous coordinates of the point at infinity corresponding to the direction of the line . As any line of the Euclidean plane is parallel to a line passing through the origin, and since parallel lines have the same point at infinity, the infinite point on every line of the Euclidean plane has been given homogeneous coordinates.
To summarize:
*Any point in the projective plane is represented by a triple , called 'homogeneous coordinates' or 'projective coordinates' of the point, where
,
and
are not all
.
*The point represented by a given set of homogeneous coordinates is unchanged if the coordinates are multiplied by a common factor.
*Conversely, two sets of homogeneous coordinates represent the same point if and only if one is obtained from the other by multiplying all the coordinates by the same non-zero constant.
*When
is not
the point represented is the point in the Euclidean plane.
*When
is
the point represented is a point at infinity.
The triple is omitted and does not represent any point. The
origin of the Euclidean plane is represented by .
Notation
Some authors use different notations for homogeneous coordinates which help distinguish them from Cartesian coordinates. The use of colons instead of commas, for example
instead of , emphasizes that the coordinates are to be considered ratios. Square brackets, as in emphasize that multiple sets of coordinates are associated with a single point. Some authors use a combination of colons and square brackets, as in