Skip to main content
Springer Nature - PMC COVID-19 Collection logoLink to Springer Nature - PMC COVID-19 Collection
. 2020 Jun 15;12138:124–140. doi: 10.1007/978-3-030-50417-5_10

Parameterizations and Lagrange Cubics for Fitting Multidimensional Data

Ryszard Kozera 15,16,17,, Lyle Noakes 16, Magdalena Wilkołazka 17,
Editors: Valeria V Krzhizhanovskaya8, Gábor Závodszky9, Michael H Lees10, Jack J Dongarra11, Peter M A Sloot12, Sérgio Brissos13, João Teixeira14
PMCID: PMC7302840

Abstract

This paper discusses the issue of interpolating data points in arbitrary Euclidean space with the aid of Lagrange cubics Inline graphic and exponential parameterization. The latter is commonly used to either fit the so-called reduced data Inline graphic for which the associated exact interpolation knots remain unknown or to model the trajectory of the curve Inline graphic passing through Inline graphic. The exponential parameterization governed by a single parameter Inline graphic replaces such discrete set of unavailable knots Inline graphic (Inline graphic - an internal clock) with some new values Inline graphic (Inline graphic - an external clock). In order to compare Inline graphic with Inline graphic the selection of some Inline graphic should be predetermined. For some applications and theoretical considerations the function Inline graphic needs to form an injective mapping (e.g. in length estimation of Inline graphic with any Inline graphic fitting Inline graphic). We formulate and prove two sufficient conditions yielding Inline graphic as injective for given Inline graphic and analyze their asymptotic character which forms an important question for Inline graphic getting sufficiently dense. The algebraic conditions established herein are also geometrically visualized in 3D plots with the aid of Mathematica. This work is supplemented with illustrative examples including numerical testing of the underpinning convergence rate in length estimation Inline graphic by Inline graphic (once Inline graphic). The reparameterization has potential ramifications in computer graphics and robot navigation for trajectory planning e.g. to construct a new curve Inline graphic controlled by the appropriate choice of interpolation knots and of mapping Inline graphic (and/or possibly Inline graphic).

Introduction

Assume that Inline graphic represents a smooth regular curve (i.e. Inline graphic) of class Inline graphic (usually with Inline graphic) defined over a compact interval Inline graphic (with Inline graphic). Suppose that Inline graphic interpolation points Inline graphic (forming the so-called reduced data Inline graphic) belong to an arbitrary Euclidean space Inline graphic. Here Inline graphic is not given (here Inline graphic). We introduce now (see e.g. [1, 7, 12] or [19]) some preliminary notions (applicable for Inline graphic).

Definition 1.1

The interpolation knots Inline graphic are admissible if:

graphic file with name M40.gif 1

Definition 1.2

The interpolation knots Inline graphic are more-or-less uniform if there exist constants Inline graphic such that:

graphic file with name M43.gif 2

for all Inline graphic and any Inline graphic. Alternatively, more-or-less uniformity amounts to the existence of some constant Inline graphic such that Inline graphic for all Inline graphic and arbitrary Inline graphic. Lastly, the subfamily Inline graphic of more-or-less uniform samplings represents a set of Inline graphic samplings if each of its representatives satisfies Inline graphic, for some Inline graphic fixed.

Having selected the fitting scheme Inline graphic of Inline graphic the unknown knots Inline graphic for the interpolant Inline graphic must somehow be replaced by estimates Inline graphic subject to Inline graphic. We use here the so-called exponential parameterization (see e.g. [17]) which depends on a single parameter Inline graphic according to:

graphic file with name M61.gif 3

for Inline graphic. It is also assumed here that Inline graphic so that the extra condition Inline graphic is preserved as stipulated generically while fitting reduced data Inline graphic. The case of Inline graphic in (3) gives uniform knots Inline graphic. Evidently the latter does not reflect the geometry of Inline graphic. On the other hand, Inline graphic yields the so-called cumulative chord parameterization which coincides with Euclidean distances between consecutive points Inline graphic and Inline graphic and as such it refers to the spread of Inline graphic. More information on the above topic and related issues can be found e.g. in [3, 5, 16, 17] or [18].

The selection of the specific interpolant Inline graphic (with Inline graphic) together with some knots’ estimates Inline graphic raises an important question concerning the convergence rate (if any) in approximating Inline graphic with Inline graphic (or its length) once Inline graphic. Recall first (see [1, 12] or [19]):

Definition 1.3

Consider a family Inline graphic of functions Inline graphic. We say that Inline graphic is of order Inline graphic (denoted as Inline graphic), if there is a constant Inline graphic such that, for some Inline graphic the inequality Inline graphic holds for all Inline graphic, uniformly over I.

