Next Article in Journal
Application of Lie Symmetry to a Mathematical Model that Describes a Cancer Sub-Network
Next Article in Special Issue
Features of Fermion Dynamics Revealed by SU2 Symmetry
Previous Article in Journal
Special Issue on Safe and Reliable AI for Smart Sustainable Cities
Previous Article in Special Issue
Methods of Retrieving Large-Variable Exponents
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

New Progressive Iterative Approximation Techniques for Shepard-Type Curves

by
Umberto Amato
1 and
Biancamaria Della Vecchia
2,*
1
Istituto per le Scienze Applicate ed i Sistemi Automatici ed Intelligenti, Consiglio Nazionale delle Ricerche, Via Pietro Castellino 111, 80131 Napoli, Italy
2
Dipartimento di Matematica, Università di Roma ‘La Sapienza’, Piazzale Aldo Moro 5, 00185 Roma, Italy
*
Author to whom correspondence should be addressed.
Symmetry 2022, 14(2), 398; https://doi.org/10.3390/sym14020398
Submission received: 11 January 2022 / Revised: 23 January 2022 / Accepted: 7 February 2022 / Published: 17 February 2022
(This article belongs to the Special Issue Symmetry and Approximation Methods)

Abstract

:
Progressive iterative approximation (PIA) technique is an efficient and intuitive method for data fitting. In CAGD modeling, if the given data points are taken as initial control points, PIA process generates a series of shaping curves by adjusting the control points iteratively, while the limit curve interpolates the data points. Such format was used successfully for Shepard-type curves. The aim of the paper is to construct simple variants of the PIA method for Shepard-type curves producing novel curves modeling data points, so the designer can choose among several pencils of shapes outlining original control polygon. Matrix formulations, convergence results, error estimates, algorithmic formulations, critical comparisons, and numerical tests are shown. An application to a progressive modeling format by truncated wavelet transform is also presented, improving in some sense analogous process by truncated Fourier transform. By playing on two shapes handles—the number of base wavelet transform functions and the iteration level of PIA algorithm—several new contours modeling the given control points are constructed.

1. Introduction

Shepard-type operators are rational, positive operators widely used in classical approximation theory and in scattered data interpolation problems (see, e.g., [1,2,3,4,5,6,7]). In particular, they achieve approximation results not possible by polynomials and relative pointwise and uniform direct and converse results and simultaneous approximation statements can be found, for example, in [5,6,7,8]. In [9], a modification of Shepard-type operators according to Gupta variants (based on a double summation depending on a positive parameter α ) was introduced and studied. Its asymptotic behavior approaching piecewise constants made it suitable for applications to compression of piecewise images but not to CAGD. Recently, in [1], Shepard-type operators have been studied to construct Shepard-type curves useful in CAGD. Such curves overcome some of the original Shepard operator’s drawbacks and have some advantages with respect to the Bézier case. A progressive iterative approximation (PIA in short) technique for Shepard-type curves and its weighted generalization (WPIA in short) were also developed in [1]. Just by adjusting the control points iteratively, PIA process presents an intuitive and straightforward way to fit data points. It generates a curve sequence with finer and finer precision and the limit of the sequence interpolates the data points. An extension to surfaces case was also investigated in [1]. Such procedure is faster than analogous PIA technique for Bézier, B-Splines, and NURBS curves (see e.g. [10,11]). Applications of PIA techniques to image super-resolution, video data compression, online handwritten synthesis, implicit curve reconstruction, fairing curve generation, local modeling, offset of planar curves, conversion of rational curves into nonrational curves, and least squares fitting are also studied [12,13,14,15,16,17,18,19,20].
In [1,21], generalizations of PIA technique at a quicker convergence rate, but at a higher computational cost, were introduced; however, they are not always interesting from the modeling point of view: indeed, the designer’s purpose is to draw a pencil of curves shaping the given control polygon, so a too fast sequence of curves is not always useful.
Hence, it is interesting to construct alternative PIA techniques for Shepard-type curves, at suitable convergence rate and computational cost.
The aim of this paper is to give a positive answer to this problem, introducing variants of PIA process with such properties. In Section 2, a preliminary critical revisitation of PIA technique is presented, pointing out matrix formulation and properties, error expressions, computational aspects, and interesting cases. Such analysis is extended in Section 3 to four variants of PIA process based on simple iterative procedures approximating inverse of collocation matrix for Shepard-type operators at same computational cost as original PIA method; matrix formulations, convergence results, algorithmic considerations, error estimates, particular cases, and critical comparisons are shown. By acting on iteration level, like shape handle, the designer can choose among novel intermediate silhouettes between original Shepard-type curve and global interpolating Shepard-type curve at proper speed.
In Section 4 by truncated wavelet transform and PIA technique, we construct a procedure to generate Shepard-type curves useful in CAGD modeling that enhances shaping capabilities of the analogous format by truncated Fourier transform considered in [2]. We consider the number of base wavelet transform functions and the processing degree of PIA format as shape tools to draw novel curves going from Shepard-type curve to interpolating Shepard-type curve.
To prove the main results, we used the eigenstructure of Shepard-type operators, new numerical approximations of the inverse of collocation matrix and truncation wavelet transform.
Theoretical results are confirmed by numerical tests in Section 5.

2. PIA Format for Shepard-Type Curves

