Given m+1 knots ti with
a B-spline of degree n is a parametric curve
composed of basis B-splines of degree n
The Pi are called control points or de Boor points. A polygon can be constructed by connecting the de Boor points with lines, starting with P0 and finishing with Pm. This polygon is called the de Boor polygon.
The m-n basis B-splines of degree n can be defined using the Cox-de Boor recursion formula
When the knots are equidistant we say the B-spline is uniform otherwise we call it non-uniform.
When the B-spline is uniform, the basis B-splines for a given degree n are just shifted copies of each other. An alternative non-recursive definition for the m-n basis B-splines is
with
and
where
is the truncated power function.
When the number of knots is the same as the degree, the B-Spline degenerates into a Bézier curve. The shape of the basis functions is determined by the position of the knots. Scaling or translating the knot vector does not alter the basis functions.
The spline is contained in the convex hull of its control points.
A basis B-spline of degree n
The constant B-spline is the most simple spline. It is defined on only one knot span and is not even continuous on the knots. It is a just indicator function for the different knot spans.
The linear B-spline is defined on two consecutive knot spans and is continuous on the knots, but not differentiable.
Put in matrix-form, it is:
A B-spline formulation for a single segment can be written as:
where Si is the ith B-spline segment and P is the set of control points, segment i and k is the local control point index. A set of control points would be where the is weight, pulling the curve towards control point as it increases or moving the curve away as it decreases.
An entire set of segments, m-2 curves () defined by m+1 control points (), as one B-spline in t would be defined as:
where i is the control point number and t is a global parameter giving knot values. This formulation expresses a B-spline curve as a linear combination of B-spline basis functions, hence the name.
There are two types of B-spline - uniform and non-uniform. A non-uniform B-spline is a curve where the intervals between successive control points is not, or not necessarily, equal (the knot vector of interior knot spans are not equal). A common form is where intervals are successively reduced to zero, interpolating control points.
B-spline křivka | Spline#B-Splines | B-spline | Krzywa B-sklejana | B样条
This article is licensed under the GNU Free Documentation License.
It uses material from the
"B-spline".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world