For a given Inline graphic fitting dense data Inline graphic based on Inline graphic (and some a priori selected mapping Inline graphic) the natural question arises about the distance measurement Inline graphic tending to 0 (uniformly over I), while Inline graphic. Of course, by (1) proving Inline graphic not only guarantees the latter but also establishes lower bound on convergence speed (if Inline graphic). The coefficient Inline graphic appearing in Definition 1.3 is called the convergence rate in approximating Inline graphic by Inline graphic uniformly over [0, T]. If additionally such Inline graphic cannot be improved (once Inline graphic and Inline graphic are given) then Inline graphic is sharp. The latter analogously extends to the length estimation (with Inline graphic), for which the scalar expression Inline graphic is to be considered.

For certain applications such as the analysis of the convergence rate in Inline graphic (see e.g. [2, 5] or [15]) the mapping Inline graphic should be a reparameterization of I into Inline graphic (i.e. Inline graphic). In other situations such as robot’s and drone path planning the extra trajectory looping of Inline graphic is sometimes needed (e.g. for traction line posts’ inspection while making circles by drone). Of course, in many other applications robot navigation requires trajectory planning with no loops whatsoever. In that context (as well as for length estimation) one of the conditions to exclude the local looping of Inline graphic is to require Inline graphic to be an injective function (see e.g. [13]).

From now on it is assumed that Inline graphic which represents a piecewise-Lagrange cubic Inline graphic (see e.g. [1]). More precisely, the interpolant Inline graphic is defined as a track-sum of Lagrange cubics Inline graphic with each Inline graphic satisfying Inline graphic, for Inline graphic. As already pointed out the unavailable knots Inline graphic are estimated with Inline graphic governed by exponential parameterization (3). For simplicity we suppose that Inline graphic, where Inline graphic. In a similar fashion, one selects here Inline graphic defined as a track-sum of Lagrange cubics Inline graphic mapping Inline graphic and fulfilling Inline graphic, for Inline graphic. Evidently if Inline graphic (as Inline graphic) then Inline graphic (here Inline graphic denotes the range of Inline graphic). On the other hand if Inline graphic is not injective we may also have Inline graphic. In order to construct the composition Inline graphic as a well-defined function, each domain of Inline graphic is here understood as naturally extendable from Inline graphic to Inline graphic. Such adjusted Lagrange piecewise-cubics denoted as Inline graphic satisfy Inline graphic. The following result holds (see e.g. [7, 9] or [19]):

Theorem 1.4

Assume Inline graphic be a regular curve in Inline graphic sampled admissibly (see (1)). For Inline graphic and Inline graphic in (3) each mapping Inline graphic is a Inline graphic reparameterization of Inline graphic into Inline graphic and we have (uniformly over [0, T]):

graphic file with name M149.gif 4

In the remaining cases of Inline graphic from (3) let Inline graphic be sampled more-or-less uniformly (see (2)). Then for each mapping Inline graphic combined with Inline graphic the following holds (uniformly over [0, T]):

graphic file with name M154.gif 5

Both (4) and (5) are sharp within the class of Inline graphic and within a given family of admitted samplings, assumed here as either (1) or (2), respectively. By the latter we understand the existence of at least one Inline graphic) and some admissible (or more-or-less uniform) sampling Inline graphic for which Inline graphic in (4) (or Inline graphic for Inline graphic in (5)) are sharp according to Definition 1.3 - see also [9] or [12]. Note that Inline graphic as a track-sum of Inline graphic defines a piecewise Inline graphic mapping of I into Inline graphic at least continuous at Inline graphic. If Inline graphic is a reparameterization (e.g. always holding asymptotically for Inline graphic) then Inline graphic. In particular for Inline graphic we also have Inline graphic - see [19]. In contrast, the injectivity of Inline graphic and length estimation for Inline graphic has not been so far examined.

In this paper we introduce two sufficient conditions enforcing each Inline graphic to be injective, for Inline graphic governing the exponential parameterization (3). These two conditions are represented by the inequalities (6) and (7). In the next step, Theorem 2.1 is established (the main result of this paper) to formulate several sufficient conditions enforcing (6) and (7) to hold asymptotically. Noticeably all derived conditions stipulating asymptotically the injectivity of Inline graphic are independent from Inline graphic and apply to any fixed Inline graphic and to any preselected Inline graphic-more-or-less-uniform samplings (i.e. to any Inline graphic fixed a priori). Additionally, all re-transformed algebraic constraints established here are visualized with the aid of 3D plots in Mathematica (see [22]). The conditions can also be exploited once the incomplete information about samplings is available such as a priori knowledge of the respective upper and lower bounds for each triples Inline graphic characterizing Inline graphic as specified in (8) - see also Remark 3.1. The examples illustrate Theorem 2.1 and the relevance of this work (see Example 1). The conjecture concerning the sharp convergence rate Inline graphic in length estimation Inline graphic (combined with (3) for all Inline graphic yielding Inline graphic) is tested numerically (see Example 2 and Remark 3.2).

Sufficient Conditions for Injectivity of Inline graphic

