Abstract
We construct some smooth functions defined over a sphere that interpolate large sets of scattered data, using some modified Shepard methods, the least squares thin-plate spline and the inverse multiquadric functions. We illustrate the benefits of our methods in numerical examples for some test functions and some real data applications.
Authors
Teodora Cătinaş
Faculty of Mathematics and Computer Science, Babeş-Bolyai University, Cluj-Napoca, Romania
Andra Malina
Faculty of Mathematics and Computer Science, Babeş-Bolyai University, Cluj-Napoca, Romania
Tiberiu Popoviciu Institute of Numerical Analysis, Romanian Academy, Cluj-Napoca, Romania
Keywords
Interpolation of scattered data; Sphere; Shepard operator; Least squares approximation; Thin plate spline; Inverse multiquadric; Spiral points; Error estimations
Paper coordinates
T. Catinas, A. Malina, Spherical interpolation of scattered data using least squares thin-plate spline and inverse multiquadratic functions, Numerical Algorithms, 2024, https://doi.org/10.1007/s11075-024-01755-6
??
About this paper
Journal
Numerical Algorithms
Publisher Name
Springer Link
Print ISSN
Online ISSN
1017-1398
google scholar link
Paper (preprint) in HTML form
Spherical interpolation of scattered data using
least squares thin-plate
spline and
inverse multiquadric functions
Abstract.
We construct some smooth functions defined over a sphere that interpolate large sets of scattered data, using some modified Shepard methods, the least squares thin-plate spline and the inverse multiquadric functions. We illustrate the benefits of our methods in numerical examples for some test functions and some real data applications.
Keywords: Interpolation of scattered data, sphere, Shepard operator, least squares approximation, thin plate spline, inverse multiquadric, spiral points, error estimations.
MSC 2020 Subject Classification: 41A05, 41A25, 41A80, 65D05, 65D15, 65D12, 33C55.
1. Preliminaries
We consider here the problem of interpolating large scattered data sets lying on a sphere by using a Shepard type method and some radial basis functions. This interpolation problem is important as it appears in solving some problems related to some physical phenomenons, such as temperature, rainfall, pressure, ozone or gravitational forces, measured at various points on the surface of the Earth; they could also be applied in modelling closed surfaces in CAGD, see, e.g., [7]. As it is mentioned in [9] and [25], these type of data fitting problems, where the underlying domain is the sphere, arises in many areas, including, e.g., geophysics and meteorology, as, in general, the sphere is taken as a model of the Earth. Many authors have investigated the approximation of functions on the sphere by means of polynomials or radial basis functions (see, e.g, [1], [2], [7]-[12], [17], [19], [25]), the main motivation being the need to approximate geophysical quantities.
The Shepard method, introduced in [24], is one of the best suited methods for approximating large sets of data. It has the advantages of a small storage requirement and an easy generalization to additional independent variables, but it suffers from no good reproduction quality, low accuracy and a high computational cost relative to some alternative methods [22], these being the reasons for finding new methods that improve it (see, e.g., [3]-[6], [13], [20], [27]). The radial basis functions are suitable tools for scattered data, and for data that varies rapidly over short distances.
Our purpose in this paper is to introduce some combined Shepard methods using the least squares thin-plate spline and the inverse multiquadric functions, so our method involves also least squares approximation method, not just radial basis functions as, for example, in [9], [12] and [25].
Combined polynomial and radial basis function approximations have often been studied in the context of radial basis functions constructed from conditionally positive definite kernels, in which case a polynomial part is needed to make the theory work. Here, we restrict our attention to the case of (conditionally) strictly positive definite kernels, including a polynomial component, motivated by the fact that approximations of this kind offer real advantages.
The numerical tests on different types of data prove the efficiency of the method. Moreover, a physical phenomenon is investigated, namely temperature prediction on the Earth’s surface, and the results show that this method is a powerful instrument for solving various problems that model real life phenomena.
2. Combined spherical Shepard method
Following the idea and some notations from [7], we introduce several modifications of the spherical Shepard method using spherical radial basis functions.
Let be the unit sphere in centered at the origin. Let us consider the set of distinct nodes , lying on and the corresponding function values , with . For the modified spherical Shepard operator is defined as (see, e.g., [7])
(2.1) |
with
(2.2) |
and is a radius of influence about the node and the geodesic distance between and defined as
(2.3) |
where and denotes the Euclidean inner product of the two vectors.
For a set of scattered data the mesh norm is defined by where denotes the geodesic distance.
If we denote by (see, e.g., [7])
then we have the following properties of the weights:
-
1.
the cardinality property: ;
-
2.
the partition of unity property: .
Definition 2.1.
(see, e.g., [19]) Let be a continuous function. We say that is strictly positive definite on ( SPD) if, for any set of distinct points lying on , the quadratic form
(2.4) |
is positive on .
We recall some notions from [19]. A polynomial of degree is homogeneous of degree if , for any and . The polynomial is harmonic if , for any , where is the Laplace operator, i.e.,
So, if is the set of polynomials of degree in that are harmonic and homogeneous of order , we can define the set
of spherical harmonics of exact order . The dimension of is
Denoting the space of spherical harmonics of maximum order by , we have
It follows that the dimension of is
Definition 2.2.
Definition 2.3.
(see, e.g., [7]) For a set of distinct nodes , lying on and the corresponding function values , with , the zonal basis function interpolant is defined as
(2.5) |
with the coefficients , obtained from the interpolation relations
where is the geodesic distance between and and is a zonal basis function, i.e., the sphere analogue of the Euclidean radial basis function.
Definition 2.4.
(see, e.g., [8]) For a set of distinct nodes , lying on and the corresponding function values , with , the augmented zonal basis function interpolant is defined as
(2.6) |
with , is a basis for and the coefficients , and , obtained from the interpolation conditions
and by the constraints
Definition 2.5.
(see, e.g., [7]) Considering for each node , a set that contains the indices of closest neighbours of , we define a local zonal basis function interpolant as
(2.7) |
with the coefficients , obtained from the interpolation relations
Definition 2.6.
(see, e.g., [8]) Considering for each node , a set that contains the indices of closest neighbours of , we introduce here the augmented local zonal basis function interpolant as
(2.8) |
with , basis for and the coefficients , and , obtained from the interpolation conditions
and the constraints
Now we introduce the new local Shepard interpolants,
(2.9) |
with the local zonal basis function given by
and
(2.10) |
with
considering the thin-plate spline spherical radial basis function (see, e.g., [2])
Remark 2.7.
Similarly, we introduce
(2.11) |
with the local zonal basis function given by
and
(2.12) |
with
(2.13) |
considering the inverse multiquadric spherical radial basis function (see, e.g., [2])
Remark 2.8.
Using a result from [20], we obtain the following estimations of the errors for the local Shepard operators introduced here.
Theorem 2.9.
Consider a set of distinct nodes lying on and the corresponding function values , with . For each , we have the following approximation of the error of the Shepard operators , given by (2.9), (2.10), (2.11) and (2.12):
with being the interpolation error of the local basis functions on the set of nodes , containing the indices of closest neighbours of , In addition, we have
Proof.
Since,
we get
∎
Theorem 2.10.
Proof.
The proof follows directly from Theorem 1 of [7], considering . ∎
Theorem 2.11.
For , the following estimation holds:
where = is the modulus of continuity of
Proof.
∎
3. Test results
-
•
Numerical results on test functions
We use the following test functions (see, e.g., [15], [16], [21], [22]) to illustrate the theoretical results:
We consider two cases for the choice of nodes and points on which the operators are constructed.
For the first case, we evaluate the operators on 1000 random points on the unit sphere , using sets of 500, 1000 and 2000 spiral nodes, respectively. These nodes are constructed based on a method proposed in [23]. To describe them, we use their spherical coordinates
with
In Tables 1 and 2 we list the maximum absolute errors (MAEs) and the root mean square errors (RMSEs) for the thin-plate spline case, given in (2.9) and for the inverse multiquadric case, given in (2.11).
The shape parameter in the inverse multiquadric case, we have computed as where , with being the distance from the node to its closest neighbour, following the idea proposed by Hardy in [18]. We also used the method proposed in [14, Program 2], but the results are comparable.
We consider also the case of zonal basis functions combined with spherical harmonics. For and for , given in (2.10) and (2.12), we take the particular cases
Numerical experiments have shown that in our cases, a good value for the number of closest neighbours of a node is , but its choice is not an easy task, since there are many factors that could influence the numerical results, as it is also emphasized in [10].
We also show the computational times (CPU) of the methods considered above. Comparing the approximation results, one can see that in most of the cases, the thin-plate spline function is slightly more accurate, although good results were obtained in the case of inverse multiquadric function as well. For both zonal basis functions, the addition of a spherical harmonic produces an improved accuracy in the majority of cases, the computational times being quite equivalent.
Nr. nodes | MAE | RMSE | CPU (s) | |
---|---|---|---|---|
1000 random points, spiral nodes.
Nr. nodes | MAE | RMSE | CPU (s) | ||
---|---|---|---|---|---|
1000 random points, spiral nodes.
Nr. nodes | MAE | RMSE | CPU (s) | |
---|---|---|---|---|
5 | ||||
1000 random points, spiral nodes.
Nr. nodes | MAE | RMSE | CPU (s) | ||
---|---|---|---|---|---|
1000 random points, spiral nodes.
In the second case, for a fair distribution of points on the sphere, as proposed in [7], we evaluate the operator on a set of 600 spiral points, using sets of 1000, 2000, 5000 Halton nodes, respectively. The Halton nodes are constructed following the method proposed in [26]. The approximation errors for the operators , are displayed in Tables 5 and 6 and the results for the particular case of operators combined with a spherical harmonic and are given in Tables 7 and 8. The same advantages as in the first case can be observed.
Nr. nodes | MAE | RMSE | |
---|---|---|---|
600 spiral points, Halton nodes.
Nr. nodes | MAE | RMSE | ||
---|---|---|---|---|
2 | ||||
600 spiral points, Halton nodes.
Nr. nodes | MAE | RMSE | |
---|---|---|---|
600 spiral points, Halton nodes.
Nr. nodes | MAE | RMSE | ||
---|---|---|---|---|
600 spiral points, Halton nodes.
To obtain a real visualisation effect of the numerical results, in Figures 1, 2 we plot the functions values , , and the values of the corresponding Shepard interpolants and , , considering 1000 Halton nodes and 20000 spiral points on the unit sphere. In Table 9 we list the MAEs and the RMSEs in this case, for all the functions .
MAE | RMSE | |
---|---|---|
20.000 spiral points, 1000 Halton nodes.
Finally, we compared our results with the ones obtained in the case of the modified spherical Shepard operator , defined in (2.1). In Table 10 we have the MAEs and RMSEs for the case of spiral nodes and 1000 random points and in Table 11 we have the errors for the case of Halton nodes and 600 spiral points. Comparing the results, one can observe the benefits of choosing the combined operators with the zonal basis functions, since in the majority of cases, the interpolation results are more accurate.
Nr. nodes | MAE | RMSE | |
---|---|---|---|
1000 random points, spiral nodes.
Nr. nodes | MAE | RMSE | |
---|---|---|---|
600 spiral points, Halton nodes.
The experiments were performed in Matlab.
-
•
Numerical results in a real data application
We consider an example of approximation for some real data, namely the monthly-mean temperatures on the Globe in January 2010 and June 2010. The set of data was selected from [28]. For our numerical tests we considered nodes and we reconstructed the temperature values for points on the Globe, after we projected the latitude and longitude of each point onto the unit sphere . A representation for the sets of nodes and points is given in Figure 3.
To handle the global part, we considered the case of zonal basis functions combined with a spherical harmonic, and . For the inverse multiquadric case, we computed the parameter as in the previous numerical tests (see, e.g., [18]). The value obtained was . In Table 12 there are given the mean absolute errors (MAEs) and the root mean square errors (RMSEs). Figures 4, 5 present the graphical results for the temperatures in January 2010 and June 2010, respectively. Studying the results obtained for this example, there are observed and confirmed the advantages of using the previously introduced combined Shepard operators to real data applications.
January | June | |||
---|---|---|---|---|
MAE | ||||
RMSE |
January 2010 and June 2010.
Data availability. All data generated or analysed during this study are included in this published article.
Conflict of interest. The authors have no conflict of interests to declare that are relevant to the content of this article.
Ethical Approval. Not applicable.
Availability of supporting data. Not applicable.
Competing interests. Not applicable.
Funding. Not applicable.
Authors’ contributions. Equal contributions.
Acknowledgments. We are grateful to the referees for the careful reading and for their valuable suggestions that improved the manuscript.
References
- [1] Allasia, G., Cavoretto, R., De Rossi, A.: Hermite-Birkhoff interpolation on scattered data on the sphere and other manifolds. Appl. Math. Comput. 318, 35–50 (2018)
- [2] Baxter, B.J.C., Hubbert, S.: Radial basis functions for the sphere. In: Recent Progress in Multivariate Approximation, Witten-Bommerholz, 2000. Internat. Ser. Numer. Math., vol. 137, pp. 33–47. Birkhäuser, Basel (2001)
- [3] Cătinaş, T.: The combined Shepard-Abel-Goncharov univariate operator. Rev. Anal. Numér. Théor. Approx. 32, 11–20 (2003)
- [4] Cătinaş, T.: The combined Shepard-Lidstone bivariate operator. In: Trends and Applications in Constructive Approximation. International Series of Numerical Mathematics (de Bruin, M.G. et al. (eds.)), 151, pp. 77–89, Springer Group-Birkhäuser Verlag (2005)
- [5] Cătinaş, T.: Bivariate interpolation by combined Shepard operators. In: Proceedings of IMACS World Congress, Scientific Computation, Applied Mathematics and Simulation (Borne, P., Benrejeb, M., Dangoumau, N., Lorimier, L. (eds.)), 7 pp., Paris, July 11–15 (2005)
- [6] Cătinaş, T.: The bivariate Shepard operator of Bernoulli type. Calcolo 44(4), 189–202 (2007)
- [7] De Rossi, A.: Spherical interpolation of large scattered data sets using zonal basis functions. In: Mathematical Methods for Curves and Surfaces (Daehlen, M., Morken, K., Schumaker, L. (eds.)), pp. 125–134, Trømso 2004. Nashboro Press (2005)
- [8] De Rossi, A.: Hybrid spherical approximation. arXiv:1404.1475 (2014)
- [9] Cavoretto, R., De Rossi, A.: Fast and accurate interpolation of large scattered data sets on the sphere. J. Comput. Appl. Math. 234, 1505–1521 (2010)
- [10] Cavoretto, R., De Rossi, A.: Numerical comparison of different weights in Shepard’s interpolants on the sphere. Appl. Math. Sci. 4, 3425–3435 (2010)
- [11] Cavoretto, R., De Rossi, A.: Spherical interpolation using the partition of unity method: An efficient and flexible algorithm. Appl. Math. Lett. 25, 1251–1256 (2012)
- [12] Cavoretto, R., De Rossi, A.: Achieving accuracy and efficiency in spherical modelling of real data. Math. Methods Appl. Sci. 37, 1449–1459 (2014)
- [13] Farwig, R.: Rate of convergence of Shepard’s global interpolation formula. Math. Comp. 46, 577–590 (1986)
- [14] Fasshauer, G.E., Zhang J.G.: On choosing “optimal” shape parameters for RBF approximation. Numer. Algor. 45, 345–368 (2007)
- [15] Franke, R.: Scattered data interpolation: tests of some methods. Math. Comp. 38, 181–200 (1982)
- [16] Franke, R., Nielson, G.: Smooth interpolation of large sets of scattered data. Int. J. Numer. Meths. Engrg. 15, 1691–1704 (1980)
- [17] Le Gia, Q.T., Sloan, I. H., Wendland, H.: Multiscale analysis in Sobolev spaces on the sphere. SIAM J. Numer. Anal. 48(6), 2065–2090 (2010)
- [18] Hardy, R.L.: Multiquadric equations of topography and other irregular surfaces. J. Geophys. Res. 76, 1905–1915 (1971)
- [19] Hubbert, S., Le Gia, Q.T., Morton, T.: Spherical Radial Basis Functions, Theory and Applications. Springer (2015)
- [20] Lazzaro, D., Montefusco, L.B.: Radial basis functions for multivariate interpolation of large scattered data sets. J. Comput. Appl. Math. 140, 521–536 (2002)
- [21] Renka, R.J., Cline, A.K.: A triangle-based interpolation method. Rocky Mountain J. Math. 14, 223–237 (1984)
- [22] Renka, R.J.: Multivariate interpolation of large sets of scattered data. ACM Trans. Math. Software 14, 139–148 (1988)
- [23] Saff, E.B., Kuijlaars, A.B.J.: Distributing many points on a sphere. Math. Intelligencer. 19, 5–11 (1997)
- [24] Shepard, D.: A two dimensional interpolation function for irregularly spaced data. In: Proceedings of the 1968 23rd ACM National Conference, pp. 517–523. ACM (1968)
- [25] Sloan, I.H., Sommariva, A.: Approximation on the sphere using radial basis functions plus polynomials. Adv. Comput. Math., 29, 147–177 (2008)
- [26] Wong, T.T., Luk, W.S., Heng, P.A.: Sampling with Hammersley and Halton Points. J. Graph. Tools, 2(2), 9-24 (1997)
- [27] Zuppa, C.: Error estimates for moving least square approximations. Bull. Braz. Math. Soc. (N.S), 34(2), 231–249 (2003)
- [28] https://www.kaggle.com/datasets/shishu1421/global-temperature?select=air_temp.2010
[1] Allasia, G., Cavoretto, R., De Rossi, A., Hermite-Birkhoff interpolation on scattered data on the sphere and other manifolds. Appl. Math. Comput. 318, 35–50 (2018), MathSciNet Google Scholar
[2] Baxter, B.J.C., Hubbert, S., Radial basis functions for the sphere. In: Recent Progress in Multivariate Approximation, Witten-Bommerholz, 2000. Internat. Ser. Numer. Math., vol. 137, pp. 33-47. Birkhäuser, Basel (2001)
[3] Cătinaş, T., The combined Shepard-Abel-Goncharov univariate operator. Rev. Anal. Numér. Théor. Approx. 32, 11–20 (2003), Article Google Scholar
[4] Cătinaş, T., The combined Shepard-Lidstone bivariate operator. In: Trends and Applications in Constructive Approximation. International Series of Numerical Mathematics (de Bruin, M.G. et al. (eds.)), 151, pp. 77–89, Springer Group-Birkhäuser Verlag (2005)
[5] Cătinaş, T., Bivariate interpolation by combined Shepard operators. In: Proceedings of 17^{th} IMACS World Congress, Scientific Computation, Applied Mathematics and Simulation (Borne, P., Benrejeb, M., Dangoumau, N., Lorimier, L. (eds.)), 7 pp., Paris, July 11–15 (2005)
[6] Cătinaş, T., The bivariate Shepard operator of Bernoulli type. Calcolo 44(4), 189–202 (2007), Article MathSciNet Google Scholar
[7] De Rossi, A., Spherical interpolation of large scattered data sets using zonal basis functions. In: Mathematical Methods for Curves and Surfaces (Daehlen, M., Morken, K., Schumaker, L. (eds.)), pp. 125–134, TrØmso 2004. Nashboro Press (2005)
[8] De Rossi, A., Hybrid spherical approximation. arXiv:1404.1475 (2014)
[9] Cavoretto, R., De Rossi, A., Fast and accurate interpolation of large scattered data sets on the sphere. J. Comput. Appl. Math. 234, 1505–1521 (2010), Article MathSciNet Google Scholar
[10] Cavoretto, R., De Rossi, A., Numerical comparison of different weights in Shepard’s interpolants on the sphere. Appl. Math. Sci. 4, 3425–3435 (2010), MathSciNet Google Scholar
[11] Cavoretto, R., De Rossi, A., Spherical interpolation using the partition of unity method: an efficient and flexible algorithm. Appl. Math. Lett. 25, 1251–1256 (2012), Article MathSciNet Google Scholar
[12] Cavoretto, R., De Rossi, A., Achieving accuracy and efficiency in spherical modelling of real data. Math. Methods Appl. Sci. 37, 1449–1459 (2014), Article MathSciNet Google Scholar
[13] Farwig, R., Rate of convergence of Shepard’s global interpolation formula. Math. Comp. 46, 577–590 (1986), MathSciNet Google Scholar
[14] Fasshauer, G.E., Zhang, J.G., On choosing “optimal’’ shape parameters for RBF approximation. Numer. Algor. 45, 345–368 (2007), Article MathSciNet Google Scholar
[15] Franke, R., Scattered data interpolation: tests of some methods. Math. Comp. 38, 181–200 (1982), MathSciNet Google Scholar
[16] Franke, R., Nielson, G., Smooth interpolation of large sets of scattered data. Int. J. Numer. Meths. Engrg. 15, 1691–1704 (1980), Article MathSciNet Google Scholar
[17] Le Gia, Q.T., Sloan, I.H., Wendland, H., Multiscale analysis in Sobolev spaces on the sphere. SIAM J. Numer. Anal. 48(6), 2065–2090 (2010), Article MathSciNet Google Scholar
[18] Hardy, R.L., Multiquadric equations of topography and other irregular surfaces. J. Geophys. Res. 76, 1905–1915 (1971), Article Google Scholar
[19] Hubbert, S., Le Gia, Q.T., Morton, T., Spherical radial basis functions. Springer, Theory and Applications (2015), Book Google Scholar
[20] Lazzaro, D., Montefusco, L.B., Radial basis functions for multivariate interpolation of large scattered data sets. J. Comput. Appl. Math. 140, 521–536 (2002), Article MathSciNet Google Scholar
[21] Renka, R.J., Cline, A.K., A triangle-based C¹ interpolation method. Rocky Mountain J. Math. 14, 223–237 (1984), Article MathSciNet Google Scholar
[22] Renka, R.J., Multivariate interpolation of large sets of scattered data. ACM Trans. Math. Software 14, 139–148 (1988), Article MathSciNet Google Scholar
[23] Saff, E.B., Kuijlaars, A.B.J., Distributing many points on a sphere. Math. Intelligencer. 19, 5–11 (1997), Article MathSciNet Google Scholar
[24] Shepard, D., A two dimensional interpolation function for irregularly spaced data. In: Proceedings of the 1968 23rd ACM National Conference, pp. 517–523. ACM (1968)
[25] Sloan, I.H., Sommariva, A., Approximation on the sphere using radial basis functions plus polynomials. Adv. Comput. Math. 29, 147–177 (2008), Article MathSciNet Google Scholar
[26] Wong, T.T., Luk, W.S., Heng, P.A., Sampling with Hammersley and Halton Points. J. Graph. Tools 2(2), 9–24 (1997), Article Google Scholar
[27] Zuppa, C.: Error estimates for moving least square approximations. Bull. Braz. Math. Soc. (N.S) 34(2), 231–249 (2003), Article MathSciNet Google Scholar