Closed taec1227 closed 4 years ago
Thanks for your reply, and there is another function named 'evaluateDeBoor' which confused me a lot. I know that the deBoor is the recursion of the b-spline basis, however, the 'evaluateDeBoor' seems to use control points to do a recursion, I didn't find any theory to support it, do I misunderstand any useful formulation?
What you describe is called Cox-de Boor recursion formula, which evaluates the basis function explicitly. de Boor's algorithm is different. It is based on an equivalent recursive formula that does not evaluate the basis function.
Hi, I'm looking at the bspline optimization part in your project, and have a question about the calcSmoothnessCost function.
In the paper, the cost is formulated as:
However, from the code, it shows like jerk = q[i + 3] - 3 q[i + 2] + 3 q[i + 1] - q[i]; cost += jerk.squaredNorm();