number of pixels) but can simply recompute the curve using the moved “control
data.”
No real constraints were placed on the basis functions above. However, in later
sections on Bézier curves and B-splines we shall see the usefulness of the following
properties:
(1) The functions should be nonnegative.
(2) The functions corresponding to point data should sum to 1.
(3) The functions should have compact support.
Properties (1) and (2) would imply that the curve lies in the convex hull of its control
points and property (3) essentially means that if a control point is moved only the
curve near that point changes. Properties (1)–(3) basically mean that the functions
form a partition of unity.
11.2.3 Spline Interpolation
The interpolation problems described in the last section and the functions that solve
them can be generalized.
Definition. A spline of degree m and order m + 1 is a function S : [a,b] Æ R for which
there exist real numbers x
i
, i = 0,..., n, with a = x
0
£ x
1
£ ...£ x
n
= b, so that
(1) S is a polynomial of degree £ m on [x
i
,x
i+1
], for i = 0,..., n - 1, and
(2) S is a C
m-1
function.
The x
i
are called knots and (x
0
,x
1
,...,x
n
) is called the knot vector of length n + 1 for
the spline. The intervals [x
i
,x
i+1
] are called spans. If a knot x
i
satisfies x
i-1
< x
i
= x
i+1
=
...= x
i+d-1
< x
i+d
(x
-1
=-•and x
n+1
=+•), then x
i
is said to be a knot of multiplicity d.
S is called a linear, quadratic, or cubic spline if it has degree 1, 2, or 3, respectively.
Note. One allows a =-•and/or b =+•in the definition of a spline. Only finite x
i
are called knots, however.
If one had to list the key terms that should always be intimately associated with
the concept of spline they would be “piecewise polynomial function,” “knots,” and
“differentiability.” Note that splines are more than just piecewise polynomials because
they satisfy a global differentiability condition. The piecewise Hermite interpolation
function described in the last section was not smooth enough to be called a cubic
spline.
The physical definition of a spline. A spline is a thin metal or wooden strip that
is bent elastically so as to pass through certain points of constraint.
Physical splines have been used for ages. For example, in the construction of ships’
hulls, the hull was modeled at full or nearly full size on a wooden floor in the “mold’s
loft.” This task, called “lofting,” was carried out by skilled “loftsmen” using such phys-
ical splines. When one tries to determine a mathematical description of the curves
generated by physical splines, one discovers something very interesting. Physics tells
11.2 Early Historical Developments 387