Interpolation Demonstration Tool

Segment A Segment B Segment C
Your browser does not support the HTML5 canvas tag.
Compute
Segment A:   y= x2 + x + (0.0 ≤ x ≤ 1.0)
Segment B:   y= x3 +   x2 +   x +   (0.0 ≤ x ≤ 1.0)
Segment C:   y= x2 + x + (0.0 ≤ x ≤ 1.0)

This tool demonstrates cubic interpolation of a one-dimensional signal using a Catmull-Rom Spline.

Instructions:

Note that interpolating across the center segment depends on the values of all four points. In general, any interior segment requires knowlege of the surrounding four points, while interpolating across the beginning or end segment only requires knowlege of three points.

For details, and to find how to solve for the coefficients given the sample values, see the Main Paper.

 


Comments and error reports may be sent to the following address. We may post comments of general interest. Be sure to identify the page you are commenting on.

Email address as an image to prevent spamming.