Maude's Method

 An early curve drawing method was proposed by Maude in 1973.  The reference is:

A.D. Maude, "Interpolation - mainly for graph plotters", Computer Journal, 16, 64-65.

This is a rather unusual paper.  It has no references and so it is hard to understand the historical context of the work.  

The normal parabolic blending, as done in the cubic Bessel method, is a linear blending of the two interpolating quadratics centred at the ends of each interval.  Maude suggests a modification in which the linear blending is replaced by a blending involving cubic polynomials.  Specifically, the curve, F, in the interval between X1 and X2 is defined as:

    F(X)  = W(t)*Q1 + (1-W(t)) * Q2

where Q1 and Q2 are the two interpolating quadratics and W(t) is defined as:

    W(t) = 1 - 3*t² + 2t³, where t = (X - X1) / (X2 - X1)

This is as opposed to W(t) = t for the cubic Bessel method. Maude argues that it is useful to have a weighting function that has zero derivative at the end-points of the interval.  This is true for Maude's method, but not for the cubic Bessel.  The weighting function W(t) is simply a cubic Hermite interpolant, with W(0) = 1, W(1) = 0, W'(0) = 0 and W'(1) = 0.  

The function W(t) has an S-shape over [0,1] as shown below:


So we can see that the transition is smoothed out at the end-points, as compared with the linear blending of the osculatory method.  Presumably it was to get smooth behaviour at the datapoints that led Maude to this method.

I had never explored how Maude's method compared with the cubic Bessel method, nor indeed with the many other methods discussed in this blog.  So I added this method to my 'collection' and here are the results on some of the datasets.  I shall simply create these as PNG files as it is so much easier to include in a post.

Here is the result on the Peak dataset:


The result is clearly very similar to the osculatory method, and indeed the other non-shape-preserving methods such as Ellis-McLain.  See the earlier posts in this blog.  

Similarly on the Matlab2 dataset we get the following, very similar to the osculatory method.



My IMA paper hints at an extension of Maude's method to give 2nd derivative continuity though I could find no mention of it in his paper.  However elsewhere in the literature I find references to 'smoothstep' - seemingly used in the animation community to avoid sharp discontinuities.  This replaces Maude's cubic weighting function with the following quintic:

    W(t) = 1 - 10*t³ + 15*t⁴ - 6*t⁵

Here is the result of the quintic weighting function on the Peak dataset:



Again there is very little difference between this method and the osculatory method.


Comments

Popular posts from this blog

Piecewise Linear Interpolation of Cubic Polynomial

Wiggins Methods

Curve Drawing Over the Years