Spline interpolation degree question

  • #1
18
1

Main Question or Discussion Point

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

Answers and Replies

  • #2
34,053
9,912
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).
 

Related Threads on Spline interpolation degree question

  • Last Post
2
Replies
35
Views
108K
  • Last Post
Replies
2
Views
8K
  • Last Post
Replies
2
Views
2K
Replies
2
Views
1K
  • Last Post
Replies
1
Views
642
Replies
3
Views
2K
Replies
1
Views
2K
  • Last Post
Replies
3
Views
2K
  • Last Post
Replies
2
Views
810
  • Last Post
Replies
3
Views
2K
Top