In this section we establish and discuss the asymptotic character (i.e. applicable for m sufficiently large) of two sufficient conditions enforcing Inline graphic to be a genuine reparameterization of Inline graphic into Inline graphic based on multidimensional reduced data Inline graphic.

Evidently the positivity of the quadratic Inline graphic over Inline graphic is e.g. guaranteed (for both sparse and dense data Inline graphic) provided if e.g. either (6) or (7) hold:

graphic file with name M194.gif 6
graphic file with name M195.gif 7

Noticeably, any admissible sampling (1) can be characterized as follows:

graphic file with name M196.gif 8

where Inline graphic. The main theoretical contribution of this paper reads as:

Theorem 2.1

Let Inline graphic be sampled Inline graphic-more-or-less uniformly (see Definition (1.2)) with knots Inline graphic represented by (8). For data Inline graphic combined with exponential parameterization (3) (with any fixed Inline graphic) the condition (6) yielding each Inline graphic as a reparameterization holds asymptotically, if the following three inequalities are satisfied for sufficiently large m:

graphic file with name M204.gif 9
graphic file with name M205.gif 10
graphic file with name M206.gif 11

with fixed Inline graphic, Inline graphic and Inline graphic but arbitrary small. Similarly, the condition (7) enforcing Inline graphic holds asymptotically if the following two inequalities are met for sufficiently large m:

graphic file with name M211.gif 12
graphic file with name M212.gif 13

where constants Inline graphic and Inline graphic are fixed and small.

Proof

Newton interpolation formula (see [1]) based on divided differences of Inline graphic yields over Inline graphic:

graphic file with name M217.gif

which for each Inline graphic renders Inline graphic

graphic file with name M220.gif 14

We recall now the proof of (18) (see [9] or [12]) since it is vital for further arguments. As Inline graphic is regular it can be assumed to be parameterized by arc-length rendering Inline graphic, for Inline graphic (see [2]). The latter due to Inline graphic results in Inline graphic over Inline graphic. The orthogonality of Inline graphic and Inline graphic nullifies certain terms in the expression (for Inline graphic with Inline graphic and any Inline graphic):

graphic file with name M232.gif 15

once Taylor expansion for Inline graphic is used:

graphic file with name M234.gif 16

Indeed, upon substituting (16) into (15) and exploiting Inline graphic one obtains:

graphic file with name M236.gif 17

For any admissible samplings the constants in the term Inline graphic depend on the third derivative of Inline graphic which is bounded over [0, T] as Inline graphic. Again Taylor Th. applied to the function Inline graphic at Inline graphic yields for all Inline graphic (with some fixed Inline graphic) the existence of some Inline graphic satisfying Inline graphic such that Inline graphic. For Inline graphic we exclude the singularity of Inline graphic at Inline graphic (with Inline graphic) which forces Inline graphic to be bounded over Inline graphic. Thus for Inline graphic we have Inline graphic - the constant standing along Inline graphic depends now on Inline graphic (which is fixed). Take now Inline graphic determined in (17) which is asymptotically small (for m large) due to the admissibility condition (1) and thus separated from Inline graphic. Hence the second-divided differences of Inline graphic satisfy (with Inline graphic):

graphic file with name M261.gif 18

Thus, by (8) and (18) one obtains for each Inline graphic and Inline graphic the following formula for the second divided differences of Inline graphic (needed also in (15)):

graphic file with name M265.gif 19

with Inline graphic, Inline graphic and Inline graphic. Furthermore still by (18) combined with Inline graphic (for Inline graphic) and telescoped Inline graphic the third-divided difference of Inline graphic is equal to Inline graphic

graphic file with name M274.gif 20

A similar argument leads to:

graphic file with name M275.gif 21

Hence by (20) and (21) (for Inline graphic) the third divided differences of Inline graphic (needed in (15)) read as:

graphic file with name M278.gif 22

Coupling again (20) and (21) with telescoped Inline graphic and Inline graphic reduces the fourth divided difference of Inline graphic into:

graphic file with name M282.gif

which ultimately yields Inline graphic

graphic file with name M284.gif 23

The proof of (23) relies on Inline graphic. The second step resorts to more-or-less uniformity (3) of admitted samplings Inline graphic for any Inline graphic (as Inline graphic). However, to keep all constants in Inline graphic from (23) as independent from each representative of (3) from now on we admit only Inline graphic-more-or-less uniform samplings for some fixed Inline graphic (see Definition 1.3). The latter permits to exploit the inequality Inline graphic to justify (23) with constants in Inline graphic depending on Inline graphic and Inline graphic (but not on samplings Inline graphic).

Recalling now that Inline graphic over Inline graphic, by (15) we have:

graphic file with name M299.gif 24

In the next steps both conditions (6) and (7) enforcing Inline graphic (for arbitrary m) are transformed into their asymptotic analogues applicable for sufficiently large m (i.e. for Inline graphic sufficiently dense). This will ultimately complete the proof of Theorem 2.1.

