Curvature of Catmullrom spline

  • Thread starter Thread starter gingaz
  • Start date Start date
  • Tags Tags
    Curvature
AI Thread Summary
The discussion centers on the challenges of calculating curvature using Catmull-Rom splines, which are C1 continuous but not C2 continuous, leading to incorrect curvature values at certain points. The curvature formula relies on the second derivative, which is not continuous in Catmull-Rom splines, raising concerns about their reliability for this purpose. Participants suggest considering alternative spline methods, such as B-splines, which maintain continuity of the second derivative at knots. The original poster is exploring whether to stick with Catmull-Rom or switch to NURBS or B-splines for more accurate curvature calculations. Ultimately, the choice of spline affects the accuracy of curvature computations in the given data set.
gingaz
Messages
1
Reaction score
0
Hello guys!

I'm stuck with this for a 4th day now..

I have a set of data and for every data point I want to calculate a curvature. In order to do that I use Catmullrom spline to interpolate points and get derivatives f' and f". Curvature is defined as y"/ (1+y'^2)^3/2.

However, at some points calculated curvature is incorrect.It is known, that Catmullrom is C1 continuous, so f" is NOT continuous.
I have read somewhere, that f' means slope and f" - curvature.

My question would be: for curvature calculations, can I rely on Catmullrom spline if it is only C1 continuous (not C2)?
Or should i use NURBS? Any easier approach?

Thank you very much!

Ginga
 
Last edited:
Mathematics news on Phys.org
Does http://tom.cs.byu.edu/~455/bs.pdf help?
 
Last edited by a moderator:
Probably not. B-spline are piecewise cubic and the second derivative is always continuous at knots, unlike Catmullrom splines.
 
HallsofIvy said:
Probably not. B-spline are piecewise cubic and the second derivative is always continuous at knots, unlike Catmullrom splines.
The OP appeared to be open to the possibility of using different splines, so I was suggesting B-splines.
 
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Back
Top