First, we examine the PIA technique by introducing Shepard-type curves [1]. Let A n ( t ) = [ A n , 0 ( t ) , A n , 1 ( t ) , , A n , n ( t ) ] T , with
A n , i ( t ) = 1 ( t t i ) s + λ i = 0 n 1 ( t t i ) s + λ ,
where 0 i n , n N , t [ 0 , 1 ] , t i = i n , i = 0 , 1 , , n , 0 < λ , λ = o ( n s ) and s > 2 even.
If P = [ P 0 , P 1 , , P n ] T , P i R d , i = 0 , 1 , , n , d 2 , is the given control vector, we define a parametric Shepard-type curve S n [ P , t ] as
S n [ P , t ] = i = 0 n A n , i ( t ) P i = A n ( t ) P .
Such curves have properties that are interesting in CAGD (see, e.g., [1]): S n [ P ] is a rational curve that preserves points. It lies in the convex hull of the control polygon defined by P. It satisfies the pseudolocal control property—i.e., all base functions A n , j ( t ) , 0 j n , reach their maximum near to 1 for t = t j , or equivalently each point P j deeply affects the silhouette of the curve close to t = t j .
In addition, Shepard-type curves have the property of symmetry, i.e., S n [ P , t ] = S n [ P , 1 t ] , with P = [ P n , P n 1 , , P 0 ] T . The presence of λ at the denominators in (1) makes S n [ P ] a curve near-interpolating the control points, overcoming the flat spots drawback affecting the original Shepard operator (corresponding to λ = 0 case).
In [1], a PIA technique for Shepard-type curves was introduced and studied. Starting with an initial Shepard-type curve, PIA process constructs a sequence of fitting curves by adjusting the control points iteratively. The limiting curve is the global Shepard-type curve interpolating the data set, defined by
G n [ P , t ] = k = 0 n A n , i ( t ) Y i ,
with
G n [ P , t i ] = P i , i = 0 , 1 , , n .
In details, given the control vector P = [ P 0 , , P n ] T and the basis A n , i ( t ) , i = 0 , , n , defined by (1), we generate the initial curve
γ 0 ( t ) = S n , 0 [ P , t ] = S n [ P , t ] = i = 0 n A n , i ( t ) P i 0 ,
with P i 0 = P i , i = 0 , , n . Then, we calculate the remaining curves of the sequence γ m + 1 ( t ) = S n , m + 1 [ P , t ] , for m 0 , as follows
γ m + 1 ( t ) = S n , m + 1 [ P , t ] = i = 0 n P i m + 1 A n , i ( t ) ,
with
P i m + 1 = P i m + Δ ¯ i m ,
and Δ ¯ i m the adjusting vectors given by
Δ ¯ i m = P i γ m ( t i ) , i = 0 , 1 , , n .
Then, the iterative process can be written in matrix form as follows:
Δ ¯ 0 m , Δ ¯ 1 m , , Δ ¯ n m T = ( I B ) Δ ¯ 0 m 1 , Δ ¯ 1 m 1 , , Δ ¯ n m 1 T = ( I B ) m 1 Δ ¯ 0 0 , Δ ¯ 1 0 , , Δ ¯ n 0 T ,
with B, the collocation matrix of A n ( t ) basis, i.e.,
B = A n , 0 ( t 0 ) A n , 1 ( t 0 ) A n , n ( t 0 ) A n , 0 ( t 1 ) A n , 1 ( t 1 ) A n , n ( t 1 ) A n , 0 ( t n ) A n , 1 ( t n ) A n , n ( t n ) .
We remark that B is a positive, centrosymmetric, stochastic, diagonally dominant matrix (see [1,21]). Since B is strictly diagonally dominant, it is invertible. Since B is stochastic, we deduce that the eigenvalues of B are positive and less or equal 1, hence the spectral radius of matrix I B , i.e., ρ ( I B ) is less than 1. Moreover, from the strict positivity of entries of stochastic matrix B, it follows that lim k ( B k ) i , j = π j , with π , the row eigenvector associated with eigenvalue 1, which is unique.
We say that γ m curves defined by (3) satisfy the PIA property, iff lim m γ m ( t i ) = P i , i = 0 , , n .
Theorem 1.
Since ρ ( I B ) < 1 , curves γ m satisfy the PIA property, i.e.,
lim m S n , m [ P , t i ] = G n [ P , t i ] = P i , i = 0 , , n .
The following relations are useful in implementing above process
P i m + 1 = Z m + 1 P i 0 , i = 0 , , n , Z m + 1 = i = 0 m + 1 ( I B ) i = Z m + ( I B ) H m , Z 0 = I , H m + 1 = ( I B ) H m , H 0 = I .
Putting
E m = I B Z m ,
it results
E m + 1 = E m B ( I B ) m + 1 .
Moreover,
E m + 1 = ( I B ) m + 2 .
Proof. 
Relations (6) descend from (3) and (4).
Now, we prove (7). From (6)
E m + 1 = I B Z m + 1 = I B i = 0 m + 1 ( I B ) i = I B i = 0 m ( I B ) i B ( I B ) m + 1 = I B Z m + ( I B ) m + 1 = E m B ( I B ) m + 1 .
Now, we prove (8). From (7), we have
E m + 1 = E 0 B ( I B ) B ( I B ) 2 B ( I B ) m + 1 = I B i = 0 m + 1 ( I B ) i = ( I B ) m + 2 .
From ρ ( I B ) < 1 and (8)
lim m E m = 0 , i . e , . lim m Z m = B 1 ,
hence
lim m S n , m [ P , t i ] = B lim m Z m P i = B B 1 P i = P i , i = 0 , , n ,
i.e., curves γ m satisfy the PIA property, as already proved in [1]. □
Remark 1.
We remark that at each step, a matrix multiplication is required. Moreover, we observe that the above PIA process can be interpreted in terms of classical Richardson method for systems of linear equations (see [1]).
Interesting cases are
γ 1 ( t ) = S n , 1 [ P , t ] = i = 0 n A n , i ( t ) P i 1 , P i 1 = I + ( I B ) P i 0 = ( 2 I B ) P i 0 , γ 2 ( t ) = S n , 2 [ P , t ] = i = 0 n A n , i ( t ) P i 2 , P i 2 = I + ( I B ) + ( I B ) 2 P i 0 = 3 I 3 B + B 2 P i 0 . γ 3 ( t ) = S n , 3 [ P , t ] = i = 0 n A n , i ( t ) P i 3 , P i 3 = I + ( I B ) + ( I B ) 2 + ( I B ) 3 P i 0 = ( 4 I 6 B + 4 B 2 B 3 ) P i 0 .
Note that the PIA process is based on well-known approximation for B 1
B 1 = I + ( I B ) + ( I B ) 2 + ,
since ρ ( I B ) < 1 .
We observe that in the one-dimensional case, we find back an iterative procedure to approximate a 1 , a 0 , | 1 a | < 1 , i.e., to solve nonlinear equation f ( x ) = 1 x a = 0 by a chord method, namely
t m + 1 = t m f ( t m ) f ( t m ) f ( t 0 ) ( t m t 0 ) = 1 + t m ( 1 a ) , t 0 = 1 .
The first three iterations are
t 1 = 2 a , t 2 = 1 + ( 1 a ) + ( 1 a ) 2 , t 3 = 1 + ( 1 a ) + ( 1 a ) 2 + ( 1 a ) 3 .
In [1,21], faster converging modifications of the above technique were introduced (at higher computational cost), so that the data points are reached in a few iterations. This result is not always interesting in CAGD modeling; indeed, from one hand, the designer’s purpose is to construct intermediate shapes outlining given control polygon; from the other hand, the original PIA process is already fast enough (cfr. [1]). Hence, it is useful to construct variants of PIA format at a suitable convergence rate and computational cost.

