Computers, Materials & Continua DOI:10.32604/cmc.2021.016006 | |
Article |
Scattered Data Interpolation Using Cubic Trigonometric Bézier Triangular Patch
1Department of Mathematical Sciences, Faculty of Science and Technology, Universiti Kebangsaan Malaysia, UKM, Bangi, 43600, Selangor Darul Ehsan, Malaysia
2Department of Fundamental and Applied Sciences, Universiti Teknologi PETRONAS, Seri Iskandar, 32610, Perak Darul Ridzuan, Malaysia
3Department of Fundamental and Applied Sciences and Centre for Systems Engineering (CSE), Institute of Autonoumous System Universiti Teknologi PETRONAS, Seri Iskandar, 32610, Perak Darul Ridzuan, Malaysia
4Faculty of Science, Universiti Brunei Darussalam, Bandar Seri Begawan, BE1410, Brunei Darussalam
5Department of Mathematics, Cankaya University, Ankara, Turkey
6Institute of Space Sciences, Magurele-Bucharest, Romania
7Department of Medical Research, China Medical University Hospital, China Medical University, Taichung, Taiwan
*Corresponding Author: Samsul Ariffin Abdul Karim. Email: samsul_ariffin@utp.edu.my
Received: 18 December 2020; Accepted: 18 January 2021
Abstract: This paper discusses scattered data interpolation using cubic trigonometric Bézier triangular patches with
Keywords: Cubic trigonometric; Bézier triangular patches; C1sufficient condition; scattered data interpolation
This paper investigates scattered data interpolation using trigonometric Bézier triangular patch that has been proposed by Zhu et al. [1]. Scattered data interpolation is about the construction of a smooth surface for non-uniform set of data. It can be prescribed by a given a set of scattered data
In a previous study, Saaban et al. [2] performed scattered data interpolation by using minimized sum of squares of principal curvatures. In additions, this scheme also uses geometric continuity which is
Butt et al. [3] proposed a scheme which exhibits the shape preserving properties by positivity, monotonicity and convexity 2D data by inserting more knots in the interval. The positivity of regular data arranged over a rectangular grid was discussed. Hussain et al. [4] proposed
Han [5] proposed cubic trigonometric polynomial curves with shape parameter where the order of continuity is dependent upon the knot vector (uniform or non-uniform) and the value of shape parameters. This scheme shows that the proposed scheme is closer to the control polygon than the corresponding B-spline curves. Besides that, the degree of the cubic trigonometric polynomial curves can be reduced to quadratic trigonometric polynomial curves which represent the ellipse.
Butt [6] preserved the shape of positive data by deriving sufficient conditions for the first partial derivatives and twist values by using a piecewise bi-cubic interpolant. Lamberti et al. [7] also proposed a method for the construction of C2 interpolating function. This scheme preserved the shape of curve via tension parameters. The calculation for approximation order and numerical examples is shown.
Floater [8,9] proposed another shape preserving property which is the convexity where [8] shows derivation of sufficient conditions convexity of tensor-product Bézier surfaces. The conditions focused on
The aim of this paper is to apply scattered data interpolation with trigonometric function which is cubic trigonometric Bézier. To our knowledge, this is the first study that applies trigonometric Bézier triangular for scattered data interpolation. We summarize the main advantages of the proposed scheme as follows:
a) The proposed scattered data interpolation uses cubic trigonometric Bézier with three parameters meanwhile Ali et al. [10], Draman et al. [11] and Karim et al. [12] have used different types of rational interpolants.
b) Our scheme only needs to triangulate the data one time. Meanwhile, Powell–Sabin (PS) and Clough–Tocher (CT) schemes needed to split the macro triangles into several micro triangles for each triangle. This will increase computation time to construct the final interpolating surface.
This paper is organized as follows: Section 2 discusses trigonometric Bézier triangular patches with three shape parameters. Section 3 states the properties of cubic trigonometric Bézier. Section 4 discusses the scattered data interpolation. Section 5 presents the numerical results including comparison with existing schemes. Conclusion and future work are given in Section 6.
2 Trigonometric Bézier Triangular Patch with Three Shape Parameters
Trigonometric Bézier triangular patches is constructed by Zhu et al. [1]. The trigonometric Bézier triangular patches are defined as follows:
Definition 1. Let
the trigonometric Bézier-Like patch over triangular domain with three exponential shape parameters
Noted that,
Definition 2. Let
Properties of Cubic Trigonometric Bézier Triangular Patches
From the definition of the basis function of trigonometric triangular patches, the list below is important properties of the basis [1].
a) Affine invariance and convex hull. The basis function have the properties of partition of unity and nonnegativity, so its simply corresponding that cubic trigonometric Bézier has
b) Geometric property at the corner points. Direct computation such as
c) Corner points tangent plane.
d) Boundary property.
e) Shape adjustable property.
3 Scattered Data Interpolation
In this section, we will discuss the constrution of a smooth surface for given a set of scattered data
Local scheme
This scheme comprises of the convex combination of three local schemes
or
where the local scheme
For inner ordinates, we have employed the cubic precision that was proposed by Foley et al. [15] while Goodman et al. [14] methods are used to calculate the boundary ordinates for each triangle. The vertices
Let the directional derivatives along
Then, applying directional derivative into (3), yields
Other directional derivatives along
Now, we need to calculate the inner ordinates for each triangle. In order to calculate inner ordinates
The inner ordinate
Meanwhile, inner ordinate
The remaining inner ordinates are obtained by symmetry [11].
Now, we establish the algorithm that can be used for surface reconstruction using the proposed scheme.
In this subsection, we discuss the performance of our proposed method by measuring 36,65 and 100 data points. Besides that, we also compare the maximum error, root mean square error (RMSE) and coefficient determination (
• Franke’s exponential function.
where
• Saddle function
• Cliff function
• Gentle function
Fig. 2 shows Delaunay Triangulation of 36, 65 and 100 data points with domain of
Tabs. 1–3 shows numerical result for error measurement for 36, 65 and 100 data points.
Tabs. 1–3 show numerical results for 36, 65 and 100 data points. We can see in Tabs. 1–3, the proposed scheme is on par with two established schemes i.e., Goodman et al. [14] and Karim et al. [16].
Now, we compare the performance between the proposed scattered data interpolation scheme against two well-known scattered data interpolation methods i.e.,
Our final example in this study is to apply the proposed scheme to visualize real scattered data obtained from Ali et al. [19] and Gilat [20]. The electric potential V around a charged particle is given by:
where
where
Fig. 7 shows the Delaunay triangulation for electric potential, and Fig. 8 shows surface interpolant using the proposed scheme.
This paper discusses scattered data interpolation by using cubic trigonometric Bézier triangular patches initiated by Zhu et al. [1]. Sufficient condition for C1 continuity on each adjacent triangle is developed by using cubic precision method. An efficient algorithm is presented. We test the proposed scheme by using four well-known tested functions. We compare the performance against some established schemes such as Goodman et al. [14], Karim et al. [16] and Powell–Sabin (PS) and Clough–Tocher (CT) split schemes. From error analysis, we found that the proposed scheme is on par and for all data sets, we achieve higher R2 values. Finally, we test the proposed scheme to interpolate real scattered data set. For future research, we can apply the proposed scheme for shape preserving interpolation such as positivity and convexity. The proposed scheme also can be applied for constrained surface modeling above, below or between two planes as discussed in Karim et al. [21].
Funding Statement: This research was fully supported by Universiti Teknologi PETRONAS (UTP) and Ministry of Education, Malaysia through research grant FRGS/ 1/2018/STG06/UTP/03/1/015 MA0-020 (New rational quartic spline interpolation for image refinement) and UTP through a research grant YUTP: 0153AA-H24 (Spline Triangulation for Spatial Interpolation of Geophysical Data).
Conflicts of Interest: The authors declare that they have no conflicts of interest to report regarding the present study.
1. Y. Zhu and X. Han, “New trigonometric basis possessing exponential shape parameters,” Journal of Computational Mathematics, vol. 33, no. 6, pp. 642–684, 2015. [Google Scholar]
2. A. Saaban, A. R. M. Piah, A. A. Majid and L. H. T. Chang, “G1scattered data interpolation with minimized sum of squares of principal curvatures,” in Int. Conf. on Computer Graphics, Imaging and Visualization, Beijing, China, pp. 385–390, 2005. [Google Scholar]
3. S. Butt and K. W. Brodlie, “Preserving positivity using piecewise cubic interpolation,” Computers & Graphics, vol. 17, no. 1, pp. 55–64, 1993. [Google Scholar]
4. M. Z. Hussain and M. Hussain, “C1 positivity preserving scattered data interpolation using rational Bernstein–Bézier triangular patch,” Journal of Applied Mathematics and Computing, vol. 35, no. 1–2, pp. 281–293, 2011. [Google Scholar]
5. X. Han, “Cubic trigonometric polynomial curves with a shape parameter,” Computer Aided Geometric Design, vol. 21, no. 6, pp. 535–548, 2004. [Google Scholar]
6. S. Butt, “Shape preserving curves and surfaces for Computer Graphics,” Ph.D. Thesis. School of Computer Studies, The University of Leeds, UK, 1991. [Google Scholar]
7. P. Lamberti and C. Manni, “Shape-preserving C2 functional interpolation via parametric cubics,” Numerical Algorithms, vol. 28, no. 1–4, pp. 229–254, 2001. [Google Scholar]
8. M. S. Floater, “A weak condition for the convexity of tensor-product Bézier and B-spline surfaces,” Advances in Computational Mathematics, vol. 2, no. 1, pp. 67–80, 1994. [Google Scholar]
9. M. S. Floater, “Total positivity and convexity preservation,” Journal of Approximation Theory, vol. 96, no. 1, pp. 46–66, 1999. [Google Scholar]
10. F. A. M. Ali, S. A. A. Karim, A. Saaban, M. K. Hasan, A. Ghaffar et al., “Construction of cubic Timmer triangular patches and its application in scattered data interpolation,” Mathematics, vol. 8, no. 2, pp. 159, 2020. [Google Scholar]
11. C. N. N. Draman, S. A. A. Karim and I. Hashim, “Scattered data interpolation using rational quartic triangular patches with three parameters,” IEEE Access, vol. 8, pp. 44239–44262, 2020. [Google Scholar]
12. S. A. A. Karim, A. Saaban, V. Skala, A. Ghaffar, K. S. Nisar et al., “Construction of new cubic Bézier-like triangular patches with application in scattered data interpolation,” Advances in Difference Equations, vol. 2020, Article no. 151, 2020. [Google Scholar]
13. S. A. A. Karim, A. Saaban, M. K. Hasan, J. Sulaiman and I. Hashim, “Interpolation using cubic Bèzier triangular patches,” International Journal on Advanced Science, Engineering and Information Technology, vol. 8, no. 4–2, pp. 1746–1752, 2018. [Google Scholar]
14. T. N. T. Goodman and H. B. A. Said, “C1 triangular interpolant suitable for scattered data interpolation,” Communications in Applied Numerical Methods, vol. 7, no. 6, pp. 479–485, 1991. [Google Scholar]
15. T. A. Foley and K. Opitz, “Hybrid cubic Bézier triangle patches,” in Mathematical Methods in Computer Aided Geometric Design II. Cambridge, Massachusetts, United States: Academic Press, pp. 275–286, 1992. [Google Scholar]
16. S. A. B. A. Karim and A. Saaban, “Visualization terrain data using cubic ball triangular patches,” in MATEC Web of Conferences, vol. 225, pp. 06023, 2018. [Google Scholar]
17. L. L. Schumaker, Spline Functions: Computational Methods. Philadelphia, USA: SIAM, 2015. [Google Scholar]
18. M. J. Lai and L. L. Schumaker, Spline Functions on Triangulations. Cambridge: Cambridge University Press, 2007. [Google Scholar]
19. F. A. M. Ali, S. A. A. Karim, S. C. Dass, V. Skala, M. K. Hasan et al., “Efficient visualization of scattered energy distribution data by using cubic trimmer triangular patches,” in Energy Efficiency in Mobility Systems. Singapore: Springer, pp. 145–180, 2020. [Google Scholar]
20. A. Gilat, MATLAB : An Introduction with Applications, 4th ed., USA: John Wiley & Sons, 2013. [Google Scholar]
21. S. A. A. Karim, A. Saaban and V. Skala, “Range-restricted surface interpolation using rational bi-cubic spline functions with 12 parameters,” IEEE Access, vol. 7, pp. 104992– 105007, 2019. [Google Scholar]
This work is licensed under a Creative Commons Attribution 4.0 International License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. |