Original Post
Hello everyone,
I am currently using a Catmull Rom spline to interpolate intensities in an image using the matrix described here:
http://en.wikipedia.org/wiki/Cubic_Hermite_spline#Interpolation_on_the_unit_interval_without_exact_derivatives
So, I am looking at the 16 values in the neighbourhood and applying the shown matrix and calculating the interpolated intensity and this works quite well.
Now, I also need to calculate the derivative of this spline.
Is it then simply, taking the derivatives of that kernel, which would be:
0.5 *
|4x - 3x^2 - 1|
|9x^2 - 10x |
|8x - 9x^2 + 1|
|3x^2 - 2x |
Thanks,
xarg
I am currently using a Catmull Rom spline to interpolate intensities in an image using the matrix described here:
http://en.wikipedia.org/wiki/Cubic_Hermite_spline#Interpolation_on_the_unit_interval_without_exact_derivatives
So, I am looking at the 16 values in the neighbourhood and applying the shown matrix and calculating the interpolated intensity and this works quite well.
Now, I also need to calculate the derivative of this spline.
Is it then simply, taking the derivatives of that kernel, which would be:
0.5 *
|4x - 3x^2 - 1|
|9x^2 - 10x |
|8x - 9x^2 + 1|
|3x^2 - 2x |
Thanks,
xarg