3. Some Variants of PIA Technique

In this section, we introduce some variants of the PIA technique.

3.1. Variant 1

Consider the following PIA-type process
Ŝ n , 0 [ P , t ] = S n [ P , t ] , Ŝ n , m + 1 [ P , t ] = i = 0 n A n , i ( t ) P i m + 1 , m 0 , P i 0 = P i , i = 0 , 1 , , n , P i m + 1 = W m + 1 P i 0 , W m = B i = 0 m ( i + 1 ) ( I B ) i , W 0 = B .
Theorem 2.
From ρ ( I B ) < 1 , curves defined by (10) satisfy the PIA property, that is
lim m Ŝ n , m [ P , t i ] = P i , i = 0 , 1 , , n .
For implementing, we use
W m = B Ŵ m = B i = 0 m ( i + 1 ) ( I B ) i , Ŵ m + 1 = Ŵ m + ( m + 2 ) Ĵ m + 1 , Ĵ m = ( I B ) Ĵ m 1 , Ĵ 1 = I B , Ŵ 0 = I .
Putting
Ê m = I B W m = I B 2 Ŵ m ,
one gets
Ê m + 1 = I B 2 i = 0 m + 1 ( i + 1 ) ( I B ) i .
and
Ê m + 1 = Ê m B 2 ( m + 2 ) Ĵ m + 1 = Ê m B 2 ( m + 2 ) ( I B ) m + 1 .
Proof. 
Relations (11) can be obtained from (10).
Then, we prove (12) and (13). From (11),
Ê m + 1 = I B W m + 1 = I B 2 i = 0 m + 1 ( i + 1 ) ( I B ) i
and
Ê m + 1 = I B W m + 1 = I B 2 Ŵ m B 2 ( m + 2 ) Ĵ m + 1 = Ê m B 2 ( m + 2 ) Ĵ m + 1 .
It is well-known that if ρ ( I B ) < 1
B i = 1 i ( I B ) i 1 = B i = 0 ( i + 1 ) ( I B ) i = B 1 .
Therefore, from (12),
lim m Ê m = 0 .
So,
lim m W m = B 1 ,
and
lim m Ŝ n , m [ P , t i ] = B lim m W m P i = B B 1 P i = P i , i = 0 , 1 , , n .
Remark 2.
At each step, we compute a matrix multiplication.
Comparing (7) with (13), we deduce that the above procedure is slower than the original PIA.
The first three iterations are
Ŝ n , 1 [ P , t ] = i = 0 n A n , i ( t ) P i 1 , P i 1 = B I + 2 ( I B ) P i 0 = B 3 I 2 B P i 0 , Ŝ n , 2 [ P , t ] = i = 0 n A n , i ( t ) P i 2 , P i 2 = B I + 2 ( I B ) + 3 ( I B ) 2 P i 0 = B 6 I 8 B + 3 B 2 P i 0 , Ŝ n , 3 [ P , t ] = i = 0 n A n , i ( t ) P i 3 , P i 3 = B I + 2 ( I B ) + 3 ( I B ) 2 + 4 ( I B ) 3 P i 0 .
In the one-dimensional case, we get the following iterative procedure converging to a 1 , a 0 , | 1 a | < 1 ,
t ^ m + 1 = t ^ m + ( m + 2 ) a ( 1 a ) m + 1 , m 0 , t ^ 0 = a .
For example,
t ^ 1 = a ( 1 + 2 ( 1 a ) ) = a ( 3 2 a ) , t ^ 2 = a ( 1 + 2 ( 1 a ) + 3 ( 1 a ) 2 ) = a ( 6 8 a + 3 a 2 ) , t ^ 3 = a ( 6 8 a + 3 a 2 + 4 ( 1 a ) 3 ) .

3.2. Variant 2

