Title: Dr. Scott Schaefer
1Least Squares Curves, Rational Representations,
Splines and Continuity
2Degree Reduction
- Given a set of coefficients for a Bezier curve
of degree n1, find the best set of coefficients
of a Bezier curve of degree n that
approximate that curve
3Degree Reduction
4Degree Reduction
5Degree Reduction
6Degree Reduction
7Degree Reduction
8Degree Reduction
- Problem end-points are not interpolated
9Least Squares Optimization
10Least Squares Optimization
11Least Squares Optimization
12Least Squares Optimization
13Least Squares Optimization
14Least Squares Optimization
15The PseudoInverse
- What happens when isnt invertible?
16The PseudoInverse
- What happens when isnt invertible?
17The PseudoInverse
- What happens when isnt invertible?
18The PseudoInverse
- What happens when isnt invertible?
19The PseudoInverse
- What happens when isnt invertible?
20The PseudoInverse
- What happens when isnt invertible?
21The PseudoInverse
- What happens when isnt invertible?
22The PseudoInverse
- What happens when isnt invertible?
23The PseudoInverse
- What happens when isnt invertible?
24The PseudoInverse
- What happens when isnt invertible?
25The PseudoInverse
- What happens when isnt invertible?
26The PseudoInverse
- What happens when isnt invertible?
27The PseudoInverse
- What happens when isnt invertible?
28The PseudoInverse
- What happens when isnt invertible?
29Constrained Least Squares Optimization
30Constrained Least Squares Optimization
Solution
Constraint Space
Error Function F(x)
31Constrained Least Squares Optimization
32Constrained Least Squares Optimization
33Constrained Least Squares Optimization
34Constrained Least Squares Optimization
35Constrained Least Squares Optimization
36Least Squares Curves
37Least Squares Curves
38Least Squares Curves
39Least Squares Curves
40Degree Reduction
- Problem end-points are not interpolated
41Degree Reduction
42Degree Reduction
43Rational Curves
- Curves defined in a higher dimensional space that
are projected down
44Rational Curves
- Curves defined in a higher dimensional space that
are projected down
45Rational Curves
- Curves defined in a higher dimensional space that
are projected down
46Rational Curves
- Curves defined in a higher dimensional space that
are projected down
47Why Rational Curves?
48Why Rational Curves?
49Why Rational Curves?
50Why Rational Curves?
51Derivatives of Rational Curves
52Derivatives of Rational Curves
53Derivatives of Rational Curves
54Derivatives of Rational Curves
55Splines and Continuity
56Splines and Continuity
57Splines and Continuity
58Splines and Continuity
59Splines and Continuity
60Splines and Continuity
- Assume two Bezier curves with control points
p0,,pn and q0,,qm
61Splines and Continuity
- Assume two Bezier curves with control points
p0,,pn and q0,,qm - C0 pnq0
62Splines and Continuity
- Assume two Bezier curves with control points
p0,,pn and q0,,qm - C0 pnq0
- C1 n(pn-pn-1)m(q1-q0)
63Splines and Continuity
- Assume two Bezier curves with control points
p0,,pn and q0,,qm - C0 pnq0
- C1 n(pn-pn-1)m(q1-q0)
- C2 n(n-1)(pn-2pn-1pn-2)m(m-1)(q0-2q1q2)
64Splines and Continuity
- Geometric Continuity
- A curve is Gk if there exists a reparametrization
such that the curve is Ck
65Splines and Continuity
- Geometric Continuity
- A curve is Gk if there exists a reparametrization
such that the curve is Ck
66Splines and Continuity
- Geometric Continuity
- A curve is Gk if there exists a reparametrization
such that the curve is Ck
67Problems with Bezier Curves
- More control points means higher degree
- Moving one control point affects the entire curve
68Problems with Bezier Curves
- More control points means higher degree
- Moving one control point affects the entire curve
69Problems with Bezier Curves
- More control points means higher degree
- Moving one control point affects the entire curve
Solution Use lots of Bezier curves and maintain
Ck continuity!!!
70Problems with Bezier Curves
- More control points means higher degree
- Moving one control point affects the entire curve
Solution Use lots of Bezier curves and maintain
Ck continuity!!!
Difficult to keep track of all the constraints. ?
71B-spline Curves
- Not a single polynomial, but lots of polynomials
that meet together smoothly - Local control
72B-spline Curves
- Not a single polynomial, but lots of polynomials
that meet together smoothly - Local control