In geometry, the Minkowski sum (also known as dilation) of two sets A and B in Euclidean space is the result of adding every element of A to every element of B, i.e. the set
Contents |
For example, if we have two 2-simplices (triangles), with points represented by
and
then the Minkowski sum is
For Minkowski addition, the zero set, {0}, containing only the zero vector, 0, has special importance: For every non-empty subset, S, of a vector space
in algebraic terminology, the zero set, {0}, is the identity element of Minkowski addition (on the collection of non-empty sets).[1]
In a real vector space, a non-empty set Q is defined to be convex if, for each pair of its points, every point on the line segment that joins them is a subset of Q. For example, a solid disk, ●, is convex but a circle, ○, is not, because it does not contain a line segment joining its points, ∅; the non-convex set of three integers, {0, 1, 2}, is contained in the interval, [0, 2], which is convex. For example, a solid cube is convex; however, anything that is hollow or dented, for example, a crescent shape, is non-convex. The empty set is convex, either by definition[2] or vacuously, depending on the author.
More formally, a set, Q, is convex if, for all points v0 and v1 in Q and for every real number λ in the unit interval, [0, 1], the point
is a member of Q.
By mathematical induction, a set, Q, is convex if and only if every convex combination of members of Q also belongs to Q. By definition, a convex combination of an indexed subset {v0, v1, …, vD} of a vector space is any weighted average, λ0v0 + λ1v1 + … + λDvD, for some indexed set of non-negative real numbers, {λd}, satisfying the equation λ0 + λ1 + … + λD = 1.[3]
The definition of a convex set implies that the intersection of two convex sets is a convex set. More generally, the intersection of a family of convex sets is a convex set. In particular, the intersection of two disjoint sets is the empty set, which is convex.[2]
Minkowski addition behaves well with respect to the operation of taking convex hulls, as shown by the following proposition:
This result holds more generally for each finite collection of non-empty sets
In mathematical terminology, the operations of Minkowski summation and of forming convex hulls are commuting operations.[4][5]
There is also a notion of the essential Minkowski sum +e of two subsets of Euclidean space. Note that the usual Minkowski sum can be written as
Thus, the essential Minkowski sum is defined by
where μ denotes n-dimensional Lebesgue measure. The reason for the term "essential" is the following property of indicator functions: while
it can be seen that
where "ess sup" denotes the essential supremum.
Minkowski addition plays a central role in mathematical morphology. It arises in the brush-and-stroke paradigm of 2D computer graphics (with various uses, notably by Donald E. Knuth in Metafont), and as the solid sweep operation of 3D computer graphics.
Minkowski sums are used in motion planning of an object among obstacles. They are used for the computation of the configuration space, which is the set of all admissible positions of the object. In the simple model of translational motion of an object in the plane, where the position of an object may be uniquely specified by the position of a fixed point of this object, the configuration space are the Minkowski sum of the set of obstacles and the movable object placed at the origin and rotated 180 degrees.
In numerical control machining, the programming of the NC tool exploits the fact that the Minkowski sum of the cutting piece with its trajectory gives the shape of the cut in the material.
For two convex polygons P and Q in the plane with m and n vertices, their Minkowski sum is a convex polygon with at most m + n vertices and may be computed in time O (m + n) by a very simple procedure, which may be informally described as follows. Assume that the edges of a polygon are given and the direction, say, counterclockwise, along the polygon boundary. Then it is easily seen that these edges of the convex polygon are ordered by polar angle. Let us merge the ordered sequences of the directed edges from P and Q into a single ordered sequence S. Imagine that these edges are solid arrows which can be moved freely while keeping them parallel to their original direction. Assemble these arrows in the order of the sequence S by attaching the tail of the next arrow to the head of the previous arrow. It turns out that the resulting polygonal chain will in fact be a convex polygon which is the Minkowski sum of P and Q.
If one polygon is convex and another one is not, the complexity of their Minkowski sum is O(nm). If both of them are nonconvex, their Minkowski sum complexity is O((mn)2).