Construct the following PIA-type process
S n , 0 [ P , t ] = S n [ P , t ] , S n , m + 1 [ P , t ] = i = 0 n A n , i ( t ) P i m + 1 , m 0 , P i 0 = P i , i = 0 , 1 , , n , P i m + 1 = W m + 1 P i 0 , W m = B 2 i = 0 m ( i + 1 ) ( i + 2 ) 2 ( I B ) i , m 0 , W 0 = B 2 .
Theorem 3.
Since ρ ( I B ) < 1 , the curves defined by (15) satisfy the PIA property, that is
lim m S n , m [ P , t i ] = P i , i = 0 , 1 , , n .
We implement the above process by the following relations
W m = B 2 W m = B 2 i = 0 m ( i + 1 ) ( i + 2 ) 2 ( I B ) i , W m + 1 = W m + ( m + 2 ) ( m + 3 ) 2 J m + 1 , m 0 , J m = ( I B ) J m 1 , J 1 = I B , W 0 = I .
Putting
E m = I B W m = I B 3 W m ,
one gets
E m + 1 = I B 3 i = 0 m + 1 ( i + 1 ) ( i + 2 ) 2 ( I B ) i
and
E m + 1 = E m B 3 ( m + 2 ) ( m + 3 ) 2 J m + 1 = E m B 3 ( m + 2 ) ( m + 3 ) 2 ( I B ) m + 1 .
Proof. 
From (15), one gets (16).
Now, we prove (17) and (18). By (16)
E m + 1 = I B W m + 1 = I B 3 i = 0 m + 1 ( i + 1 ) ( i + 2 ) 2 ( I B ) i
and
E m + 1 = I B W m + 1 = I B 3 W m + 1 = I B 3 W m B 3 ( m + 2 ) ( m + 3 ) 2 J m + 1 = I B W m B 3 ( m + 2 ) ( m + 3 ) 2 J m + 1 = E m B 3 ( m + 2 ) ( m + 3 ) 2 J m + 1 .
We recall that if ρ ( I B ) < 1
i = 0 ( i + 1 ) ( i + 2 ) 2 ( I B 2 ) i = B 3 .
Consequently, from (17)
lim m E m = 0 ,
so
lim m W m = B 1 ,
and
lim m S n , m [ P , t i ] = B lim m W m P i = B B 1 P i = P i , i = 0 , 1 , , n .
Remark 3.
At each step, a matrix multiplication is required.
Comparing (7) and (13) with (18), we deduce that the above format is slower than original PIA technique and variant 1.
In particular,
S n , 1 [ P , t ] = i = 0 n A n , i ( t ) P i 1 , P i 1 = B 2 I + 3 ( I B ) P i 0 = B 2 4 I 3 B P i 0 . S n , 2 [ P , t ] = i = 0 n A n , i ( t ) P i 2 , P i 2 = B 2 4 I 3 B + 6 ( I B ) 2 P i 0 = B 2 10 I 15 B + 6 B 2 P i 0 , S n , 3 [ P , t ] = i = 0 n A n , i ( t ) P i 3 , P i 3 = B 2 10 I 15 B + 6 B 2 + 10 ( I B ) 3 P i 0 .
In the one dimensional case, one obtains the following iterative procedure converging to a 1 , a 0 , | 1 a | < 1 ,
t m + 1 = t m + ( m + 1 ) ( m + 2 ) 2 a 2 ( 1 a ) m 1 , m 0 , t 0 = a 2 .
Iterations at first, second, and third steps are given by
t 1 = a 2 ( 1 + 3 ( 1 a ) ) = a 2 ( 4 3 a ) , t 2 = a 2 ( 1 + 3 ( 1 a ) + 6 ( 1 a ) 2 ) = a 2 10 15 a + 6 a 2 , t 3 = a 2 10 15 a + 6 a 2 + 10 ( 1 a ) 3 .

3.3. Variant 3

