Next Article in Journal
Image-Level Structure Recognition Using Image Features, Templates, and Ensemble of Classifiers
Next Article in Special Issue
Finite Element Study on the Wear Performance of Movable Jaw Plates of Jaw Crushers after a Symmetrical Laser Cladding Path
Previous Article in Journal
A New Quasi Cubic Rational System with Two Parameters
Previous Article in Special Issue
Numerical Solution of Direct and Inverse Problems for Time-Dependent Volterra Integro-Differential Equation Using Finite Integration Method with Shifted Chebyshev Polynomials
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Scattered Data Interpolation Using Quartic Triangular Patch for Shape-Preserving Interpolation and Comparison with Mesh-Free Methods

by
Samsul Ariffin Abdul Karim
1,*,
Azizan Saaban
2 and
Van Thien Nguyen
3
1
Fundamental and Applied Sciences Department and Centre for Smart Grid Energy Research (CSMER), Institute of Autonomous System, Universiti Teknologi PETRONAS, Bandar Seri Iskandar, Seri Iskandar 32610, Perak Darul Ridzuan, Malaysia
2
School of Quantitative Sciences, UUMCAS, Universiti Utara Malaysia, Kedah 06010, Malaysia
3
FPT University, Education Zone, Hoa Lac High Tech Park, Km29 Thang Long Highway, Thach That Ward, Hanoi 10000, Vietnam
*
Author to whom correspondence should be addressed.
Symmetry 2020, 12(7), 1071; https://doi.org/10.3390/sym12071071
Submission received: 30 March 2020 / Revised: 24 April 2020 / Accepted: 1 May 2020 / Published: 30 June 2020
(This article belongs to the Special Issue Mesh Methods - Numerical Analysis and Experiments)

Abstract

:
Scattered data interpolation is important in sciences, engineering, and medical-based problems. Quartic Bézier triangular patches with 15 control points (ordinates) can also be used for scattered data interpolation. However, this method has a weakness; that is, in order to achieve C 1 continuity, the three inner points can only be determined using an optimization method. Thus, we cannot obtain the exact Bézier ordinates, and the quartic scheme is global and not local. Therefore, the quartic Bézier triangular has received less attention. In this work, we use Zhu and Han’s quartic spline with ten control points (ordinates). Since there are only ten control points (as for cubic Bézier triangular cases), all control points can be determined exactly, and the optimization problem can be avoided. This will improve the presentation of the surface, and the process to construct the scattered surface is local. We also apply the proposed scheme for the purpose of positivity-preserving scattered data interpolation. The sufficient conditions for the positivity of the quartic triangular patches are derived on seven ordinates. We obtain nonlinear equations that can be solved using the regula-falsi method. To produce the interpolated surface for scattered data, we employ four stages of an algorithm: (a) triangulate the scattered data using Delaunay triangulation; (b) assign the first derivative at the respective data; (c) form a triangular surface via convex combination from three local schemes with C 1 continuity along all adjacent triangles; and (d) construct the scattered data surface using the proposed quartic spline. Numerical results, including some comparisons with some existing mesh-free schemes, are presented in detail. Overall, the proposed quartic triangular spline scheme gives good results in terms of a higher coefficient of determination (R2) and smaller maximum error (Max Error), requires about 12.5% of the CPU time of the quartic Bézier triangular, and is on par with Shepard triangular-based schemes. Therefore, the proposed scheme is significant for use in visualizing large and irregular scattered data sets. Finally, we tested the proposed positivity-preserving interpolation scheme to visualize coronavirus disease 2019 (COVID-19) cases in Malaysia.

1. Introduction

Scattered data interpolation and approximation are still active research topics in computer-aided design (CAD) and geometric modeling [1,2,3,4,5,6,7,8,9]. This is because engineers and scientists often face the problem of how to produce smooth curves and surfaces for the raw data obtained from experiments or observations. This is where scattered data interpolation can be used to assist them. To construct smooth curves and surfaces, some mathematical formulations are required. This can be achieved using functions which are well-established, such as the Bézier, B-spline, and radial basis functions (RBFs). All these methods are guaranteed to produce smooth curves and surfaces.
The formulation problem in scattered data interpolation can be described as follows:
Given functional data
( x i , y i , z i ) ,     i = 1 , 2 , , N
construct a smooth C 1 surface z = F ( x , y ) such that
z i = F ( x i , y i ) ,       i = 1 , 2 , , N
To solve the above problem, there are many methods that can be used, such as meshless methods (e.g., radial basis functions (RBFs) and many types of Shepard’s families). However, some meshless schemes are global. Fasshauer [10] gave details on many meshless methods to solve the problems arising in scattered data interpolation and approximation, as well as partial differential equations. Beyond that, another approach that can be used to solve the problem is the triangulation of the given data points. Then, the Bézier or spline triangular can be used to construct a piecewise smooth surface with some degree of smoothness, such as C 1 or C 2 . The Shepard triangular can also be used to produce a continuous surface from irregular scattered data. For instance, Cavoretto et al. [6], Dell’Accio and Di Tommaso [11], and Dell’Accio et al. [12,13] have discussed the application of the Shepard triangular for surface reconstruction. However, their schemes require more computation time in order to produce the interpolated surfaces.
Crivellaro et al. [14] applied RBFs to reconstruct 3D scattered data via new algorithms, which involves an adaptive multi-level interpolation approach based on implicit surface representation. The least squares approximation is used to remove the noise that appears in the scattered data. Chen and Cao [15] employed neural network operators of a logistic function through translations and dilation. Meanwhile, Bracco et al. [2] considered scattered data fitting using hierarchical splines where the local solutions are represented in variable degrees of the polynomial spline. Zhou and Li [16] studied scattered noise data by extending the weighted least squares method via triangulating the data points. Zhou and Li [17] discussed the scattered data interpolation for noisy data by using bivariate splines defined on triangulation. Qian et al. [18] also considered scattered data interpolation by using a new recursive algorithm based on the non-tensor product of bivariate splines. Liu [19] constructed local multilevel scattered data interpolation by proposing a new idea (i.e., nested scattered data sets), and scaled the compactly supported RBFs. Borne and Wende [3] also considered the meshless scheme based on definite RBFs for scattered data interpolation. In their study, they applied the domain decomposition methods to produce a symmetric-saddle point system. Joldes et al. [20] modified the moving least squares (MLS) methods by integrating the polynomial bases to solve the scattered data interpolation problem. Brodlie et al. [5] discussed the constrained surface interpolation by using the Shepard interpolant. The solution to the problem is obtained by solving some optimization. Lai and Meile [21] discussed scattered data interpolation by using nonnegative bivariate triangular splines to preserve the shape of the scattered data. Schumaker and Speleers [22] considered the nonnegativity preservation of scattered data by using macro-element spline spaces including Clough–Tocher macro-elements. Furthermore, they also give general results for range-restricted interpolation. Karim et al. [23] discussed the spatial interpolation for rainfall data by employing cubic Bézier triangular patches to interpolate the scattered data. Karim et al. [24] have constructed a new type of cubic Bézier-like triangular patches for scattered data interpolation. Karim and Saaban [25] constructed the terrain data using cubic Ball triangular patches [23]. In this study, they show that the scattered data interpolation scheme by Said and Rahmat [26] is not C 1 everywhere. Thus, a new condition for C 1 continuity is derived. The final surface is C 1 and provides a smooth surface. Feng and Zhang [27] proposed piecewise bivariate Hermite interpolations based on triangulation. They applied the scheme for large scattered data sets to produce high-accuracy surface reconstruction. Sun et al. [28] constructed bivariate rational interpolation defined on a triangular domain for scattered data lying on a parallel line. They only considered a few data sets, and it was not tested for large data sets. By using a rational spline, the computation time increases. Bozzini et al. [4] proposed a polyharmonic spline to approximate the noisy scattered data.
The main motivation of the present study is described in the following paragraphs. In triangulation-based approaches to scattered data interpolation, cubic Bézier triangular or quintic Bézier triangular patches are the common methods. The quartic Bézier triangular has received less attention due to the need to solve optimization problems in order to calculate the Bézier ordinates. This approach increases the computation time. There are four steps in constructing a surface using a triangulation method: (a) triangulate the domain by using Delaunay triangulation; (b) specify the first partial derivative at the data points (sites); (c) assign the control points or ordinates for each triangular patch; and finally (d) the surface is constructed via a convex combination scheme. Goodman and Said [29] constructed a suitable C 1 triangular interpolant for scattered data interpolation using a convex combination scheme between three local schemes. Their work is different from that of Foley and Opitz [30]. However, both studies developed a C 1   cubic triangular convex combination scheme. Said and Rahmat [26] constructed a scattered data surface using cubic Ball triangular patches [31,32] with the same approach as in Goodman and Said [29]. Based on the numerical results, their scheme gave the same results as cubic Bézier triangular patches. The main advantages of cubic Ball triangular patches are that the required computation is 7% less when compared with the work of Goodman and Said [29]. This is what has been claimed by References [26,29]. However, in the work of Karim and Saaban [25], it was proved that Said and Rahmat [26] is not C 1 continuous everywhere, and Karim and Saaban [25] found that the [26] scheme produced the same surface for scattered data interpolation when the inner coefficient was calculated by using Reference [29]. Hussain and Hussain [33] proposed the rational cubic Bézier triangular for positivity-preserving scattered data interpolation. They claimed that their proposed scheme is C 1   positive everywhere. However, from their results, it is possible that their scheme may not be positive everywhere. Chan and Ong [7] considered range-restricted interpolation using a cubic Bézier triangular comprising three local schemes. All the schemes were implemented by estimating the partial derivatives at the respective knots using the method proposed by Goodman et al. [34].
Other than the use of cubic Ball and cubic Bézier triangular patches for scattered data interpolation, there are some studies that have utilized quartic Bézier triangular and rational quartic Bézier triangular patches for scattered data interpolation. For instance, Saaban et al. [35] constructed C 1 (or G 1 ) scattered data interpolation based on the quartic Bézier triangular. Piah et al. [36] considered C 1 range-restricted positivity-preserving scattered data interpolation by using the quartic Bézier triangular. They employed an optimization method (i.e., the minimized sum of squares) to calculate the inner Bézier points proposed in Saaban et al. [35]. Hussain et al. [37] extended this idea to construct convexity-preserving scattered data interpolation. Hussain et al. [38] constructed a new scattered data interpolation scheme by using the rational quartic Bézier triangular. They applied it to positivity-preserving interpolation. However, to achieve C 1 continuity, we still need to solve some optimization problems. This is the main weakness of quartic Bézier triangular patches when applied to scattered data interpolation. Some good surveys on scattered data interpolation can be found in [39,40,41,42,43].
The present study aims to answer the following research questions:
a. Can we construct a scattered data interpolation scheme by using quartic triangular patches but without an optimization method?
b. How can we produce a C 1   surface (everywhere)?
c. Is the proposed scheme better than some existing schemes in terms of CPU time, coefficient of determination (R2), and maximum error?
To answer these research questions, we will use the quartic triangular basis initiated by Zhu and Han [44]. The main advantage of using this quartic basis is that it only requires ten control points to construct one triangular patch. This is the same as the number of control points in the cubic Bézier triangular patch. Thus, in order to construct C 1 scattered data interpolation using the quartic spline triangular, we can employ the Foley and Opitz [30] cubic precision scheme to calculate the inner ordinates. With this, the optimization problem required in a quartic triangular basis will be avoided. Hence, this will show that the proposed scheme is local. Furthermore, the proposed scheme is different from the works of Lai and Meile [21] and Schumaker and Spellers [22], even though all schemes required triangulation of the given data in the first step.
Some contributions from the present study are described below:
1. The proposed scattered data interpolation scheme produces a C 1 surface without any optimization method like Piah et al. [36], Saaban et al. [35] and Hussain et al. [37,38].
2. The proposed scheme is local; meanwhile, the schemes presented in Piah et al. [36], Saaban et al. [35] and Hussain et al. [37,38] are global.
3. Based on the CPU time needed to construct the surface, the proposed scheme is faster than quartic Bézier triangular patches. Thus, the reconstruction of scattered surfaces from large data sets can be performed in less time.
4. Furthermore, the proposed positivity-preserving scattered data interpolation is capable of producing a better interpolated surface than quartic Bézier triangular patches. This lies in contrast to scattered data schemes by Ali et al. [1], Draman et al. [9] and Karim et al. [24], which are not positivity-preserving interpolations.
This paper is organized as follows: In Section 2 we give a review of the triangular basis initiated by Zhu and Han [44], and the derivation of the quartic triangular basis with ten control points. Some graphical results are presented, as well as the construction of a local scheme comprising convex combination between three local schemes. The numerical results and the discussion are given in Section 3 with various numerical and graphical results, including a comparison with some existing schemes. Error analysis is also investigated in this section. The construction of the positive scattered data interpolant is discussed in Section 4. Meanwhile, numerical results for positivity-preserving scattered data interpolation are shown in Section 5. Conclusions and future recommendations are given in the final section.

