Spline interpolation degree question

  • #1
18
1
Hi,

I working on code that does image tracking with missing pixels, but I noticed that higher ordered spline interpolation is unstable. Found through trial and error that the best result is degree 3, picture related. I always thought that spline interpolation does not display behaviours shown in the picture because they are conducted piece by piece over the data set. Is there a numerical explanation for this behaviour?

P.S interpolation done in python with scipy library
 

Attachments

  • BSpline4079_28.png
    BSpline4079_28.png
    15.3 KB · Views: 441
Mathematics news on Phys.org
  • #2
If the distances between your data points differ by large factors I'm not surprised that high order splines do strange things. It is the same behavior you see outside the interpolation range (as extrapolation).
 

Suggested for: Spline interpolation degree question

Replies
3
Views
177
Replies
2
Views
7K
Replies
1
Views
560
Replies
3
Views
162
Replies
5
Views
1K
Replies
3
Views
704
Replies
6
Views
513
Replies
34
Views
2K
Replies
6
Views
836
Back
Top