Introduce the following variant of PIA process
S ¯ n , 0 [ P , t ] = S n [ P , t ] , S ¯ n , m + 1 [ P , t ] = i = 0 n A n , i ( t ) P i m + 1 , m 0 , P i 0 = P i , P i m = T m P i 0 , T m = i = 0 m 2 i i ( I B 2 ) i 4 i , T 0 = I .
Theorem 4.
Since ρ ( I B 2 ) < 1 , the curves defined by (19) satisfy the PIA property, that is
lim m S ¯ n , m [ P , t i ] = P i , i = 0 , 1 , , n .
The following relations are useful in implementing the above format
T m = T m 1 + c m J ¯ m , J ¯ m = ( I B 2 ) m = ( I B 2 ) J ¯ m 1 , c m = 2 m m 1 4 m = 1 1 2 m c m 1 , c 0 = 0 0 1 4 0 = 1 , J ¯ 0 = I .
Putting
E ¯ m = I B T m ,
we have
E ¯ m + 1 = I B i = 0 m + 1 2 i i ( I B 2 ) i 4 i
and
E ¯ m + 1 = E ¯ m B 2 ( m + 1 ) m + 1 ( I B 2 ) m + 1 4 m + 1 = E ¯ m B 2 m m 2 m + 1 m + 1 ( I B 2 ) m ( I B 2 ) 1 4 m + 1 2 .
Proof. 
By simple computations
c m = 2 m m 1 4 m = 2 m ( 2 m 1 ) ( m + 1 ) 1 m ( m 1 ) 1 · m ( m 1 ) 1 1 4 · 4 m 1 = 1 4 2 m ( 2 m 1 ) m 2 ( 2 m 2 ) 1 ( m 1 ) 1 · ( m 1 ) 1 1 4 m 1 = 1 4 2 m ( 2 m 1 ) m 2 2 ( m 1 ) m 1 1 4 m 1 = 1 4 2 m ( 2 m 1 ) m 2 c m 1 = 2 m 1 2 m c m 1 = 1 1 2 m c m 1 ,
we deduce (20).
Then, we prove (21) and (22). From (19) and (20)
E ¯ m + 1 = I B T m + 1 = I B i = 0 m + 1 2 i i ( I B 2 ) i 1 4 i ,
and
E ¯ m + 1 = I B T m + 1 = I B T m + 2 ( m + 1 ) m + 1 ( I B 2 ) m + 1 4 m + 1 = E ¯ m B 2 ( m + 1 ) m + 1 ( I B 2 ) m + 1 4 m + 1 = E ¯ m B 2 m m 2 m + 1 m + 1 ( I B 2 ) m 1 4 m + 1 2 ( I B 2 ) .
From ρ ( I B 2 ) < 1 , it results
i = 0 2 i i ( I B 2 ) i 1 4 i = B 1 .
Therefore, from (21)
lim m E ¯ m = 0 .
So
lim m T m = B 1 ,
and
lim m S ¯ n , m [ P , t i ] = B lim m T m P i = B B 1 P i = P i , i = 0 , 1 , , n .
Hence, the statement follows. □
Remark 4.
At each iteration, a matrix computation is needed.
From Stirling approximation of binomial
m ! 2 π m m e m ,
we deduce
2 ( m + 1 ) m + 1 ( I B 2 ) m + 1 1 4 m + 1 m 3 2 ( I B 2 ) m + 1 ,
which vanishes slower than ( I B ) m + 1 (cfr. (7)), hence from (22) and (23) E ¯ m goes to 0 slower than E m . Comparing (22) and (23) with (13), it follows that for m = 0 , 1 , 2 , 3 , interesting cases in applications, E ¯ m + 1 is smaller than E ^ m + 1 , but asymptotically is bigger, hence for m = 0 , 1 , 2 , 3 , S ¯ n , m is faster than Ŝ n , m , but asymptotically is slower. Consequently, for m = 0 , 1 , 2 , 3 , variant 3 gives intermediate curves between PIA and variant 1 process. Comparing (22) and (23) with (18), E ¯ m vanishes asymptotically slower than E m .
As particular cases, we find
S ¯ n , 1 [ P , t ] = i = 0 n A n , i ( t ) P i 1 , P i 1 = I + 1 2 ( I B 2 ) P i 0 = 3 2 I 1 2 B 2 P i 0 , S ¯ n , 2 [ P , t ] = i = 0 n A n , i ( t ) P i 2 , P i 2 = 3 2 I 1 2 B 2 + 3 8 ( I B 2 ) 2 P i 0 = 15 8 I 5 4 B 2 + 3 8 B 4 P i 0 . S ¯ n , 3 [ P , t ] = i = 0 n A n , i ( t ) P i 3 , P i 3 = 15 8 I 5 4 B 2 + 3 8 B 4 + 5 16 ( I B 2 ) 3 P i 0 .
In the one-dimensional case, we have the following iterative procedure converging to a 1 , a 0 , | 1 a 2 | < 1 ,
t ¯ m + 1 = t ¯ m + 2 m m 2 m + 1 m + 1 ( 1 a 2 ) m + 1 1 4 m + 1 2 , m 0 , t ¯ 0 = 1 ,
For example,
t ¯ 1 = 1 + 1 2 ( 1 a 2 ) = 3 2 a 2 2 , t ¯ 2 = 3 2 a 2 2 + 3 8 ( 1 a 2 ) 2 = 15 8 5 4 a 2 + 3 8 a 4 , t ¯ 3 = 15 8 5 4 a 2 + 3 8 a 4 + 5 16 ( 1 a 2 ) 3 .

3.4. Variant 4

Letting q ( 0 , 1 ) define the following variant of PIA process,
S n , 0 , q [ P , t ] = S n [ P , t ] , S n , m + 1 , q [ P , t ] = i = 0 n A n , i ( t ) P i , q m + 1 , m 0 , P i , q 0 = P i , P i , q m = H m , q P i 0 , H m , q = ( I q ( I B ) ) i = 0 m 1 q i + 1 1 q ( I B ) i , H 0 , q = I q ( I B ) .
Theorem 5.
Since ρ ( I B ) < 1 , the curves defined by (24) satisfy the PIA property, that is,
lim m S n , m , q [ P , t i ] = P i , i = 0 , 1 , , n .
We implement the above process with the following relations
H m , q = H m 1 , q + ( I q ( I B ) ) N m , q , N m , q = 1 q m + 1 1 q J m , J m = ( I B ) J m 1 , J 0 = I .
Putting
E m , q = I B H m , q ,
we have
E m + 1 , q = I B ( I q ( I B ) ) k = 0 m + 1 1 q k + 1 1 q ( I B ) k
and
E m + 1 , q = E m , q B ( I q ( I B ) ) 1 q m + 2 1 q ( I B ) m + 1 .
Proof. 
From (24) working as above, one gets (25)–(27).
We recall the q binomial theorem
z 1 = ( 1 q ( 1 z ) ) i = 0 1 q i + 1 1 q ( 1 z ) i , | z | < 1 ,
from which we deduce if ρ ( I B ) < 1 ,
B 1 = I q ( I B ) i = 0 1 q i + 1 1 q ( I B ) i .
In particular, if q = 0 and q = 1 , we find back (9) and (14), respectively, which underlie PIA and variant 1 processes, respectively.
Therefore, from (26)
lim m E m , q = 0 .
So,
lim m H m , q = B 1 ,
and
lim m S n , m , q [ P , t i ] = B lim m H m , q P i = B B 1 P i = P i , i = 0 , 1 , , n .
and the theorem is proved. □
Remark 5.
At each step, a matrix multiplication is needed.
In the limiting cases q = 0 and q = 1 , we find back PIA process S n , m [ P , t ] and variant 1 method S ^ n , m [ P , t ] (cfr. (6) and (10), respectively; see also (28)). Hence, parameter q can be considered as a further shape handle, bringing variant 4 from PIA process to variant 1; so, by playing on iteration level m and parameter q, the designer has at his disposal new intermediate curves gradually outlining the given control polygon.
From q binomial theorem (see [22] for applications of q calculus in approximation theory)
i = 0 2 1 ( 1 q i t ) = i = 0 n + i 1 i q t i , | t | < 1 ,
with
m r q = ( 1 q m ) ( 1 q m 1 ) ( 1 q m r + 1 ) ( 1 q ) ( 1 q 2 ) ( 1 q r ) ,
following the proof of Theorem 5, we can construct an analogous variant, generalizing PIA process and variant 2. We omit details.
Particular cases are
S n , 1 , q [ P , t ] = i = 0 n A n , i ( t ) P i , q 1 , P i , q 1 = ( I q ( I B ) ) I + ( 1 + q ) ( I B ) P i 0 , S n , 2 , q [ P , t ] = i = 0 n A n , i ( t ) P i , q 2 , P i , q 2 = ( I q ( I B ) ) I + ( 1 + q ) ( I B ) + ( 1 + q + q 2 ) ( I B ) 2 P i 0 , S n , 3 , q [ P , t ] = i = 0 n A n , i ( t ) P i , q 3 , P i , q 3 = ( I q ( I B ) ) I + ( 1 + q ) ( I B ) + ( 1 + q + q 2 ) ( I B ) 2 + + ( 1 + q + q 2 + q 3 ) ( I B ) 3 P i 0 .
In the one-dimensional case, we find the following iterative procedure converging to a 1 , a 0 , | 1 a | < 1 ,
t m + 1 = t m + ( 1 q ( 1 a ) ) ( 1 a ) 1 q m + 2 1 q , m 0 , t 0 = 1 q ( 1 a ) .
The first three iterations are
t 1 = 1 q ( 1 a ) 1 + ( 1 + q ) ( 1 a ) , t 2 = 1 q ( 1 a ) 1 + ( 1 + q ) ( 1 a ) + ( 1 + q + q 2 ) ( 1 a ) 2 , t 3 = 1 q ( 1 a ) 1 + ( 1 + q ) ( 1 a ) + ( 1 + q + q 2 ) ( 1 a ) 2 + ( 1 + q + q 2 + q 3 ) ( 1 a ) 3 .