2. Materials and Methods

2.1. Review of the Cubic Triangular Bases of Zhu And Han

Zhu and Han [44] proposed a new cubic triangular basis with three exponential parameters α , β , γ . Since we are dealing with triangulation, the barycentric coordinate ( u , v , w ) on the triangle T 1 with vertices V 1 , V 2 and V 3 is defined by u + v + w = 1 , where u , v , w 0 . Set the point inside the triangle as V ( x , y ) R 2 (as shown in Figure 1), which can be expressed as:
V = u V 1 + v V 2 + w V 3
Definition 1. 
Let the parameters   α , β , γ [ 2 , ] and the triangular domain D = { ( u , v , w ) | u + v + w = 1 } ; the following are cubic Bernstein–Bézier basis functions ([44]):
{ B 3 , 0 , 0 3 ( u , v , w ; α , β , γ ) = u α ,   B 0 , 3 , 0 3 ( u , v , w ; α , β , γ ) = v β ,   B 0 , 0 , 3 3 ( u , v , w ; α , β , γ ) = w γ ,   B 2 , 1 , 0 3 ( u , v , w ; α , β , γ ) = u 2 v     [ 3 2 u u α 2 1 u ] ,   B 2 , 0 , 1 3 ( u , v , w ; α , β , γ ) = u 2 w     [ 3 2 u u α 2 1 u ] ,   B 1 , 2 , 0 3 ( u , v , w ; α , β , γ ) = u v 2   [ 3 2 v v β 2 1 v ] ,   B 0 , 2 , 1 3 ( u , v , w ; α , β , γ ) = v 2 w     [ 3 2 v v β 2 1 v ] ,   B 1 , 0 , 2 3 ( u , v , w ; α , β , γ ) = u w 2   [ 3 2 w w γ 2 1 w ] ,   B 0 , 1 , 2 3 ( u , v , w ; α , β , γ ) = v w 2   [ 3 2 w w γ 2 1 w ] ,   B 1 , 1 , 1 3 ( u , v , w ; α , β , γ ) = 6 u v w .
Zhu and Han’s triangular basis functions satisfy the following properties:
Non-negativity:
B i , j , k 3 ( u , v , w ; α , β , γ ) 0 ,     i + j + k = 3 .
Partition of unity:
i + j + k = 3 B i , j , k 3 ( u , v , w ; α , β , γ ) = 1 .
Symmetry:
B i , j , k 3 ( u , v , w ; α , β , γ ) = B i j k 3 ( w , v , u ; γ , β , α ) .
For more details on the other properties, please refer to Zhu and Han [44].
Zhu and Han’s triangular patches with three parameters α , β , and γ , and control points b i j k , i + j + k = 3 are defined as
P ( u , v , w ) = i + j + k = 3 b i j k B i , j , k 3 ( u , v , w ; α , β , γ ) ,     u + v + w = 1
Figure 2 shows the Zhu and Han ordinates, and Figure 3 shows one patch of the Zhu and Han triangular with α = β = γ = 3 (i.e., cubic Bézier triangular).

2.2. Quartic Zhu and Han Triangular Patches

From Equation (2), let α = β = γ = 4 , then we obtain the following ten quartic basis functions defined on the triangular domain:
{ B 3 , 0 , 0 3 ( u , v , w ; α , β , γ ) = u 4 ,   B 0 , 3 , 0 3 ( u , v , w ; α , β , γ ) = v 4 ,   B 0 , 0 , 3 3 ( u , v , w ; α , β , γ ) = w 4 ,   B 2 , 1 , 0 3 ( u , v , w ; α , β , γ ) = u 2 v     ( 3 + u ) ,   B 2 , 0 , 1 3 ( u , v , w ; α , β , γ ) = u 2 w     ( 3 + u ) ,   B 1 , 2 , 0 3 ( u , v , w ; α , β , γ ) = u v 2   ( 3 + v ) ,   B 0 , 2 , 1 3 ( u , v , w ; α , β , γ ) = v 2 w     ( 3 + v ) ,   B 1 , 0 , 2 3 ( u , v , w ; α , β , γ ) = u w 2   ( 3 + w ) ,   B 0 , 1 , 2 3 ( u , v , w ; α , β , γ ) = v w 2   ( 3 + w ) ,   B 1 , 1 , 1 3 ( u , v , w ; α , β , γ ) = 6 u v w .
Figure 4 shows the quartic triangular basis on the triangular domain.
Thus, the quartic Zhu and Han triangular patch can be defined by
P ( u , v , w ) = u 4 b 300 + v 4 b 030 + w 4 b 003 + u 2 v   ( 3 + u ) b 210 + ( 3 + u ) u 2 w b 201 + ( 3 + v ) v 2 u b 120 + ( 3 + v ) v 2 w b 021 + ( 3 + w ) w 2 u b 102 + ( 3 + w ) w 2 v b 012 + 6 u v w b 111
The main advantage of Zhu and Han’s quartic is that it only requires ten control points to construct one triangular patch; meanwhile, the quartic Bézier triangular will require 15 control points to produce one patch. Furthermore, when the quartic Bézier triangular is used for scattered data interpolation, an optimization method is required to produce the interpolated surface, as discussed in Saaban et al. [35], Piah et al. [36] and Hussain et al. [37,38]. However, if we apply the proposed quartic triangular patches for scattered data interpolation, the optimization is not required since we can employ the cubic precision scheme of Foley and Opitz [30] to construct a C 1 interpolated surface everywhere. So far, this is the first study to apply a a quartic triangular basis but with ten control points for scattered data interpolation.
Figure 5a shows examples of quartic Zhu and Han, and Figure 5b shows the quartic Bézier triangular patch.

2.3. Scattered Data Interpolation Using Quartic Zhu and Han Triangular Patches

To apply the quartic triangular patch defined in Section 2.2 for scattered data, we use the local scheme comprising a convex combination between three local schemes K 1 , K 2 , and K 3 [1,9,24] such that:
P ( u , v , w ) = v w K 1 + u w K 2 + u v K 3 v w + u w + u v ,     u + v + w = 1
The local scheme   K i , i = 1 , 2 , 3 is obtained by replacing b 111 in (5) with b 111 i to ensure the C 1 condition is satisfied. Given the vertex of the triangle (i.e., F ( V 1 ) = b 300 ,   F ( V 2 ) = b 030 , and F ( V 3 ) = b 003 ), the derivative along e j k (see Figure 6)—that is, the edge connecting two points ( x j y j ) and ( x k y k ) —is defined as [1,9,24,29]:
P e j k = ( x k x j ) F x + ( y k y j ) F y
Thus
b 210 = F ( V 1 ) + 1 4 P e 3 ( V 1 )
which can be simplified as
b 210 = b 300 + 1 4 ( ( x 2 x 1 ) F x ( V 1 ) + ( y 2 y 1 ) F y ( V 1 ) )
Similarly, the other five ordinates are calculated as follows:
b 201 = b 300 1 4 ( ( x 1 x 3 ) F x ( V 1 ) + ( y 1 y 3 ) F y ( V 1 ) )
b 021 = b 030 + 1 4 ( ( x 3 x 2 ) F x ( V 2 ) + ( y 3 y 2 ) F y ( V 2 ) )
b 120 = b 030 1 4 ( ( x 2 x 1 ) F x ( V 2 ) + ( y 2 y 1 ) F y ( V 2 ) )
b 102 = b 003 + 1 4 ( ( x 1 x 3 ) F x ( V 3 ) + ( y 1 y 3 ) F y ( V 3 ) )
b 012 = b 003 1 4 ( ( x 3 x 2 ) F x ( V 3 ) + ( y 3 y 2 ) F y ( V 3 ) )
The remaining b 111 i , i = 1 , 2 , 3 is obtained by using the cubic precision of Foley and Opitz [30] as shown in Figure 7. For complete derivation, the reader can refer to [30].
In order to achieve C1 continuity along all edges, the following equations must be satisfied:
c 201 = r 2 b 210 + 2 s t b 021 + 2 r s b 120 + s 2 b 030 + 2 r t b 111 2 + t 2 b 012
c 210 = r 2 b 201 + 2 s t b 012 + 2 r t b 102 + s 2 b 021 + 2 r s b 111 1 + t 2 b 003
b 210 = u 2 c 201 + 2 v w c 012 + 2 u w c 102 + v 2 c 021 + 2 u v c 111 1 + w 2 c 003
b 201 = u 2 c 210 + 2 v w c 021 + 2 u w c 120 + v 2 c 030 + 2 u v c 111 1 + w 2 c 012
To find c 111 1 in (13) and (14), we need to add these equations together. Thus, we obtain
c 111 1 = 1 2 u ( v + w ) ( b 201 + b 210 u 2 ( c 210 + c 201 ) v 2 ( c 030 + c 021 ) )       + w 2 ( c 012 + c 003 ) 2 v w ( c 021 + c 012 ) u v c 120 2 u w c 102 .
Similarly, with Equations (15) and (16), we obtain
b 111 1 = 1 2 r ( s + t ) ( c 201 + c 210 r 2 ( b 210 + b 201 ) s 2 ( b 030 + b 021 ) )        + t 2 ( b 012 + b 003 ) 2 s t ( b 021 + b 012 ) r s b 120 2 r t b 102 .
Now we establish the theorem for the main result.
Theorem 1. 
The local scheme defined by (6) is a rational function with degree 7, that is, degree five in numerator and degree two in denominator with C 1   continuity everywhere. It has the following form:
P ( u , v , w ) = i + j + k = 3   i , j , k 1   b i j k B i , j , k 3 ( u , v , w ) + 6 u v w     ( a 1 b 111 1 + a 2 b 111 2 + a 3 b 111 3 )
with
a 1 = v w v w + u w + u v , a 2 = u w v w + u w + u v , a 3 = u v v w + u w + u v
and the barycentric coordinate satisfies u + v + w = 1 .
The following Algorithm 1 can be used to implement the proposed scheme.
Algorithm 1 (Scattered Data Interpolation)
Step 1: Input scattered data points;
Step 2: Estimate the partial derivative at the data points by using [25];
Step 3: Triangulate the domain of the data points;
Step 4: Calculate the boundary control points using Equations (7)–(12);
Step 5: Calculate inner control points for the local scheme, b 111 i , i = 1 , 2 , 3 by using the cubic precision method as in Foley and Opitz [30];
Step 6: Construct the interpolated surface using the convex combination method of three local schemes defined by (6);
Step 7: Calculate CPU time (in seconds), R2, and maximum error. Repeat steps 1 through 6 for the other scattered data sets.
Below we give the theorem for scattered data interpolation by using quartic Bézier triangular patches.
Theorem 2. 
C1 quartic Bézier triangular patches using minimized sum of squares of principal curvatures [35].
Let the quartic Bézier triangular patch (n = 4) with barycentric coordinates u, v, w be expressed as
S ( u ,   v ,   w ) = i + j + k = 4 c i j k B i j k 4 ( u , v , w )
where B i j k 4 ( u , v , w ) = 4 ! i ! j ! k ! u i v j v k and c i j k are the Bézier ordinates of S. Let the total number of triangles in the whole triangular mesh be nt and the total number of interior edges be ne. S(x,y) which will minimize the functional I(S(x,y)) leads to the optimization problem xT Qx + ex + h, subject to the C1 continuity constraint:
m i n   x x T Q x + e x + h   subject   to   Ax = b
where Q is a 6nt × 6nt sparse matrix, e is a 1 × 6nt row vector, x is a 6nt × 1 column vector consisting of unknown ordinates ( b 220 m   b 211 m   b 121 m   b 202 m   b 112 m   b 022 m ) , m = 1 , , n t , h is a real constant, A is a 3ne × 6nt ( 3 n e 6 n t ) coefficient matrix, x is a 6nt × 1 unknown column vector consisting of the remaining ordinates b220, b202, b022, b211, b121 and b112 to be determined for the entire triangular mesh, and b is a 3ne × 1 constant column vector. The optimization problem stated in (18) was solved using the optimization toolbox in MATLAB 2017 on Intel® Core ™ i5-8250U 1.60 GHz.
Note that the optimization problem in Theorem 2 is obtained by using a minimized principal curvature norm with respect to the C1 continuity constraint, which results in a global method for scattered data interpolation. Meanwhile, by using the proposed scheme in this study, the resulting surface is local.

3. Results and Discussion for Scattered Data Interpolation

We tested the proposed scheme using two well-known test functions F 1 ( x , y ) and F 2 ( x , y ) :
F 1 ( x , y ) = 0.75 e ( ( 9 x 2 ) 2 + ( 9 y 2 ) 2 / 4 ) + 0.75 e ( ( 9 x + 1 ) 2 / 49 ( 9 y + 1 ) 2 / 10 ) + 0.5 e ( ( 9 x 7 ) 2 + ( 9 y 3 ) 2 / 4 ) 0.2 e ( ( 9 x 4 ) 2 ( 9 y 7 ) 2 )
F 2 ( x , y ) = ( 1.25 + c o s   c o s   ( 5.4 y ) ) 6 + 6 ( 3 x 1 ) 2
We implemented the proposed scheme using MATLAB 2017 version on Intel® Core ™ i5-8250U 1.60 GHz. MATLAB coding was developed based on Algorithm 1. About 25 MATLAB functions were used to obtain all the results.
We chose 36 data point samples in the domain [ 0 , 1 ] × [ 0 , 1 ] , as shown in Table 1. Figure 8 shows the Delaunay triangulation for the data. Figure 6 shows examples of surface interpolation for both functions. Comparing Figure 9 and Figure 10, the surfaces produced by the proposed scheme visually look smoother than the surfaces obtained from the quartic Bézier triangular of Saaban et al. [35] and Piah et al. [36]. Figure 10 shows an example of scattered data interpolation using quartic Bézier triangular patches.
To validate the proposed scheme, we calculated the maximum error (Max Error) and coefficient of determination (COD; i.e., R2) for both functions and compared them with those obtained for quartic Bézier triangular for three different numbers of points i.e., 100, 65, and 36 for both functions F 1 ( x , y ) and F 2 ( x , y ) . Functions 1 and 2 represent F 1 ( x , y ) and F 2 ( x , y ) , respectively.
Table 2 shows the error analysis for both tested functions by using (a) quartic Zhu and Han and (b) quartic Bézier triangular. Meanwhile, Table 3 shows CPU time in seconds. From Table 2, we can see that the proposed quartic triangular patches for scattered data interpolation gave smaller Max Error values than the quartic Bézier triangular. Additionally, the proposed scheme gave higher R2 values for all numbers of data points (100, 65, and 36). From Table 3, the proposed scheme required less CPU time than the quartic Bézier. For instance, for 100 data points, the proposed scheme only required 0.71 s for data from function F 1 ( x , y ) and 0.42 s for data from function F 2 ( x , y ) , compared with the quartic Bézier which requires 5.6 s and 3.57 s for 100 data points from functions F 1 ( x , y ) and F 2 ( x , y ) , respectively. Thus, the proposed scheme in this study gave very good results, and was better at treating scattered data than using the quartic Bézier triangular proposed by Piah et al. [36], Saaban et al. [35], and Hussain et al. [37,38]. We conclude that the proposed scheme required less CPU time than the quartic Bézier triangular. This reduction of CPU time consumption is an advantage when the goal is to construct a surface with thousands of data points or big data.
This can be seen clearly from Table 3. With the largest number of data points, the CPU time for the proposed scheme was approximately 12.5% that of the CPU time required for the quartic Bézier triangular based scheme. This is very significant, especially when the user wants to render and reconstruct surfaces obtained from very dense data sets. Many studies in scattered data interpolation usually involve the use of Shepard-type interpolants such as Shepard triangular schemes for scattered data interpolation [6,11,12,13]. We also implemented the Shepard triangular to the same data sets as listed in Table 1. Table 4 and Table 5 show the error analysis for the schemes of Cavoretto et al. [6], Dell’Accio et al. [12,13], and Dell’Accio and Di Tommaso [11]. Based on CPU time, for all tested data sets, the proposed scheme was faster than the schemes in [6,11,12,13], except for the case with 100 data points for the data from function F 1 ( x , y ) . Considering the Max Error, the proposed scheme was better than all four schemes except for the case with 100 data points from function F 2 ( x , y ) . Therefore, we can conclude that the proposed scheme is better than quartic triangular patch and the Shepard triangular based schemes [6,11,12,13].

4. Positivity-Preserving Scattered Data Interpolation

In this section, we apply the proposed scheme discussed in the previous section to preserve the positivity of scattered data sets. To do this, first we derive the sufficient condition for the positivity of the quartic triangular spline defined in (5). Finally, the rational corrected scheme defined by (19) will be used to construct a positive surface with C1 continuity.
To derive the sufficient condition for the positivity of the quartic spline triangular patch, we adopted a similar approach to Saaban et al. [35] and Piah et al. [36]. Assume that the quartic ordinates at the vertices are strictly positive such b 300 , b 030 , b 003 > 0 . Let A = b 300 , B = b 030 , C = b 003 , therefore A , B , C > 0 (see Figure 11). Meanwhile, let the other ordinates have the same value, that is t < 0 where t > 0 . Thus, Equation (5) becomes
P ( u , v , w ) = A u 4 + B v 4 + C w 4 t ( u 2 v     ( 3 + u ) + ( 3 + u ) u 2 w + ( 3 + v ) v 2 u + ( 3 + v ) v 2 w + ( 3 + w ) w 2 u + ( 3 + w ) w 2 v + 6 u v w ) = A u 4 + B v 4 + C w 4 t ( 1 u 4 v 4 w 4 ) = ( A + t ) u 4 + ( B + t ) v 4 + ( C + t ) w 4 t
From (23) we can observe that when t = 0 then P ( u , v , w ) > 0 . Meanwhile as t increases, P ( u , v , w ) decreases. We want to find the value of t = t 0 when the minimum value of P ( u , v , w ) = 0 . By taking first partial derivatives, we will obtain the following:
P ( u , v , w ) u = 4 ( A + t ) u 3 , P ( u , v , w ) v = 4 ( B + t ) v 3 , P ( u , v , w ) w = 4 ( C + t ) w 3 .
The minimum value of P ( u , v , w ) occurs when
P u P v = 0 and P u P w = 0 or equivalently.
P u = P v = P w
From Equation (25) we have
u 3 v 3 = B + t A + t and u 3 w 3 = C + t A + t
Hence:
u 3 : v 3 : w 3 = 1 A + t : 1 B + t : 1 C + t .
Since u + v + w = 1 , we obtain the following relations:
u = 1 ( A + t ) 1 / 3 1 ( A + t ) 1 / 3 + 1 ( B + t ) 1 / 3 + 1 ( C + t ) 1 / 3 ,
v = 1 ( B + t ) 1 / 3 1 ( A + t ) 1 / 3 + 1 ( B + t ) 1 / 3 + 1 ( C + t ) 1 / 3 ,   and
w = 1 ( C + t ) 1 / 3 1 ( A + t ) 1 / 3 + 1 ( B + t ) 1 / 3 + 1 ( C + t ) 1 / 3 .
Substituting this value into (23) we obtain the minimum value of P ( u , v , w ) i.e.,
P ( u , v , w ) 1 [ 1 ( A + t ) 1 / 3 + 1 ( B + t ) 1 / 3 + 1 ( C + t ) 1 / 3 ] 3 m i n which can be simplified to
P ( u , v , w ) t [ 1 ( A / t + 1 ) 1 / 3 + 1 ( B / t + 1 ) 1 / 3 + 1 ( C / t + 1 ) 1 / 3 ] 3 m i n
Now, P ( u , v , w ) m i n when
1 ( A / t + 1 ) 1 / 3 + 1 ( B / t + 1 ) 1 / 3 + 1 ( C / t + 1 ) 1 / 3 = 1
Let s = 1 / t , then
G ( s ) = 1 ( A s + 1 ) 1 / 3 + 1 ( B s + 1 ) 1 / 3 + 1 ( C s + 1 ) 1 / 3
Then Equation (27) can be written as G ( s ) = 1 , s 0 . This equation can be solved by using regula-falsi method with suitable choice of initial guess.
Since A , B , C > 0 and s 0 then G ( s ) < 0 and G ( s ) > 0 . (see Figure 12). Thus, the curve is convex on that region. Let X = max ( A , B , C ) and Y = min ( A , B , C ) , then the following holds
3 X s + 1 3 G ( s ) 3 Y s + 1 3
Such that
G ( 26 X ) 1   and   G ( 26 Y ) 1 .
Figure 12 shows the example of the relative locations of 26 X and 26 Y and s 0 .
Now we establish the main theorem for positivity preservation using the proposed scheme.
Theorem 3. 
Consider the quartic triangular patch P ( u , v , w ) with vertex A = b 300 , B = b 030 , C = b 003 , such that A , B , C > 0 . If the remaining quartic triangular ordinates are equal to t 0 where t 0 = 1 s 0 is a unique solution to (28), then P ( u , v , w ) 0 for all u , v , w 0 and u + v + w = 1 .
Some observations from Theorem 3 can be made as follows:
Let A = B > C = 1 . Then, we have
G ( s ) = 2 ( A s + 1 ) 1 / 3 + 1 ( s + 1 ) 1 / 3
Therefore, as A , then G ( s ) 1 ( s + 1 ) 1 / 3 . Hence, s 0 0 and therefore t 0 . Thus, the ordinate values are unbounded compared with the work of Chan and Ong [7] in which the Bézier ordinates are bounded by a lower bound −1/3.
Remark 1. 
The sufficient condition for the positivity of the quartic triangular patch developed in this study is the same as the sufficient condition for the quartic Bézier triangular patch developed in Saaban et al. [35]. The main difference is that the proposed quartic polynomial only requires ten control points (or ordinates) as compared to the quartic Bézier triangular which requires 15 control points and involves some optimization problems as shown in Saaban et al. [35] and Hussain et al. [37,38]. Therefore, the proposed positivity preservation using a quartic triangular patch requires less computation time than some established schemes for scattered data interpolation.
The final construction of the positive scattered surface is described below:
1. Input positive scattered data points;
2. Triangulate the scattered data using Delaunay triangulation;
3. Assign the first partial derivative at the respective data sites and adjust if necessary, to provide the positivity preservation;
4. The C 1 triangular surface is constructed via convex combination between three local schemes;
5. Repeat Steps 1 through 4 for other positive scattered data sets.

5. Numerical Results and Discussion for Positivity-Preserving Scattered Data Interpolation

After we derive the sufficient condition for the positivity of quartic triangular patch, the final C 1 scattered data scheme for positivity preservation can be written as follows:
P ( u , v , w ) = i + j + k = 3 i , j , k 1 b i j k B i , j , k 3 ( u , v , w ) + 6 u v w ( a 1 b 111 1 + a 2 b 111 2 + a 3 b 111 3 )
with
a 1 = v w v w + u w + u v , a 2 = u w v w + u w + u v , a 3 = u v v w + u w + u v
We test the proposed scheme by using four well-known test functions given below:
F 1 ( x , y ) = { 1.0 if ( y x ) 0.5 2 ( y x ) if 0.5 ( y x ) 0.0 cos ( 4 π ( x 1.5 ) 2 + ( y 0.5 ) 2 + 1 2 if ( x 1.5 ) 2 + ( y 0.5 ) 2 1 16 0 elsewhereon [ 0 , 2 ] x [ 0 , 1 ]
F 2 ( x , y ) = 1.025 0.75 e ( 6 x 1 ) 2 ( 6 y 1 ) 2 0.75 e ( 9 x + 1 ) 2 / 49 ( 9 y + 1 ) 2 / 10 0.5 e ( 9 x 7 ) 2 ( 9 y 3 ) 2 0.5 e ( 10 x 4 ) 2 ( 10 y 7 ) 2
F 3 ( x , y ) = x 4 + y 4
F 4 ( x , y ) = e ( 5 10 x ) 2 / 2 + 0.75 e ( 5 10 y ) 2 / 2 + 0.75 e ( 5 10 x ) 2 / 2 e ( 5 10 y ) 2 / 2
The positive test functions F1, F2, F3, and F4 were evaluated on 36, 33, 26, and 100 node points respectively (Table 6, Table 7, Table 8 and Table 9) where all function values were greater than or equal to zero. The nodes of 36 and 33 points were defined on a rectangular domain (Figure 13a,b), while the 26- and 100-point nodes were defined on a sparse non-rectangular domain (Figure 13c,d). Table 8 and Table 9 show examples of irregular scattered data sets.
For test function F 1 as the data in Table 6, the interpolated surface did not preserve the positivity of the original surface for the C1 Zhu and Han quartic (from Theorem 1), as shown in Figure 14a with calculated   m i n   F 1 ( x , y ) ( x , y ) D = 0 . 039975 . Observe that these surfaces cross the xy-plane at a number of places. After applying positivity-preserving methods from Theorem 3, the result is shown in Figure 14b, where the interpolated surfaces lie above or on the xy-plane m i n   F 1 ( x , y ) ( x , y ) D = 0 .
For test function F 2 as the data in Table 7, the interpolated surface did not preserve the positivity of the original surface for the C1 Zhu and Han quartic as shown in Figure 15a, with calculated   m i n   F 2 ( x , y ) ( x , y ) D = 0 . 039975 . These surfaces cross the xy-plane at a number of places. Using the proposed positivity-preserving methods, the interpolated surface lies above or on the xy-plane, as shown in Figure 15b, with calculated m i n   F 2 ( x , y ) ( x , y ) D = 0 . 0072657 .
For the third test function defined on a sparse non-rectangular domain (data in Table 8), the interpolated surface did not preserve the positivity, as shown in Figure 16a where the surface crosses below the xy-plane with m i n   F 3 ( x , y ) ( x , y ) D = 0 . 0053288 and the positivity-preserving interpolated surface using the proposed scheme is shown in Figure 16b where the surface lies above or on the xy-plane, with calculated.
The interpolated surface of the Zhu and Han C1 quartic without positivity preservation is given in Figure 17a, with calculated m i n   F 4 ( x , y ) ( x , y ) D = 0 . 67634 , while the positivity-preserved surface lying above the xy-plane is illustrated in Figure 17b with calculated m i n   F 4 ( x , y ) ( x , y ) D = 0.000074928 .
We also calculated the CPU time (in seconds), maximum error, and coefficient of determination (R2) for the positivity-preserving scattered data interpolation as shown in Table 10 and Table 11. Once again, the proposed scheme was superior to the quartic Bézier triangular patch. For positivity preservation in scattered data interpolation with dense data sets (i.e., 100 data points with 1697 points of evaluation), the proposed scheme only required 0.5168 s, compared with the quartic Bézier which required 18.5996 s. This is about 36 times faster than the times obtained by the schemes of Saaban et al. [35] and Piah et al. [36]. Roughly, the proposed scheme only required about 2.78% of the CPU times of schemes [35,36]. This is very significant when we want to visualize thousands of scattered data points.
Our final example is devoted to the coronavirus disease 2019 (COVID-19) cases at Selangor State and Klang Valley in Malaysia until 15 April 2020. There were 5072 positive cases in Malaysia on 15 April 2020. Selangor and Klang Valley alone had about 2296 positive cases. This represents 45.27% of all COVID-19 cases in Malaysia. Table 12 shows the number of positive COVID-19 cases in 14 districts of Selangor and Klang Valley, including Putrajaya [45].
Figure 18 and Figure 19 show the example of surface interpolation for COVID-19 scattered data listed in Table 12. Figure 18 shows the interpolated surface without positivity preservation. Figure 19 shows the interpolated surface after we applied the positivity-preserving scheme. Clearly, Figure 19 is suitable for the relevant agency to visualize the number of COVID-19 cases. Then, they can prepare any contingency plan for the spread of COVID-19. They could also try to minimize the spread of COVID-19. This is very crucial, since at the time of writing there are no available vaccines to cure the patients.

6. Conclusions

Zhu and Han [44] proposed new cubic Bernstein–Bézier basis functions defined on a triangular domain. We implemented quartic triangular bases (with ten control points) for scattered data interpolation. This new quartic basis makes it possible to avoid the optimization problem that appears when the quartic Bézier triangular is used for scattered data interpolation. From the results, we can see that the proposed scheme in this study outperformed the quartic Bézier triangular, having the smallest maximum error, higher R2, and requiring only 12.5% of the CPU time needed by the quartic Bézier triangular scheme. This is very significant, especially when the goal is to reconstruct surfaces from large scattered data sets. Furthermore, based on a comparison against the Shepard triangular for scattered data, the proposed scheme was also superior to the schemes of Cavoretto et al. [6], Dell’Accio et al. [12,13] and Dell’Accio and Di Tommaso [11]. Finally, we constructed a positive interpolant based on the proposed quartic triangular spline to preserve the positivity of scattered data. Numerical results suggest that the proposed scheme is better than existing schemes, especially in terms of CPU time—our proposed scheme requires less computation time than positivity schemes proposed by Piah et al. [36] and Saaban et al. [35]. Finally, we implemented our proposed positivity-preserving interpolation to visualize COVID-19 cases in Selangor State and Klang Valley, Malaysia. The resulting surfaces were smooth and positive everywhere. Future works will focus on the construction of a quintic Zhu and Han spline for scattered data interpolation with quintic precision as well as shape-preserving interpolation (e.g., positivity-preserving and range-restricted interpolation). This can be achieved by extending the main idea from Karim et al. [46]. Another potential study could be a comparison between the use of a CPU and a graphical processing unit (GPU) for large scattered data sets. Finally, the proposed scheme can also be applied to visualize large sets of scattered data, such as from geophysical data, medical imaging, and total COVID-19 cases around the world.

Author Contributions

Conceptualization, V.T.N.; Data curation, S.A.A.K., A.S. and V.T.N.; Formal analysis, S.A.A.K., A.S. and V.T.N.; Funding acquisition, S.A.A.K.; Investigation, S.A.A.K.; Methodology, S.A.A.K. and A.S.; Resources, S.A.A.K. and V.T.N.; Software, S.A.A.K. and A.S.; Validation, S.A.A.K., A.S. and V.T.N.; Visualization, S.A.A.K., A.S. and V.T.N.; Writing—original draft, S.A.A.K.; Writing—review and editing, S.A.A.K., A.S. and V.T.N. All authors have read and agreed to the published version of the manuscript.

Funding

This research is fully supported by Universiti Teknologi PETRONAS (UTP) and Ministry of Education (MOE), Malaysia for the financial support received in the form of a research grant: FRGS/1/2018/STG06/UTP/03/1/015MA0-020 (New Rational Quartic Spline For Image Refinement) and YUTP: 0153AA-H24 (Spline Triangulation for Spatial Interpolation of Geophysical Data).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Ali, F.A.M.; Karim, S.A.A.; Bin Saaban, A.; Hasan, M.K.; Ghaffar, A.; Nisar, K.S.; Baleanu, D. Construction of Cubic Timmer Triangular Patches and its Application in Scattered Data Interpolation. Mathematics 2020, 8, 159. [Google Scholar] [CrossRef] [Green Version]
  2. Bracco, C.; Gianelli, C.; Sestini, A. Adaptive scattered data fitting by extension of local approximations to hierachical splines. Comput. Aided Geom. Des. 2017, 52–53, 90–105. [Google Scholar] [CrossRef] [Green Version]
  3. Borne, S.L.; Wende, M. Domain decomposition methods in scattered data interpolation with conditionally positive definite radial basis functions. Comput. Math. Appl. 2018, 77, 1178–1196. [Google Scholar] [CrossRef]
  4. Bozzini, M.; Lenarduzzi, L.; Rossini, M. Polyharmonic splines: An approximation method for noisy scattered data of extra-large size. Appl. Math. Comput. 2010, 216, 317–331. [Google Scholar] [CrossRef]
  5. Brodlie, K.W.; Asim, M.R.; Unsworth, K. Constrained Visualization Using the Shepard Interpolation Family. Comput. Graph. Forum 2005, 24, 809–820. [Google Scholar] [CrossRef]
  6. Cavoretto, R.; De Rossi, A.; Dell’Accio, F.; Di Tommaso, F. Fast computation of triangular Shepard interpolants. J. Comput. Appl. Math. 2019, 354, 457–470. [Google Scholar] [CrossRef]
  7. Chan, E.; Ong, B. Range restricted scattered data interpolation using convex combination of cubic Bézier triangles. J. Comput. Appl. Math. 2001, 136, 135–147. [Google Scholar] [CrossRef] [Green Version]
  8. Chang, L.; Said, H. A C2 triangular patch for the interpolation of functional scattered data. Comput. Des. 1997, 29, 407–412. [Google Scholar] [CrossRef]
  9. Draman, N.N.C.; Karim, S.A.A.; Hashim, I. Scattered Data Interpolation Using Rational Quartic Triangular Patches With Three Parameters. IEEE Access 2020, 8, 44239–44262. [Google Scholar] [CrossRef]
  10. Fasshauer, G.E. Meshfree Approximation Methods with Matlab; World Scientific Publishing Co Pte Ltd.: Singapore, 2007. [Google Scholar]
  11. Dell’Accio, F.; Di Tommaso, F. On the hexagonal Shepard method. Appl. Numer. Math. 2020, 150, 51–64. [Google Scholar] [CrossRef]
  12. Dell’Accio, F.; Di Tommaso, F.; Nouisser, O.; Zerroudi, B. Increasing the approximation order of the triangular Shepard method. Appl. Numer. Math. 2018, 126, 78–91. [Google Scholar] [CrossRef]
  13. Dell’Accio, F.; Di Tommaso, F.; Hormann, K. On the approximation order of triangular Shepard interpolation. IMA J. Numer. Anal. 2015, 36, 359–379. [Google Scholar] [CrossRef]
  14. Crivellaro, A.; Perotto, S.; Zonca, S. Reconstruction of 3D scattered data via radial basis functions by efficient and robust techniques. Appl. Numer. Math. 2017, 113, 93–108. [Google Scholar] [CrossRef]
  15. Chen, Z.; Cao, F. Scattered data approximation by neural networks operators. Neurocomputing 2016, 190, 237–242. [Google Scholar] [CrossRef]
  16. Zhou, T.; Li, Z. Scattered Noisy Data Fitting Using Bivariate Splines. Procedia Eng. 2011, 15, 1942–1946. [Google Scholar] [CrossRef] [Green Version]
  17. Zhou, T.; Li, Z. Scattered noisy Hermite data fitting using an extension of the weighted least squares method. Comput. Math. Appl. 2013, 65, 1967–1977. [Google Scholar] [CrossRef]
  18. Qian, J.; Wang, F.; Zhu, C. Scattered data interpolation based upon bivariate recursive polynomials. J. Comput. Appl. Math. 2018, 329, 223–243. [Google Scholar] [CrossRef]
  19. Liu, Z. Local multilevel scattered data interpolation. Eng. Anal. Bound. Elements 2018, 92, 101–107. [Google Scholar] [CrossRef]
  20. Joldes, G.; Chowdhury, H.A.; Wittek, A.; Doyle, B.J.; Miller, K. Modified moving least squares with polynomial bases for scattered data approximation. Appl. Math. Comput. 2015, 266, 893–902. [Google Scholar] [CrossRef] [Green Version]
  21. Lai, M.-J.; Meile, C. Scattered data interpolation with nonnegative preservation using bivariate splines and its application. Comput. Aided Geom. Des. 2015, 34, 37–49. [Google Scholar] [CrossRef]
  22. Schumaker, L.L.; Speleers, H. Nonnegativity preserving macro-element interpolation of scattered data. Comput. Aided Geom. Des. 2010, 27, 245–261. [Google Scholar] [CrossRef] [Green Version]
  23. Karim, S.A.A.; Saaban, A.; Hasan, M.K.; Sulaiman, J.; Hashim, I. Interpolation using cubic Bézier triangular patches. Int. J. Adv. Sci. Eng. Inf. Technol. 2018, 8, 1746–1752. [Google Scholar] [CrossRef]
  24. Karim, S.A.A.; Saaban, A.; Skala, V.; Ghaffar, A.; Nisar, K.S.; Baleanu, D. Construction of new cubic Bézier-like triangular patches with application in scattered data interpolation. Available online: https://link.springer.com/content/pdf/10.1186/s13662-020-02598-w.pdf (accessed on 29 March 2020).
  25. Karim, S.A.B.A.; Saaban, A. Visualization Terrain Data Using Cubic Ball Triangular Patches. MATEC Web Conf. 2018, 225, 06023. [Google Scholar] [CrossRef]
  26. Said, H.B.; Rahmat, R.W. A Cubic Ball Triangular Patch for Scattered Data Interpolation. J. Phys. Sci. 1995, 5, 89–101. [Google Scholar]
  27. Feng, R.; Zhang, Y. Piecewise Bivariate Hermite Interpolations for Large Sets of Scattered Data. J. Appl. Math. 2013, 2013, 1–10. [Google Scholar] [CrossRef]
  28. Sun, Q.; Bao, F.; Zhang, Y.; Duan, Q. A bivariate rational interpolation based on scattered data on parallel lines. J. Vis. Commun. Image Represent. 2013, 24, 75–80. [Google Scholar] [CrossRef]
  29. Goodman, T.N.T.; Said, H.B. A C1- triangular interpolation suitable for scattered data interpolation. Commun. Appl. Numer. Methods 1991, 7, 479–485. [Google Scholar] [CrossRef]
  30. Foley, T.A.; Opitz, K. Hybrid cubic Bézier triangle patches. In Mathematical Methods in Computer Aided Geometric Design II; Lyche, T., Schumaker, L.L., Eds.; Academic Press: Cambridge, MA, USA, 1992; pp. 275–286. [Google Scholar]
  31. Goodman, T.; Said, H. Shape preserving properties of the generalised ball basis. Comput. Aided Geom. Des. 1991, 8, 115–121. [Google Scholar] [CrossRef]
  32. Goodman, T.; Said, H. Properties of generalized Ball curves and surfaces. Comput. Aided Des. 1991, 23, 554–560. [Google Scholar] [CrossRef]
  33. Hussain, M.Z.; Hussain, M. C1 positivity preserving scattered data interpolation using rational Bernstein-Bézier triangular patch. J. Appl. Math. Comput. 2009, 35, 281–293. [Google Scholar] [CrossRef]
  34. Goodman, T.; Said, H.; Chang, L. Local derivative estimation for scattered data interpolation. Appl. Math. Comput. 1995, 68, 41–50. [Google Scholar] [CrossRef]
  35. Saaban, A.; Piah, A.R.M.; Majid, A.A.; Chang, L.H.T. G1 scattered data interpolation with minimized sum of squares of principle curvatures. In Proceedings of the International Conference on Computer Graphics, Imaging and Visualization (CGIV’05), Beijing, China, 26–29 July 2005; pp. 385–390. [Google Scholar]
  36. Piah, A.R.M.; Saaban, A.; Majid, A.A. Range restricted positivity-preserving scattered data interpolation. Malays. J. Fundam. Appl. Sci. 2014, 2, 63–75. [Google Scholar] [CrossRef] [Green Version]
  37. Hussain, M.; Majid, A.A.; Hussain, M.Z. Convexity-preserving Bernstein–Bézier quartic scheme. Egypt. Inform. J. 2014, 15, 89–95. [Google Scholar] [CrossRef]
  38. Hussain, M.; Hussain, M.Z.; Buttar, M. C1 Positive Bernstein-Bézier Rational Quartic Interpolation. Int. J. Math. Models Methods Appl. Sci. 2014, 8, 9–21. [Google Scholar]
  39. Farin, G. Curves and Surfaces for CAGD: A Practicle Guide, 5th ed.; Palmer, C., Ed.; Morgan Kaufmann: San Diego, CA, USA, 2001. [Google Scholar]
  40. Franke, R. Scattered Data Interpolation: Tests of Some Method. Math. Comput. 1982, 38, 181. [Google Scholar] [CrossRef]
  41. Franke, R.; Nielson, G.M. Scattered data interpolation of large Sets of scattered data. Int. J. Numer. Methods Eng. 1980, 15, 1691–1704. [Google Scholar] [CrossRef]
  42. Franke, R.; Nielson, G.M. Scattered Data Interpolation and Applications: A Tutorial and Survey; Scattered data interpolation and applications: A tutorial and survey. In Geometric Modelling: Methods and Applications; Hagen, H., Roller, D., Eds.; Springer Science and Business Media LLC: Berlin/Heidelberg, Germany, 1991; pp. 131–160. [Google Scholar]
  43. Lodha, S.; Franke, R. Scattered Data Techniques for Surfaces. In Proceedings of the Scientific Visualization Conference (dagstuhl ’97), Dagstuhl, Germany, 9–13 June 1997; pp. 189–230. [Google Scholar]
  44. Zhu, Y.; Han, X. A class of αβγ-Bernstein–Bézier basis functions over triangular domain. Appl. Math. Comput. 2013, 220, 446–454. [Google Scholar] [CrossRef]
  45. Press statement by the Director-General of Health Malaysia, Ministry of Health Malaysia. Available online: https://kpkesihatan.com (accessed on 15 April 2020).
  46. Karim, S.A.A.; Saaban, A.; Skala, V. Range-Restricted Surface Interpolation Using Rational Bi-Cubic Spline Functions with 12 Parameters. IEEE Access 2019, 7, 104992–105007. [Google Scholar] [CrossRef]
Figure 1. Triangle.
Figure 1. Triangle.
Symmetry 12 01071 g001
Figure 2. The 10 quartic triangular ordinates (control points).
Figure 2. The 10 quartic triangular ordinates (control points).
Symmetry 12 01071 g002
Figure 3. One patch (Zhu and Han [44]).
Figure 3. One patch (Zhu and Han [44]).
Symmetry 12 01071 g003
Figure 4. Quartic triangular basis functions.
Figure 4. Quartic triangular basis functions.
Symmetry 12 01071 g004
Figure 5. Quartic triangular patches. (a) Quartic Zhu and Han [44]; (b) Quartic Bézier triangular.
Figure 5. Quartic triangular patches. (a) Quartic Zhu and Han [44]; (b) Quartic Bézier triangular.
Symmetry 12 01071 g005
Figure 6. Side-vertex blending.
Figure 6. Side-vertex blending.
Symmetry 12 01071 g006
Figure 7. Two adjacent quartic triangular patches.
Figure 7. Two adjacent quartic triangular patches.
Symmetry 12 01071 g007
Figure 8. Delaunay triangulation of data in Table 1.
Figure 8. Delaunay triangulation of data in Table 1.
Symmetry 12 01071 g008
Figure 9. Surface reconstruction using the proposed scheme. (a) For F 1 ( x , y ) ; (b) For F 2 ( x , y ) .
Figure 9. Surface reconstruction using the proposed scheme. (a) For F 1 ( x , y ) ; (b) For F 2 ( x , y ) .
Symmetry 12 01071 g009
Figure 10. Surface reconstruction using quartic Bézier triangular. (a) For F 1 ( x , y ) ; (b) For F 2 ( x , y ) .
Figure 10. Surface reconstruction using quartic Bézier triangular. (a) For F 1 ( x , y ) ; (b) For F 2 ( x , y ) .
Symmetry 12 01071 g010
Figure 11. Quartic triangular ordinates arrangement for positivity preservation.
Figure 11. Quartic triangular ordinates arrangement for positivity preservation.
Symmetry 12 01071 g011
Figure 12. Function G ( s ) for s 0 .
Figure 12. Function G ( s ) for s 0 .
Symmetry 12 01071 g012
Figure 13. Triangulation domain using Delaunay triangulation: (a) 36 node points; (b) 63 node points; (c) 26 node points; (d) 100 node points.
Figure 13. Triangulation domain using Delaunay triangulation: (a) 36 node points; (b) 63 node points; (c) 26 node points; (d) 100 node points.
Symmetry 12 01071 g013
Figure 14. C1 quartic Zhu and Han interpolated surface (data in Table 6): (a) without positivity preserved; (b) with positivity preserved from Theorem 3.
Figure 14. C1 quartic Zhu and Han interpolated surface (data in Table 6): (a) without positivity preserved; (b) with positivity preserved from Theorem 3.
Symmetry 12 01071 g014
Figure 15. C1 quartic Zhu and Han interpolated surface (data Table 7): (a) without positivity preserved; (b) with positivity preserved from Theorem 3.
Figure 15. C1 quartic Zhu and Han interpolated surface (data Table 7): (a) without positivity preserved; (b) with positivity preserved from Theorem 3.
Symmetry 12 01071 g015
Figure 16. C1 quartic Zhu and Han interpolated surface (data Table 8): (a) without positivity preserved; (b) with positivity preserved from Theorem 3.
Figure 16. C1 quartic Zhu and Han interpolated surface (data Table 8): (a) without positivity preserved; (b) with positivity preserved from Theorem 3.
Symmetry 12 01071 g016
Figure 17. C1 quartic Zhu and Han interpolated surface (data Table 9): (a) without positivity preserved; (b) with positivity preserved from Theorem 3.
Figure 17. C1 quartic Zhu and Han interpolated surface (data Table 9): (a) without positivity preserved; (b) with positivity preserved from Theorem 3.
Symmetry 12 01071 g017
Figure 18. Interpolated surface without positivity preservation.
Figure 18. Interpolated surface without positivity preservation.
Symmetry 12 01071 g018
Figure 19. Interpolated surface with positivity preservation.
Figure 19. Interpolated surface with positivity preservation.
Symmetry 12 01071 g019
Table 1. Data points.
Table 1. Data points.
xyF1(x,y)F2(x,y)xyF1(x,y)F2(x,y)
000.76641.33330.800.850.08231.2431
0.5000.43491.38330.850.650.14121.2043
1.0000.10761.28331.000.500.16101.2199
0.150.151.13701.33821.001.000.03591.2712
0.700.150.43041.30200.501.000.14601.3346
0.500.200.53451.31280.100.850.29351.2363
0.250.301.07261.242301.000.27031.3029
0.400.300.71341.24210.2500.81891.4069
0.750.400.59031.21390.7500.25211.3150
0.850.250.50881.26070.251.000.22221.3496
0.550.450.38231.161300.250.80261.2683
00.500.48181.17470.751.000.08101.2913
0.200.450.64581.141200.750.33951.1987
0.450.550.29461.10371.000.250.23021.2573
0.600.650.19201.15521.000.750.05041.2295
0.250.700.29301.12400.190.191.21181.3229
0.400.800.05151.18870.320.750.20291.1477
0.650.750.13721.19610.790.460.47771.2041
Table 2. Error analysis.
Table 2. Error analysis.
Num. of Data PointsFunctionMax ErrorR2
The Proposed SchemeQuartic Bézier [35]The Proposed SchemeQuartic Bézier [35]
10013.436 × 10∧−23.598 × 10∧−20.999360.99934
24.500 × 10∧−27.61 × 10∧−20.999770.99967
6516.410 × 10∧−26.586 × 10∧−20.997200.99733
21.732 × 10∧−21.562 × 10∧−20.997960.99793
3619.740 × 10∧−29.973 × 10∧−20.992110.99256
22.675 × 10∧−22.762 × 10∧−20.993320.99208
Table 3. CPU time (in seconds).
Table 3. CPU time (in seconds).
Num. of Data PointsFunctionCPU Time (in Seconds)
The Proposed SchemeQuartic Bézier [35]
10010.70978078445.6002481345
20.42342891963.5703151686
6510.27416108871.5474957467
20.23632099171.3271791002
3610.12986990590.5886074910
20.11638385470.4703613961
Table 4. Error analysis.
Table 4. Error analysis.
Num. of Data PointsFunctionMax Err
Dell’Accio et al. [12]Dell’Accio and Di Tommaso [11]Dell’Accio et al., [12] and Cavoretto et al. [6]Dell’Accio et al. [12]Dell’Accio et al. [13] and Cavoretto et al. [6]
10015.2990 × 10−28.6648 × 10−21.0970 × 10−16.2438 × 10−25.3936 × 10∧2
21.8617 × 10−25.0590 × 10−23.2842 × 10−21.5449 × 10−21.9619 × 10−2
6511.0147 × 10−11.1864 × 10−11.1221 × 10−17.6266 × 10−27.1704 × 10−2
26.4329 × 10−23.7704 × 10−23.5962 × 10−22.7322 × 10−22.8894 × 10−2
3611.2822 × 10−11.6219 × 10−11.3564 × 10−11.1371 × 10−19.8914 × 10−2
27.9686 × 10−25.6713 × 10−25.3611 × 10−25.1806 × 10−24.6253×10−2
Table 5. CPU time (in seconds).
Table 5. CPU time (in seconds).
Num. of Data PointsFunctionCPU Time (Second)
Dell’Accio et al. [12]Dell’Accio and Di Tommaso [11]Dell’Accio et al., [12] and Cavoretto et al. [6]Dell’Accio et al. [12]Dell’Accio et al. [13] and Cavoretto et al. [6]
10010.4903801.8946850.4802960.4231770.401825
20.5029231.8810190.5012860.4289490.417658
6510.4863811.8824200.4781750.4245830.424086
20.4849841.8494580.4595170.4248700.397832
3610.4370901.7076680.4455230.4151620.445566
20.4482421.6862420.4485890.4178750.421869
Table 6. Value of F1 on 36 node points.
Table 6. Value of F1 on 36 node points.
xyF1(x,y)xyF1(x,y)xyF1(x,y)
0000.35001.40.80
0.20.200.8001.650.750
0.50.200.10.851210
0.40.4000.250.51.2500
0.750.3500.810.41.700
00.512001.2510
0.250.50.51.40.30.02721.710
0.250.7511.750.45020.350
0.550.750.41.20.45020.70
0.70.601.450.50.90451.050.20
0.5111.60.30.027210.50
0111.250.700.950.80
Table 7. Value of F2 on 33 node points.
Table 7. Value of F2 on 33 node points.
xyF2(x,y)xyF2(x,y)xyF2(x,y)
000.258600.500.59600.501.000.8762
0.5000.64290.250.450.62640.100.850.7316
1.0000.91740.450.550.798101.000.7547
0.250.200.00560.600.650.83360.2500.2629
0.700.150.60120.250.700.78620.7500.7739
0.500.200.63290.400.800.99410.251.000.8026
0.300.300.41990.650.750.882500.250.2792
0.450.350.66180.800.850.94270.751.000.9440
0.750.400.43610.850.650.883800.750.6865
0.850.250.51641.000.500.86401.000.250.7948
0.550.450.67241.001.000.98911.000.750.9746
Table 8. Value of F3 on 26 node points.
Table 8. Value of F3 on 26 node points.
xyF3(x,y)xyF3(x,y)xyF3(x,y)
0.9375−0.40630.79970.0469−0.76560.3436−0.5156−0.10940.0708
−0.17191.00001.0009−0.7813−0.89061.00170.48440.14060.0554
−0.8906−0.09380.62920.06250.37500.0198−0.45310.15630.0427
−0.0625−0.67190.2038−0.7656−0.29690.35130.70310.32810.2560
−0.8750−0.62500.73880.09380.12500.0003−0.42190.46880.0800
00.79690.4033−0.68750.37500.24320.9063−0.59380.7990
−0.8438−0.53130.58660.10940.32810.0117−0.23440.14060.0034
0.03130.53130.0797−0.5625−0.65630.28560.96880.71881.1476
−0.84380.15630.50750.15630.45310.0427
Table 9. Value of F4 on 100 node points.
Table 9. Value of F4 on 100 node points.
xyF4 (x,y)xyF4 (x,y)xyF4 (x,y)
0.00960.30830.1194250.33070.51591.1558160.66770.67640.442125
0.02160.2450.0290550.33790.94260.2688440.68140.84440.195332
0.02980.86140.001110.34390.481.2482580.68880.32730.365476
0.04170.09780.0002580.3530.17830.3451270.69410.18940.158965
0.0470.36480.3007480.36360.11470.3950810.70620.06460.119387
0.05630.71560.0734560.37660.82260.4730710.71610.0180.096822
0.06470.53110.7147240.38220.22710.5268080.73170.89050.068664
0.0740.97560.0001240.3870.40741.2745890.73710.41610.619367
0.08740.17810.0044190.39730.88750.5908130.74620.46890.797375
0.09350.54530.6772960.41710.76320.7493390.75670.21750.051462
0.10320.16040.002730.42560.99730.7582360.770.57340.613977
0.1110.78370.0139320.42990.4962.1177050.78790.88530.016309
0.11810.99820.0006840.43730.3411.2074990.79440.80180.021117
0.12520.69110.1217950.47050.24981.0216010.81640.63890.294451
0.13270.1050.0014830.47370.64091.5124540.81930.89310.006444
0.1440.81850.006480.48790.10590.993340.83680.10010.003695
0.15650.70860.0881210.4940.54122.3749070.85010.2790.067559
0.16510.44570.6532390.50550.0090.9984970.85880.90830.001782
0.17860.11780.0062210.51630.87840.9879620.86460.32590.166279
0.18860.31890.1544860.52190.55162.2737780.87920.83190.003798
0.20170.96680.0117030.53490.40391.8582520.88380.05090.000664
0.210.75720.0427840.54830.16540.8951540.890.97080.000509
0.21470.20170.0259970.5570.29651.025040.8970.51210.745189
0.22040.32320.1803610.56390.3661.3700950.90450.2860.076266
0.23440.43690.6620630.57850.03670.7348610.90840.95820.00026
0.2410.89080.0353170.58640.95020.6885450.92040.61830.372734
0.25280.06470.0471650.59290.26380.7255440.93480.3780.356442
0.25710.56930.6731110.59880.92770.6139380.94350.4010.459525
0.27330.29470.1747070.61180.53781.607350.9490.94797.49E-05
0.28540.43320.7600090.62520.73750.5217890.9570.74250.039667
0.29020.33470.3231990.63310.46751.4171940.97720.88830.00041
0.29650.74360.1695660.63990.91860.3759980.99830.54970.66287
0.3020.10660.1412030.64890.04170.330061
0.31260.88450.1732870.65590.12910.29764
Table 10. CPU time (in seconds).
Table 10. CPU time (in seconds).
Size DataInterpolation
Points
FunctionCPU Time (in Seconds)
The Proposed SchemeQuartic Bézier [35]
361296F10.65871.5653
331296F21.01592.6322
25377F30.09351.1535
1001697F40.516818.5996
Table 11. Error analysis.
Table 11. Error analysis.
Number of Evaluation PointsFunctionMax ErrorR2
The proposed schemeQuartic Bézier [35]The proposed schemeQuartic Bézier [35]
1296F10.27291978681130.2824524754560.98009050.9760174674571
1296F20.63467726477320.6336678221560.8191407030.8244631293045
377F30.27165123772970.3116114988190.937736711360.935885979498
1697F40.640806392643620.48089172251710.987343510990.988298717425
Table 12. Coronavirus disease 2019 (COVID-19) cases at Selangor and Klang Valley in Malaysia until 15 April 2020.
Table 12. Coronavirus disease 2019 (COVID-19) cases at Selangor and Klang Valley in Malaysia until 15 April 2020.
LabelDistrictLongitudeLatitudeCOVID-19 Cases
AHulu Langat101.76202493.0727692440
BPetaling101.6642083.086134363
CKlang101.4496113.043125171
DGombak101.7145743.233044142
ESepang101.7094012.80086268
FHulu Selangor101.6414823.5236149
GLembah Pantai101.6721893.104444577
HKuala Selangor101.345553.36210235
IKuala Langat101.4961822.83656225
JSabak Bernam101.0580593.68711523
KKepong101.6235813.2059142
LTiti Wangsa101.6952783.173573129
MCheras101.716493.10717878
NPutrajaya101.6840462.91854

Share and Cite

MDPI and ACS Style

Abdul Karim, S.A.; Saaban, A.; Nguyen, V.T. Scattered Data Interpolation Using Quartic Triangular Patch for Shape-Preserving Interpolation and Comparison with Mesh-Free Methods. Symmetry 2020, 12, 1071. https://doi.org/10.3390/sym12071071

AMA Style

Abdul Karim SA, Saaban A, Nguyen VT. Scattered Data Interpolation Using Quartic Triangular Patch for Shape-Preserving Interpolation and Comparison with Mesh-Free Methods. Symmetry. 2020; 12(7):1071. https://doi.org/10.3390/sym12071071

Chicago/Turabian Style

Abdul Karim, Samsul Ariffin, Azizan Saaban, and Van Thien Nguyen. 2020. "Scattered Data Interpolation Using Quartic Triangular Patch for Shape-Preserving Interpolation and Comparison with Mesh-Free Methods" Symmetry 12, no. 7: 1071. https://doi.org/10.3390/sym12071071

APA Style

Abdul Karim, S. A., Saaban, A., & Nguyen, V. T. (2020). Scattered Data Interpolation Using Quartic Triangular Patch for Shape-Preserving Interpolation and Comparison with Mesh-Free Methods. Symmetry, 12(7), 1071. https://doi.org/10.3390/sym12071071

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