In doing so, both conditions (6) and (7) are reformulated into asymptotic counterparts expressed in terms of Inline graphic (see Theorem 2.1). To save space only the first inequality from (6) i.e. Inline graphic is fully addressed here (which automatically covers both (i) and (iv) - see (9) and (12)). The remaining more complicated cases (ii), (iii) and (v) (listed below) are supplemented with the final asymptotic formulas (10), (11) and (13). The proof of the latter shall be given in the full journal version of this paper.

(i) By (24) the first inequality Inline graphic from (6) amounts to Inline graphic which in turn by (23) holds subject to:

graphic file with name M305.gif 25

for Inline graphic. Asymptotically, for fixed Inline graphic the slowest term determining the sign of (25) accompanies Inline graphic and reads as (for all Inline graphic-more-or-less uniform samplings):

graphic file with name M310.gif

provided Inline graphic is not of any order Inline graphic with Inline graphic. A possible sufficient condition guaranteeing the latter is to require:

graphic file with name M314.gif 26

to hold for any fixed Inline graphic. Evidently (26) amounts to the first inequality (9) assumed to hold in Theorem 2.1 in order to enforce in turn asymptotically the first inequality in (6) (for any fixed Inline graphic).

(ii) A similar but longer argument shows that (upon combining (8), (15), (19), (22) and (23)) the asymptotic fulfillment of the second inequality from (6) i.e. Inline graphic is met subject to (10) satisfied for any fixed, but arbitrary small Inline graphic and sufficiently large m.

(iii) The third inequality Inline graphic determining (6) maps analogously into its asymptotic counterpart (11) assumed to be fulfilled for an arbitrary but fixed Inline graphic and m sufficiently large.

(iv) Clearly the proof of (9) yields a symmetric sufficient condition for Inline graphic (representing the first inequality in (7)) to hold asymptotically. The latter coincides with (12) stipulated to be satisfied by any fixed Inline graphic, subject to m getting large.

(v) The reformulation of Inline graphic from (7) into (13) (assumed to hold for any fixed Inline graphic and sufficiently large m) involves a more intricate treatment (it is omitted here).

The asymptotic conditions established in Theorem 2.1 in the form of specific inequalities depend (for each i) exclusively on triples Inline graphic and fixed Inline graphic (not on curve Inline graphic). Consequently, they can all be also visualized geometrically in 3D for each Inline graphic and Inline graphic as well as for any regular curve Inline graphic. Several examples with 3D plots are presented in Sect. 3 with the aid of Mathematica Package [22].

We note that all asymptotic conditions from Theorem 2.1 can be extended to their 2D analogues (with extra argument used establishing in fact a new theorem) which in turn can be visualized in more appealing 2D plots. Again it is omitted here as exceeding the scope of this paper.

Recall that uniform sampling, for which Inline graphic (i.e. where Inline graphic) combined with Inline graphic or Inline graphic with (1) both yield Inline graphic (see [9] and [19])). Noticeably, conditions (10), (11) and (13) are met for either Inline graphic or Inline graphic uniform and Inline graphic. In contrast none of (9) or (12) (participating in either (6) or (7)) holds for the above two eventualities. A possible remedy to incorporate these two special cases in adjusted asymptotic representations of either Inline graphic or Inline graphic is to apply the fourth-order Taylor expansion for Inline graphic - see (16). The analysis (left out here) yields a modified condition for Inline graphic (and thus for Inline graphic), this time hinging not only on triples Inline graphic, Inline graphic but also on Inline graphic curvature Inline graphic along Inline graphic (see [9] and [19]) - here Inline graphic as Inline graphic is a regular curve and as such can be assumed to be parameterized by arc-length (see [2]). The latter may not always be given in advance. Alternatively, one could rely on a priori imposed restrictions on curvatures of Inline graphic belonging to the prescribed family of admissible curves.

Experimentation and Testing

In this section first Theorem 2.1 is illustrated with some examples based on algebraic tests supported by 3D plots generated in Mathematica (see Subsect. 3.1). Next the convergence rate Inline graphic for Inline graphic is numerically investigated. A special attention is given to Inline graphic yielding Inline graphic as a piecewise Inline graphic reparameterization of [0, T] into Inline graphic (see Subsect. 3.2).

In doing so, in a preliminary step, for a given fixed Inline graphic two families of Inline graphic-more-or-less uniform samplings (27) and (29) are introduced. Next the fulfillment of the asymptotic sufficient conditions enforcing the injectivity of Inline graphic (see Theorem 2.1) is examined for various Inline graphic and both samplings (27) and (29). In particular, the inequalities (9), (10), (11), (denoted in this section by (6)Inline graphic) and (12), (13) (marked here with (7)Inline graphic) representing asymptotically in 3D both (6) and (7) are tested for different sets of triples Inline graphic characterizing either (27) or (29). The algebraic calculations performed herein (assuming m is sufficiently large) are supplemented by geometrical visualizations with 3D plots in Mathematica. At this point, we re-emphasize that the asymptotic conditions from Theorem 2.1 can be extended further into respective 2D counterparts upon some laborious calculations. In return, the latter gives some advantage in visualizing more appealing 2D (versus 3D) plots. To save the space the relevant theory and testing concerning this extra 2D case are left out here.