4. A PIA-Type Technique via Truncated Wavelet Transform

In [2], a method to construct new Shepard-type curves with good shaping behaviour was introduced by PIA algorithm and truncated DFT. The number of base Fourier functions and the iteration level of PIA algorithm handle modeling the outline of Shepard-type curve, getting as a limit case the Shepard-type interpolating curve given by (2). The truncation procedure was made in analogy with truncation occurring in some statistical contexts involving Fourier transform.
Here, we extend such technique to wavelet transform. As a representation of a function, we consider an orthonormal basis of functions obtained from dilations and translations of compactly supported and periodic scaling ( ϕ ( t ) ) and wavelet ( ψ ( t ) ) functions:
ϕ j 0 k ( t ) , k = 0 , , 2 j 0 1 ; ψ j k ( t ) , j > j 0 , k = 0 , , 2 j 1 ,
where
ϕ j k ( t ) = 2 j / 2 ϕ ( 2 j t k ) , ψ j k ( t ) = 2 j / 2 ψ ( 2 j t k )
and j 0 is a reference level.
As a well-known method (e.g., [23]), wavelet transform has excellent properties from the approximation point of view for wide classes of functions. In addition, it turns to have a sparse representation, in the sense that its coefficients quickly drop to 0. Therefore, a limited set of coefficients could be sufficient to accurately represent the function to be approximated. Further, orthogonality of the transform makes it very easy to compute inverse transforms. Finally, availability of a multiresolution algorithm for discrete data allows one to compute the discrete wavelet transform very quickly with a computational cost of O ( n ) operations. In this case of discrete data, the discrete wavelet wransform, z w of a set of dyadic data z of length n can be expressed as z w = W z , with W being the wavelet matrix of order n.
Therefore, the idea is to compute the wavelet transform of the discrete points B 1 P and, before inverse transforming them, to threshold them with a decreasing threshold, retaining only coefficients higher than the threshold (in absolute value). Depending on the values of the threshold, a family of curves is obtained approximating the data.
We sketch the procedure. From the global interpolating Shepard-type curve Formula (2) and by (5)
B Y = P , Y = [ Y 0 , Y 1 , , Y n ] T ,
or equivalently
Y = B 1 P = V P , V = B 1 .
From (2) and (29), putting A n ( t ) = A ,
G n [ P , t ] = A · Y = A W T W Y = A W T W V P ,
with W the wavelet transform matrix giving back the wavelet coefficients P w = W V P . Now let us retain only the highest k, k n , wavelet coefficients P w (in absolute value). This corresponds to select only k bases of the transform corresponding to the selected wavelet coefficients. Equivalently, in matrix notation we can consider truncated wavelet matrices W ( k ) R k × n + 1 that include only rows corresponding to the retained wavelet coefficients. Analogously to the FT format introduced in [2], such truncation procedure was inspired by some statistical problems involving wavelets.
Then, we introduce the truncated interpolation curve of Shepard-type:
G n ( k ) [ P , t ] = A n ( t ) W ( k ) T W ( k ) V P .
From (30) it follows that, when k = n , W ( n ) T W ( n ) = W T W = I and we deduce (2). Therefore, when gradually 0 k n in (30) we get different curves going closer and closer to the interpolating Shepard-type curve.
From (30) and above PIA format, we deduce a technique constructing a pencil of curves of Shepard-type outlining the given data points. We summarize the process. In (30), matrix V is replaced by
V m = k = 0 m ( I B ) k ,
with m being the iteration level of PIA procedure. From (9) lim m V m = V ; because of fast convergence, with a few iterations V m can get close to V.
So, if the designer plays with the number k of basis wavelet functions in (30) and the processing degree m of the PIA algorithm in (31), intermediate shapes not attainable by PIA procedure are drawn.

5. Implementation and Examples

Here, we examine some tests to show the effectiveness of our algorithms.

5.1. Example 1

Consider a helix of radius 5 given by (see, e.g., [1])
x ( t ) , y ( t ) , z ( t ) = ( 5 cos t , 5 sin t , t ) , t [ 0 , 6 π ] .
A sequence of 19 control points P i , i = 0 , , 18 , is sampled from the helix as
x ( s i ) , y ( s i ) , z ( s i ) , s i = π 3 i , i = 0 , 1 , , 18 .
We construct PIA curves given by (6) based on above 19 initial control points (32) with s = 4 , λ = 4 10 6 (see (1)). In Figure 1 one can see the PIA Shepard-type curves at the initial step and after 1, 2 and 3 iterations. From Figure 1 we deduce that the curve sequence defined by PIA format converges fast to the interpolating Shepard-type curve, as expected from Theorem 1 in Section 2.

