Download presentation
Presentation is loading. Please wait.
1
Lecture 22: B Spline Curve Properties
CS552: Computer Graphics Lecture 22: B Spline Curve Properties
2
Recap B Spline Degree Knots Local control B Spline Basis functions
Interval Derivative
3
Objective After completing this lecture, students will be able to
Derive mathematical expressions for different properties of the B-Spline curve Solve problems related to B Splines
4
B spline Curves The user supplies: the degree p, n+1 control points, and m+1 knot vectors Write the curve as: The functions Nip are the B-Spline basis functions π π 0 π‘ = 1, π‘ π β€π‘β€ π‘ π+1 ππ‘βπππ€ππ π Cox-de Boor recursion formula π π π π‘ = π‘β π‘ π π‘ π+π β π‘ π π π πβ1 π‘ + π‘ π+π+1 βπ‘ π‘ π+π+1 β π‘ π π π+1 πβ1 π‘
5
Derivatives of B Spline Curve
π ππ‘ π π‘ = π=0 π π π π π π (π‘)β² = π π‘ π+π β π‘ π π π πβ1 π‘ β π π‘ π+π+1 β π‘ π+1 π π+1 πβ1 π‘ The derivative of each of these basis functions can be computed as follows: Plugging these derivatives back π ππ‘ π π‘ = π=0 πβ1 π π+1 πβ1 π‘ π π π€βπππ, π π = π π‘ π+π+1 β π‘ π+1 π π+1 β π π Derivative of a B-spline curve is another B-spline curve of degree π β π on the original knot vector with a new set of π control points, πΈ π , πΈ π ,β¦, πΈ πβπ
6
Properties of B-Spline
N i p (π‘) is a degreeΒ πΒ polynomial inΒ π‘ Non-negativity: For allΒ π, πΒ andΒ π‘,Β π π π (π‘) is non-negative Local Support:Β π π π (π‘) is a non-zero polynomial on π‘π,π‘π+π+1 On any span π‘π,π‘π+π+1 ,Β at mostΒ π+π degree πΒ basis functions are non-zero π πβπ π (π‘) , π πβπ+1 π (π‘), β¦, π π π (π‘) Partition of Unity The sum of all non-zero degreeΒ π basis functions on span [π‘π, π‘π+π+1) is unity, i.e. π=0 π π πβπ π =1
7
Properties of B-Spline
m = n+p+1 Basis function π π π (π‘) is a composite curve of degree π polynomials with joining points at knots in [π‘π, π‘π+π+1 ) At a knot of multiplicity π, basis function π π π (π‘) is C pβπ continuous. Convex hull property
8
Impact of Multiple Knots
Significant impact on the computation of basis functionsΒ Counting properties Each knot of multiplicityΒ π reduces at mostΒ πβπ basis functions' non-zero domain.Β
9
Impact of Multiple Knots
At each internal knot of multiplicityΒ k, the number of non-zero basis functions is at mostΒ p - kΒ + 1, whereΒ pΒ is the degree of the basis functions.Β
10
B Spline Moving Control Points
Local control scheme p=4, n=12, m=17 Span [ π‘ 4 , π‘ 5 ) [ π‘ 5 , π‘ 6 ) [ π‘ 6 , π‘ 7 ) [ π‘ 7 , π‘ 8 ) [ π‘ 8 , π‘ 9 ) [ π‘ 9 , π‘ 10 ) [ π‘ 10 , π‘ 11 ) [ π‘ 11 , π‘ 12 ) [ π‘ 12 , π‘ 13 ) Segment 1 2 3 4 5 6 7 8 9
11
B-spline Curves: Knot insertion
Adding a new knot into the existing knot vectorΒ Without changing the shape of the curve. m = n + p + 1 Inserting a new knot causes a new control point to be added Some existing control points are removed and replaced with new ones by corner cutting.
12
Sub-division Follows exactly the same procedure for subdividing a BΓ©zier curve.
13
Thank you Next Lecture: Surface
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.