The second example reports on tests designed to numerically evaluate Inline graphic in length estimation Inline graphic, for any Inline graphic yielding each Inline graphic as an injective function. The conjecture concerning Inline graphic is proposed in Remark 3.2 based on our numerical results.

The tests reported here are performed for 2D and 3D curves Inline graphic, Inline graphic introduced in Example 2 (i.e. for Inline graphic). However all established results with the accompanied experimentation are equally applicable to arbitrary multidimensional reduced data Inline graphic with Inline graphic.

Testing Injectivity of Inline graphic

Example 1

Consider first the following family Inline graphic of more-or-less uniform sampling (for geometrical distribution of Inline graphic with sampling (27) see also Fig. 3(a) and Fig. 4(a)):

graphic file with name M378.gif 27

for which Inline graphic, Inline graphic and Inline graphic (see Definition 1.2). Here Inline graphic, where Inline graphic, so that Inline graphic and Inline graphic. Upon resorting to (8) the following 3D compact asymptotic representation Inline graphic of Inline graphic reads as (for Inline graphic):

graphic file with name M389.gif 28

The last two points in (28) are generated for Inline graphic as Inline graphic. We set Inline graphic and hence as Inline graphic the sampling (27) is also Inline graphic.

Fig. 3.

Fig. 3.

A spiral curve Inline graphic from (31) sampled according to: a) (27) or b) (29), for Inline graphic.

Fig. 4.

Fig. 4.

A Steinmetz curve Inline graphic from (32) sampled according to: a) (27) or b) (29), for Inline graphic (with dotted gray point Inline graphic).

We also admit another Inline graphic defined according to (for geometrical spread of Inline graphic with sampling (29) see also Fig. 3(b) and Fig. 4(b)):

graphic file with name M397.gif 29

with Inline graphic, Inline graphic and Inline graphic (see Definition 1.2). Again we set Inline graphic and Inline graphic with Inline graphic, for Inline graphic. By (8) the 3D asymptotic form Inline graphic of (29) reads as:

graphic file with name M406.gif 30

The last two points in (30) come for Inline graphic as Inline graphic and the first point is due to Inline graphic.

The inequalities (9), (10), (11) marked as (6)Inline graphic (or (12) and (13) denoted by (7)Inline graphic) enforcing asymptotically (6) (or (7)) to hold are tested over Inline graphic for both samplings (27) and (29). The fixed parameter Inline graphic is set either to Inline graphic or to Inline graphic with Inline graphic, Inline graphic, Inline graphic and Inline graphic - see Table 1 and Table 2. The corresponding sets of triples Inline graphic satisfying either (6)Inline graphic or (7)Inline graphic represent the respective solids Inline graphic plotted in 3D by Mathematica as shown in Fig. 1 and Fig. 2.

Table 1.

Testing conditions (6) and (7) (implied asymptotically by (6)Inline graphic and (7)Inline graphic) for sampling (27) (represented by (28)) and for Inline graphic and Inline graphic with Inline graphic, Inline graphic, Inline graphic, Inline graphic and Inline graphic. Here Inline graphic stands for true and Inline graphic for false, respectively.

Inline graphic Inline graphic Inline graphic
Sampling Inline graphic Conditions
(6)Inline graphic (7)Inline graphic (6)Inline graphic (7)Inline graphic
Inline graphic F F T F
Inline graphic F T F T
Inline graphic F T F T
Inline graphic F F T F
Inline graphic F F T F
Inline graphic F T F T
Table 2.

Testing conditions (6) and (7) (implied asymptotically by (6)Inline graphic and (7)Inline graphic) for sampling (29) (represented by (30)) and for Inline graphic and Inline graphic with Inline graphic, Inline graphic, Inline graphic, Inline graphic and Inline graphic. Here Inline graphic stands for true and Inline graphic for false, respectively.

Inline graphic Inline graphic Inline graphic
Sampling Inline graphic Conditions
(6)Inline graphic (7)Inline graphic (6)Inline graphic (7)Inline graphic
Inline graphic F F T F
Inline graphic F T F T
Inline graphic F F T F
Inline graphic F F T F
Inline graphic F T F T
Fig. 1.

Fig. 1.

Condition (6) enforced asymptotically by (6)Inline graphic visualized in 3D plots as two solids Inline graphic, for Inline graphic or Inline graphic, respectively. Here Inline graphic with dotted points representing samplings: a) (27) mapped into (28) or b) (29) mapped into (30) both for Inline graphic and samplings: c) (27) mapped into (28) or d) (29)mapped into (30) both for Inline graphic.

Fig. 2.

Fig. 2.

Condition (7) enforced asymptotically by (7)Inline graphic visualized in 3D plots as two solids Inline graphic, for Inline graphic or Inline graphic, respectively. Here Inline graphic with dotted points representing samplings: a) (27) mapped into (28) or b) (29) mapped into (30) both for Inline graphic and samplings: c) (27) mapped into (28) or d) (29) mapped into (30) both for Inline graphic.

Noticeably different points from Inline graphic, for Inline graphic may interchangeably satisfy one of the sufficient conditions enforcing either (6) or (7) to hold asymptotically. The latter is demonstrated in Table 1 and Table 2. Indeed for Inline graphic all conditions from (6)Inline graphic are not satisfied by both Inline graphic (for Inline graphic) as we have Inline graphic in the respective columns of both Table 1 and Table 2. Moreover, the conditions from (7)Inline graphic are only fulfilled by some points (not all) from Inline graphic. Consequently the injectivity of Inline graphic for either Inline graphic or Inline graphic is not guaranteed. Geometrically both Inline graphic (for Inline graphic) are not contained in the respective injectivity zones Inline graphic (for either (6)Inline graphic or (7)Inline graphic). In contrast for Inline graphic, a simple inspection of Table 1 and Table 2 reveals that all points from Inline graphic (for Inline graphic) can be split into two subsets each contained in the injectivity zones Inline graphic determined by either (6)Inline graphic or by (7)Inline graphic, respectively. Algebraically the latter yields at least one Inline graphic in the last two columns of all rows for both Table 1 and Table 2. Inline graphic

Remark 3.1

Note that if for a given family of Inline graphic-more-or-less uniform samplings Inline graphic the subfamily Inline graphic with extra constraints Inline graphic, Inline graphic and Inline graphic (here Inline graphic) is chosen one can also examine (for a fixed Inline graphic) whether Inline graphic, where Inline graphic. By Theorem 2.1, should the latter holds the entire subfamily of Inline graphic yields asymptotically Inline graphic as injective functions. The incomplete information on input samplings Inline graphic carried by Inline graphic can in certain situations accompany Inline graphic.

Inline graphic

Numerical Testing for Length Estimation

We pass now to the experiments designed to investigate convergence rate Inline graphic in length approximation by examining Inline graphic - see Definition 1.3. The coefficient Inline graphic is estimated numerically by Inline graphic which in turn is computed using a linear regression on the pairs Inline graphic, where Inline graphic, for a given m. The slope a of the regression line Inline graphic found in Mathematica with the aid of Normal[LinearModelFit[data]] yields Inline graphic forming a numerical estimate of Inline graphic.

Example 2

Consider a 2D spiral Inline graphic (a regular curve with Inline graphic and Inline graphic):

graphic file with name M533.gif 31

and the so-called 3D Steinmetz curve Inline graphic (a regular closed curve with Inline graphic - see a dotted gray point in Fig. 4):

graphic file with name M536.gif 32

Both curves Inline graphic, Inline graphic (from (31) and (32)) sampled according to either (27) or (29) are plotted in Fig. 3 and Fig. 4, respectively. The numerical results assessing the estimate Inline graphic of Inline graphic (for Inline graphic) are presented in Table 3. Recall that here, a linear regression to compute Inline graphic is applied to the collections of points Inline graphic, with Inline graphic and for various Inline graphic. The results from Table 3 suggest that for all Inline graphic rendering Inline graphic (e.g. the latter is guaranteed if Theorem 2.1 holds) one may expect Inline graphic with the quadratic convergence rate Inline graphic. Inline graphic

Table 3.

The numerical estimates of Inline graphic for a spiral Inline graphic from (31) and a Steinmetz curve Inline graphic from (32) computed for Inline graphic and Inline graphic. Here Inline graphic stands for true and Inline graphic for false, respectively.

Curve Sampling Inline graphic Inline graphic Inline graphic (6)Inline graphic or (7)Inline graphic
(31) (27) 0.3 0.0735200 0.044 F
0.7 0.0000083 1.945 T
0.9 0.0000016 1.885 T
(29) 0.3 2.4619100 -0.012 F
0.7 0.0050445 0.007 F
0.9 0.0000319 1.989 T
(32) (27) 0.3 0.2036000 0.033 F
0.7 0.0000897 2.015 T
0.9 0.0000181 2.092 T
(29) 0.3 6.7392400 -0.009 F
0.7 0.0132964 -0.080 F
0.9 0.0003419 1.985 T

In fact the numerical results from Example 2 combined with (5) in conjunction with the argument used to prove Inline graphic for Inline graphic (see [7]) or [19]) lead to expect Inline graphic in Inline graphic, for all Inline graphic yielding Inline graphic as a piecewise Inline graphic reparametrization. The latter forms an open problem which can be stated as:

Remark 3.2

Assume Inline graphic be a regular curve in Inline graphic sampled more-or-less uniformly (see Definition 1.2). For the interpolant Inline graphic and any Inline graphic in (3) yielding each Inline graphic as a Inline graphic genuine reparameterization Example 2 suggests a sharp quadratic convergence rate in:

graphic file with name M576.gif 33

In particular if Theorem 2.1 holds (and Inline graphic-more-or-less uniform samplings are used) the mapping Inline graphic is asymptotically a reparameterization which in turn hints to expect (33). Recall that by sharpness of (33) we understand the existence of at least one regular curve of class Inline graphic and of at least one samplings from Inline graphic such that in (33) the convergence rate Inline graphic has exactly order 2 (i.e. is not faster than quadratic). Inline graphic

Conclusions

Fitting reduced data (see e.g. [3] or [16]) constitutes an important task in computer vision and graphics, engineering, microbiology, physics and other applications like medical image processing (e.g. for area, length and boundary estimation or trajectory planning) - see e.g. [4, 6, 8, 11, 14, 15, 17, 20] or [21].

Two sufficient conditions (6) and (7) are first formulated to ensure that the Lagrange piecewise-cubic Inline graphic (introduced in Sect. 1) is a genuine reparameterization. The latter applies to both sparse and dense reduced data Inline graphic. Here the unknown interpolation knots Inline graphic are replaced by Inline graphic which in turn is determined by exponential parameterization (3) controlled by a single parameter Inline graphic and Inline graphic. The main contribution established in Theorem 2.1 (see Sect. 2) reformulates (6) and (7) into respective asymptotic representatives valid for sufficiently large m (i.e. for Inline graphic getting denser). These new transformed conditions (specified in Theorem 2.1) depend exclusively on Inline graphic and Inline graphic characterized by (8) within the admitted class of Inline graphic-more-or-less uniform samplings (see Definition 1.2) and apply to any regular curve Inline graphic (with Inline graphic). Lastly, in Sect. 3 two illustrative examples are presented. The attached 3D plots generated in Mathematica [22] illustrate the algebraic character of the asymptotic conditions justified in Theorem 2.1 (see Example 1). In addition, the numerical examination of the convergence rate in length estimation of interpolated Inline graphic for Inline graphic are performed. Consequently, based on the latter the conjecture suggesting the quadratic convergence rate for Inline graphic is posed (see Example 2 and Remark 3.2), subject to the injectivity of Inline graphic. At this point we remark that all asymptotic formulas from Theorem 2.1 are extendable to the corresponding inequalities expressed in (xy)-variables. This can be achieved by converting first (with the aid of special homogeneous mapping) each triple Inline graphic from (8) into a pair Inline graphic and then by reformulating all conditions from Theorem 2.1, accordingly in terms of (xy). The satisfaction of such new conditions enforces (9), (10) and (11) or (12) and (13) asymptotically (and thus of (6) or (7)). It is a big advantage to reduce the illustrations from 3D to more appealing 2D analogues. We omit here the theoretical discussion and the geometrical insight of this 2D extension of Theorem 2.1. Similarly, recall that only items (i) and (iv) (see Sect. 2) are given here a full proof. In contrast, the final steps of proving (ii), (iii) and (v) are left out as treated later exhaustively in a journal version of this work (together with the mentioned above 2D extension of Theorem 2.1).

Future work may include various interpolation schemes Inline graphic or Inline graphic based on Inline graphic combined with either (3) or with other Inline graphic compensating the unknown knots Inline graphic (see e.g. [3, 10, 13] or [16]). Searching for alternative sufficient conditions enforcing Inline graphic to be injective forms an interesting topic. Lastly the theoretical justification of (33) poses another open problem.

Contributor Information

Valeria V. Krzhizhanovskaya, Email: V.Krzhizhanovskaya@uva.nl

Gábor Závodszky, Email: G.Zavodszky@uva.nl.

Michael H. Lees, Email: m.h.lees@uva.nl

Jack J. Dongarra, Email: dongarra@icl.utk.edu

Peter M. A. Sloot, Email: p.m.a.sloot@uva.nl

Sérgio Brissos, Email: sergio.brissos@intellegibilis.com.

João Teixeira, Email: joao.teixeira@intellegibilis.com.

Ryszard Kozera, Email: ryszard.kozera@sggw.edu.pl, Email: ryszard.kozera@gmail.com.

Lyle Noakes, Email: lyle.noakes@uwa.edu.au.

Magdalena Wilkołazka, Email: magda.wilkolazka@gmail.com, Email: magda8310@kul.lublin.pl.

References

  • 1.de Boor, C.: A Practical Guide to Spline. Springer, New York, 1985. https://www.researchgate.net/publication/200744645_A_Practical_Guide_to_Spline
  • 2.do Carmo, M.P.: Differential Geometry of Curves and Surfaces. Prentice-Hall, Englewood Cliffs (1976). http://www2.ing.unipi.it/griff/files/dC.pdf
  • 3.Epstein MP. On the influence of parameterization in parametric interpolation. SIAM J. Numer. Anal. 1976;13(2):261–268. doi: 10.1137/0713025. [DOI] [Google Scholar]
  • 4.Farin, G.: Curves and Surfaces for Computer Aided Geometric Design. Academic Press, Cambridge (1993). https://www.sciencedirect.com/book/9780122490521/curves-and-surfaces-for-computer-aided-geometric-design
  • 5.Floater MS. Chordal cubic spline interpolation is fourth-order accurate. IMA J. Numer. Anal. 2005;25(1):25–33. doi: 10.1093/imanum/dri022. [DOI] [Google Scholar]
  • 6.Janik M, Kozera R, Kozioł P. Reduced data for curve modeling - applications in graphics, computer vision and physics. Adv. Sci. Technol. Res. J. 2013;7(18):28–35. doi: 10.5604/20804075.1049599. [DOI] [Google Scholar]
  • 7.Kozera R. Curve modeling via interpolation based on multidimensional reduced data. Stud. Inform. 2004;25(4B(61)):1–140. doi: 10.21936/si2004_v25.n4B. [DOI] [Google Scholar]
  • 8.Kozera R, Wilkołazka M. A natural spline interpolation and exponential parameterization for length estimation of curves. Proc. Amer. Inst. Phys. 2017;1863(1):400010-1–400010-4. doi: 10.1063/1.4992579. [DOI] [Google Scholar]
  • 9.Kozera R, Wilkołazka M. Convergence order in trajectory estimation by piecewise cubics and exponential parameterization. Math. Model. Anal. 2019;24(1):72–94. doi: 10.3846/mma.2019.006. [DOI] [Google Scholar]
  • 10.Kozera, R., Wilkołazka, M.: A note on modified Hermite interpolation. Math. Comput. Sci. 14, 223–239 (2020). 10.1007/s11786-019-00434-3
  • 11.Kozera R, Noakes L. Inline graphic interpolation with cumulative chord cubics. Fundam. Inform. 2004;61(3):285–301. [Google Scholar]
  • 12.Kozera R, Noakes L. Piecewise-quadratics and exponential parameterization for reduced data. Appl. Math. Comput. 2013;221:620–638. doi: 10.1016/j.amc.2013.06.060. [DOI] [Google Scholar]
  • 13.Kozera R, Noakes L. Piecewise-quadratics and reparameterizations for interpolating reduced data. In: Gerdt VP, Koepf W, Seiler WM, Vorozhtsov EV, editors. Computer Algebra in Scientific Computing; Cham: Springer; 2015. pp. 260–274. [Google Scholar]
  • 14.Kozera R, Noakes L, Wilkołazka M. A modified complete spline interpolation and exponential parameterization. In: Saeed K, Homenda W, editors. Computer Information Systems and Industrial Management; Cham: Springer; 2015. pp. 98–110. [Google Scholar]
  • 15.Kozera R, Noakes L, Szmielew P. Convergence orders in length estimation with exponential parameterization and Inline graphic-uniformly sampled reduced data. Appl. Math. Inf. Sci. 2016;10(1):107–115. doi: 10.18576/amis/100110. [DOI] [Google Scholar]
  • 16.Kuznetsov EB, Yakimovich AY. The best parameterization for parametric interpolation. J. Comput. Appl. Math. 2006;191(2):239–245. doi: 10.1016/j.cam.2005.06.040. [DOI] [Google Scholar]
  • 17.Kvasov BI. Methods of Shape-Preserving Spline Approximation. Singapore: World Scientific Publishing Company; 2000. [Google Scholar]
  • 18.Lee ETY. Choosing nodes in parametric curve interpolation. Comput. Aided Des. 1989;21(6):363–370. doi: 10.1016/0010-4485(89)90003-1. [DOI] [Google Scholar]
  • 19.Noakes L, Kozera R. Cumulative chords piecewise-quadratics and piecewise-cubics. In: Klette R, Kozera R, Noakes L, Weickert J, editors. Geometric Properties of Incomplete Data, Computational Imaging and Vision, chap. 4. Dordrecht: Springer; 2006. pp. 59–75. [Google Scholar]
  • 20.Piegl L, Tiller W. The NURBS Book. Heidelberg: Springer; 1997. [Google Scholar]
  • 21.Rababah A. High order approximation methods for curves. Comput. Aided Geom. Des. 1995;12(1):89–102. doi: 10.1016/0167-8396(94)00004-C. [DOI] [Google Scholar]
  • 22.Wolfram S. The Mathematica Book. Champaign: Wolfram Media Inc.; 2003. [Google Scholar]

Articles from Computational Science – ICCS 2020 are provided here courtesy of Nature Publishing Group

RESOURCES