5.2. Example 2

We examine the above helix example for variants of PIA process. First construct curves defined by format (10). Figure 2 shows the corresponding curves at the initial step and after 1, 2 and 3 iterations. As the iteration level increases, the modeling power of technique (10) is evident. The curves approach the given control points at a slower convergence rate than Example 1, as remarked in Section 3.1.

5.3. Example 3

We compare the same helix example for variant 2 of PIA process (15). In Figure 3 corresponding curves at the initial step and after 1, 2, and 3 iterations are presented. When we proceed with the iterations, the shaping behaviour of format (15) is pointing out. The intermediate curves model the helix more slowly than Examples 1 and 2, as observed in Section 3.2.

5.4. Example 4

Consider curves defined by technique (19) for above helix test. In Figure 4 one can see the corresponding curves at the initial step and after 1, 2 and 3 iterations and one can choose among several shapes modeling the given control polygon. As remarked in Section 3.3, here approximating curves represent an alternative to previous formats.

5.5. Example 5

We study the same helix example for variant 4 of PIA process (24). Figure 5 shows the corresponding curves for m = 1 and q = 0 , 1 / 3 , 2 / 3 , 1 , respectively. From Figure 5 we can see the shaping capability of variant 4: indeed, if q = 0 and q = 1 , we find back the curves obtained by the first two iterations of PIA and variant 1 algorithms (see Section 3.4), respectively, while the choices q = 1 / 3 , 2 / 3 give intermediate curves approximating the helix.

5.6. Example 6

Consider Archimedes spiral given by
( x ( t ) , y ( t ) ) = ( t cos 6 π t , t sin 6 π t ) , t [ 0 , 1 ] .
We extract from the spiral a sample of 16 ( n = 15 ) control points as
( x ( s i ) , y ( s i ) ) , s i = i n , i = 0 , , n .
They form the control polygon in Figure 6 in black color. We consider the curves obtained by PIA-type technique via truncated wavelet transform of Section 4. To this purpose a Symmlet basis was used with 10 vanishing moments and reference level j 0 = 0 . Moreover we consider one PIA iteration ( m = 1 ) in (31), with s = 4 and λ = 10 5 . Starting from the above control points, Figure 6 shows the fit by curves defined by the above format retaining from 7 to all the 16 wavelet coefficients. A comparison with the analogous curves obtained by FT on the same example in [2] shows the enhanced capability of PIA-type technique via truncated wavelet transform to construct a higher number of different shaping curves.

6. Conclusions

In this paper four variants of Progressive Iterative Approximation method for Shepard-type curves introduced in [1] are developed, whose limit is the Shepard-type curve interpolating the data points. Such variants are based on simple iterative procedures approximating inverse of collocation matrix of Shepard-type operators. They draw novel intermediate pencils of curves between original Shepard-type curve and global interpolating Shepard-type curves, at the same computational cost as original PIA process. So the designer has at his disposal several choices to model given control polygon. Critical analysis of such algorithms, matrix formulations, convergence results, error estimates, particular cases, comparisons and numerical examples are discussed. A CAGD modeling technique for Shepard-type curves by truncated wavelet transform and PIA algorithm is also developed at higher performance than analogous truncated Fourier transform format.
The high degree of Shepard-type operator represents a drawback and modification of Shepard-type operator at a lower degree will be the subject of further work.

Author Contributions

Conceptualization, B.D.V.; methodology, B.D.V. and U.A.; software, U.A.; investigation, B.D.V.; writing—original draft preparation, B.D.V.; writing—review and editing, U.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

Notation

The following notation is used in this manuscript:
[ x 1 , x 2 , , x N ] T Transposed vector
S n [ P , t ] Parametric curve relative to control vector P , with variable t
X ^ Variant 1 applied to X
X Variant 2 applied to X
X ¯ Variant 3 applied to X
X Variant 4 applied to X
a b iff | a / b | C , with C positive constant independent of a and b
W ( k ) truncation applied to W

References

  1. Amato, U.; Della Vecchia, B. Modelling by Shepard-type curves and surfaces. J. Comput. Math. Appl. 2016, 20, 611–634. [Google Scholar]
  2. Amato, U.; Della Vecchia, B. Rational Approximation on Exponential Meshes. Symmetry 2020, 12, 1999. [Google Scholar] [CrossRef]
  3. Allasia, G. A class of interpolator positive linear operators: Theoretical and computational aspects. In Approximation Theory, Wavelets and Applications; NATO ASI Series C; Singh, S.P., Ed.; Kluwer: Dordrecht, The Netherlands, 1995; Volume 454, pp. 1–36. [Google Scholar]
  4. Anjyo, K.; Lewis, J.P.; Pighin, F. Scattered Data Interpolation for Computer Graphics. In ACM SIGGRAPH 2014 Courses; Association for Computing Machinery: New York, NY, USA, 2014. [Google Scholar]
  5. Della Vecchia, B. Direct and converse results by rational operators. Constr. Approx. 1996, 12, 271. [Google Scholar] [CrossRef]
  6. Della Vecchia, B.; Mastroianni, G. Pointwise simultaneous approximation by rational operators. J. Approx. Theory 1991, 65, 140–150. [Google Scholar] [CrossRef] [Green Version]
  7. Szabados, J. On a problem of R. Devore. Acta Math. Acad. Sci. Hung. 1976, 27, 219–223. [Google Scholar] [CrossRef]
  8. Vértesi, P. Saturation of the shepard operator. Acta Math. Hung. 1996, 72, 307–317. [Google Scholar] [CrossRef]
  9. Amato, U.; Della Vecchia, B. On Shepard–Gupta-type operators. J. Inequ. Appl. 2018, 2018, 232. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  10. Carnicer, J.M.; Delgado, J.; Peña, J.M. On the Progressive Iteration Approximation Property and Alternative Iterations. Comput. Aided Geom. Des. 2011, 28, 523–526. [Google Scholar] [CrossRef]
  11. Lin, H.W.; Bao, H.J.; Wang, G.J. Totally Positive Bases and Progressive Iteration Approximation. Comput. Math. Appl. 2005, 50, 575–586. [Google Scholar] [CrossRef] [Green Version]
  12. Bezine, H.; Alimi, A.M. Handwriting perceptual classification and synthesis using discriminate HMMs and progressive iterative approximation. Neural Comput. Appl. 2020, 32, 16549–16570. [Google Scholar] [CrossRef]
  13. Chantakamo, A.; Dejdumrong, N. The Analysis of PIA Algorithm Efficiency in Converting Rational Bézier Curves into Corresponding Non-rational Curves. In Proceedings of the 2014 11th International Conference on Computer Graphics, Imaging and Visualization, Singapore, 6–8 August 2014; pp. 52–56. [Google Scholar]
  14. Ebadi, M.; Ebrahimi, A. Video Data Compression by Progressive Iterative Approximation. Int. J. Interact. Multimed. Artif. Intell. 2021, 6, 189–195. [Google Scholar] [CrossRef]
  15. Hamza, Y.F.; Lin, H.; Li, Z. Implicit progressive-iterative approximation for curve and surface reconstruction. Comput. Aided Geom. Des. 2020, 77, 101817. [Google Scholar] [CrossRef] [Green Version]
  16. Lin, H. Local Progressive-Iterative Approximation Format for Blending Curves and Patches. Comput. Aided Geom. Des. 2010, 27, 322–339. [Google Scholar] [CrossRef]
  17. Lin, H.; Zhao, Y. Variational Progressive-Iterative Approximation for Fairing Curve and Surface Generation. In Proceedings of the 2011 12th International Conference on Computer-Aided Design and Computer Graphics, Jinan, China, 15–17 September 2011; IEEE Computer Society: Los Alamitos, CA, USA, 2011; pp. 258–261. [Google Scholar]
  18. Wang, H. On extended progressive and iterative approximation for least squares fitting. Vis. Comput. 2021, 1–12. [Google Scholar] [CrossRef]
  19. Zhang, L.; Wang, H.; Li, Y.; Tan, J. A progressive iterative approximation method in offset approximation. J. Comput. Aided Des. Comput. Graph. 2014, 26, 1646–1653. [Google Scholar]
  20. Zhang, Y.; Wang, P.; Bao, F.; Yao, X.; Zhang, C.; Lin, H. A Single-Image Super-Resolution Method Based on Progressive-Iterative Approximation. IEEE Trans. Multimed. 2020, 22, 1407–1422. [Google Scholar] [CrossRef]
  21. Amato, U.; Della Vecchia, B. Weighting Shepard-type operators. Comput. Appl. Math. 2017, 36, 885–902. [Google Scholar] [CrossRef]
  22. Aral, A.; Gupta, V.; Agarwal, R.P. Applications of q-Calculus in Operator Theory; Springer: Berlin/Heidelberg, Germany, 2013. [Google Scholar]
  23. Mallat, S. A Wavelet Tour of Signal Processing. The Sparse Way, 3rd ed.; Academic Press: Burlington, MA, USA, 2008. [Google Scholar]
Figure 1. PIA curves at iteration levels 0, 1, 2 and 3 for the Example 1.
Figure 1. PIA curves at iteration levels 0, 1, 2 and 3 for the Example 1.
Symmetry 14 00398 g001
Figure 2. Variant 1 curves at iteration levels 0, 1, 2 and 3 for the Example 2.
Figure 2. Variant 1 curves at iteration levels 0, 1, 2 and 3 for the Example 2.
Symmetry 14 00398 g002
Figure 3. Variant 2 curves at iteration levels 0, 1, 2 and 3 for the Example 3.
Figure 3. Variant 2 curves at iteration levels 0, 1, 2 and 3 for the Example 3.
Symmetry 14 00398 g003
Figure 4. Variant 3 curves at iteration levels 0, 1, 2 and 3 for the Example 4.
Figure 4. Variant 3 curves at iteration levels 0, 1, 2 and 3 for the Example 4.
Symmetry 14 00398 g004
Figure 5. Variant 4 curves at iteration level 1 for q = 0 , 1 / 3 , 2 / 3 , 1 for the Example 5.
Figure 5. Variant 4 curves at iteration level 1 for q = 0 , 1 / 3 , 2 / 3 , 1 for the Example 5.
Symmetry 14 00398 g005
Figure 6. PIA-type curves via truncated wavelet transform with one PIA iteration and a number of retained wavelet coefficients ranging from 7 to 16 for the Archimedes spiral.
Figure 6. PIA-type curves via truncated wavelet transform with one PIA iteration and a number of retained wavelet coefficients ranging from 7 to 16 for the Archimedes spiral.
Symmetry 14 00398 g006
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Amato, U.; Della Vecchia, B. New Progressive Iterative Approximation Techniques for Shepard-Type Curves. Symmetry 2022, 14, 398. https://doi.org/10.3390/sym14020398

AMA Style

Amato U, Della Vecchia B. New Progressive Iterative Approximation Techniques for Shepard-Type Curves. Symmetry. 2022; 14(2):398. https://doi.org/10.3390/sym14020398

Chicago/Turabian Style

Amato, Umberto, and Biancamaria Della Vecchia. 2022. "New Progressive Iterative Approximation Techniques for Shepard-Type Curves" Symmetry 14, no. 2: 398. https://doi.org/10.3390/sym14020398

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop