Posts by Andra Malina

Abstract

We consider the problem of interpolating large sets of scattered data on the sphere using Shepard-Bernoulli operators constructed based on two types of basis functions. We study the interpolation properties and the approximation errors of the methods proposed here. We evaluate the efficiency using several test functions and the practical applicability through two real-data problems.

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; Interpolation on sphere; Shepard operator; Bernoulli operator; Error estimations

Paper coordinates

T. Catinas, A. Malina, Spherical Shepard-Bernoulli operator, J. Appl. Math. Comput., 2024, https://doi.org/10.1007/s12190-024-02285-z

PDF

??

About this paper

Journal

Journal of Applied Mathematics and Computing

Publisher Name

Springer Link

DOI

https://doi.org/10.1007/s12190-024-02285-z

Print ISSN
1598-5865
Online ISSN

1865-2085

Paper (preprint) in HTML form

Spherical Shepard-Bernoulli operator

Spherical Shepard-Bernoulli operator

Teodora Cătinaş1 and Andra Malina1,2
Abstract.

We consider the problem of interpolating large sets of scattered data on the sphere using Shepard-Bernoulli operators constructed based on two types of basis functions. We study the interpolation properties and the approximation errors of the methods proposed here. We evaluate the efficiency using several test functions and the practical applicability through two real-data problems.

Keywords: Interpolation of scattered data, interpolation on sphere, Shepard operator, Bernoulli operator, error estimations.

MSC 2020 Subject Classification: 41A05, 41A25, 41A80, 65D05, 65D15.

1Babeş-Bolyai University, Faculty of Mathematics and Computer Science, Str. M. Kogălniceanu Nr. 1, RO-400084 Cluj-Napoca, Romania, e-mails: teodora.catinas@ubbcluj.ro (corresponding author), andra.malina@ubbcluj.ro.
2Tiberiu Popoviciu Institute of Numerical Analysis, Romanian Academy, Cluj-Napoca, Romania.

1. Introduction

Let S denote the unit sphere in 3 centered at the origin

S={𝐱3:𝐱=1},

with representing the Euclidean norm in 3. Consider 𝒳S a set of sample points 𝐱i,i=1,,n, lying on the unit sphere S, for which the values fi,i=1,,n, of a function f:S are known. For 𝐱S, the spherical Shepard operator is given by

(1.1) Sμ(𝐱)=i=1nAi,μ(𝐱)fi,

where the cardinal basis functions Ai,μ are defined in the barycentric form as

(1.2) Ai,μ(𝐱)=(g(𝐱,𝐱i))μk=1n(g(𝐱,𝐱k))μ,

for μ+ a control parameter. Here, the metric g that is used represents the geodesic distance between 𝐱 and 𝐱i and it is defined as

(1.3) g(𝐱,𝐱i)=arccos(𝐱𝐱i),

with ′′′′ denoting the Euclidean inner product of the two vectors.

The cardinal basis functions Ai,μ have the property that their partial derivatives vanish at the nodes, up to a certain degree.

The original Shepard method has been introduced in [37]. Over time, numerous improvements were made to overcome the drawbacks of the initial method. For instance, the function values fi have been replaced by the values of another operator that provide better approximation results, and a higher degree of exactness (see, e.g, [2, 4, 5, 6, 7, 23, 26]). Other improvements include the consideration of other forms of basis functions (see, e.g., [27, 28, 33, 34, 41]). Here we restrict our attention to the case of the spherical Shepard-Bernoulli operator. The Bernoulli operator or its combination with the Shepard interpolant has been extensively studied in the univariate and bivariate cases (see, e.g., [2, 5, 16, 17, 23]). The problem of interpolating large sets of scattered data on the sphere using Shepard-like methods has started to be studied recently by several authors (see, e.g, [1, 8, 10, 11, 12, 13, 25, 39, 40]).

We construct the new spherical operators based on two types of Shepard-type basis functions. The combination between these interpolants and the Bernoulli operators will be performed on triangular domains, after computing the Delaunay triangulation of the sphere S. Numerical tests on various functions and sets of nodes demonstrate the efficiency of the proposed methods. Furthermore, we showcase two practical applications for modeling real-life phenomena, specifically topographic and temperature prediction problems.

2. Delaunay triangulation of a sphere

The triangular Shepard operator has been introduced by Little in [30] and further developed, for instance, in [14, 22, 24]. In [14], Cavoretto, De Rossi, Dell’Accio, and Di Tommaso discussed the implementation of the 2D-triangular Shepard method. They proposed an algorithm that successfully performs a compact triangulation of the domain, i.e., one that allows triangles to overlap or be disjoint. This is done based on a searching technique for determining the closest neighboring points in the interpolation scheme and on the construction of a block-based partitioning structure. In [15], they discussed the 3D analog of the previously mentioned method. The algorithm used to obtain a fast computation of the tetrahedral Shepard method involves finding a searching procedure that efficiently returns the closest neighbors of each interpolation node. Similar to the previous case, this is done by constructing a structure that partitions the domain in cubic blocks and by using a limited number of these blocks to determine the nearest neighbors. In both cases, they achieved an improvement in terms of computational efficiency.

Another type of triangulation, which requires additional conditions, is the Delaunay triangulation. The problem of data interpolation on the sphere, with the aid of triangulation methods, has been addressed and solved, for example, in [31, 32]. Renka proposed in [35] an algorithm for constructing the Delaunay triangulation of a sphere, which we will follow in the sequel. We recall some definitions from [35].

Definition 2.1.

[35] A subset US is convex if for every 𝐱,𝐲U, the geodesic that joins the two points is contained in U.

Definition 2.2.

[35] The convex hull U of a finite set 𝒳 of points in S is the smallest convex set that contains all the points of 𝒳. If the points of 𝒳 are not contained in a single hemisphere, then the convex hull of 𝒳 is the entire unit sphere S.

Definition 2.3.

[35] A triangulation T of 𝒳 is a set of triangles that have the following properties:

  1. (1)

    The vertices of the triangles in T are formed by the nodes in 𝒳;

  2. (2)

    The only nodes contained in a triangle are the ones that form its vertices;

  3. (3)

    The interiors of the triangles are pairwise disjoint;

  4. (4)

    The union of all triangles covers the convex hull of 𝒳.

Remark 2.4.

The vertices 𝐱1,𝐱2,𝐱3 of a triangle are specified in counterclockwise order (i.e, the determinant that has as rows/columns 𝐱1,𝐱2,𝐱3, in this order, is non-negative).

Definition 2.5.

[35] We say that a triangulation T has the empty circumcircle interior property if the circumcircle corresponding to each triangle of T does not contain any nodes in its interior. This kind of triangulation is called Delaunay triangulation.

3. Bernoulli operators constructed on a triangle

In this section, we recall some notions regarding the triangular Bernoulli operators in 2, that were studied in [23]. We shall consider in this part that 𝐱=(x,y)2.

First, let 𝐱i,𝐱j,𝐱k be three nodes specified in counterclockwise order, forming the vertices of a triangle T(i), with the referring vertex 𝐱i. To the ease of notations, we shall consider 𝐱i:=𝐱1, 𝐱j:=𝐱2, 𝐱k:=𝐱3 inside the triangle T(i).

For a point 𝐱, let λ1,λ2,λ3 be its barycentric coordinates relative to T(i). They are defined as

(3.1) λ1=𝒜(𝐱,𝐱2,𝐱3)𝒜(𝐱1,𝐱2,𝐱3),λ2=𝒜(𝐱1,𝐱,𝐱3)𝒜(𝐱1,𝐱2,𝐱3),λ3=𝒜(𝐱1,𝐱2,𝐱)𝒜(𝐱1,𝐱2,𝐱3),

where 𝒜(𝐱,𝐲,𝐳) represents the signed area of the triangle with vertices 𝐱,𝐲,𝐳.

The directional derivatives of a differentiable function f along the sides of the triangle T(i) are given as

(3.2) Dijf(𝐱)=(𝐱i𝐱j)f(𝐱),i,j=1,2,3,ij.

The composition of the directional derivatives is expressed as

(3.3) D1(γ1,γ2)=D21γ1D31γ2,D2(γ1,γ2)=D12γ1D32γ2,D3(γ1,γ2)=D13γ1D23γ2,

for (γ1,γ2)×.

Definition 3.1.

[23] Let f be a real-valued function of class Cm(X), X2. The Bernoulli operator of order m is defined as

BmT(i)[f](x,y) =f(𝐱1)+i=1mSi(λ2+λ3)i!(D1(0,i1)f(𝐱3)D1(0,i1)f(𝐱1))
(3.4) +i=1mj=1mi+1(λ2+λ3)i1Si(λ2λ2+λ3)i!Sj(λ2+λ3)j!
[(1)i+j(D2(j1,i1)f(𝐱2)D2(j1,i1)f(𝐱1))
+(1)j(D3(j1,i1)f(𝐱3)D3(j1,i1)f(𝐱1))],

with Di(γ1,γ2), i=1,2,3, given in (3.2) and (3.3), respectively, and

Si(x)=Bi(x)Bi.

The Bernoulli polynomials Bn(x), n, x, can be defined recursively as

(3.5) {B0(x)=1,Bn(x)=nBn1(x),n1,01Bn(x)𝑑x=0,n1,

this being one of the many possible definitions, as it is shown in [19]. For x=0, one obtains the Bernoulli numbers Bn, i.e., Bn=Bn(0).

There are also some other related polynomial expansions to Bernoulli polynomials in the triangle, such as expansions using Lidstone and complementary Lidstone polynomials, as described in [3], [18], [20], [21]. These kind of operators we intend to generalize for scattered data sets on the sphere in some future studies.

4. Combined spherical Shepard-Bernoulli method

To obtain the new combined Shepard operators of Bernoulli type, we will use the spherical coordinates (ϕ,θ) corresponding to a point 𝐱S, given in cartesian coordinates (x,y,z).

If (ϕ,θ) represent the latitude and the longitude, respectively, with ϕ[0,π],θ[0,2π], then, for 𝐱=(x,y,z)S, we have the following relation between the two coordinates representations:

{x=sinϕcosθ,y=sinϕsinθ,z=cosϕ, or {ϕ=arccosz,θ=arctanyx.

Similarly to the planar case (3.2), one can obtain the directional derivatives of a function f with respect to ϕ and θ (see, e.g., [31]), so, BmT(i)[f~](ϕ,θ) can be written similarly to (3.1), considering f~(ϕ,θ)=f(x,y,z).

As mentioned in [31], the drawback that appears when using latitude and longitude derivatives is the fact that at the poles they are not well defined. A solution that was proposed to overcome this drawback is to slightly move the poles when one of them is a data point.

Moreover, in this case, the barycentric coordinates (3.1) are computed based on the signed area of a spherical triangle of vertices 𝐱,𝐲,𝐳S, that is

tan(𝒜(𝐱1,𝐱2,𝐱3)2)=𝐱1(𝐱2×𝐱3)1+𝐱1𝐱2+𝐱2𝐱3+𝐱1𝐱3,

with ′′′′ denoting the Euclidean inner product and ×′′′′ the vector cross product.

Remark 4.1.

The barycentric coordinates λ1, λ2, λ3, defined in (3.1), satisfy the relation λ1+λ2+λ3=1.

Let T be the Delaunay triangulation of a set 𝒳 containing n data samples 𝐱iS,i=1,,n, and 𝒯i the set of all triangles that have a vertex in 𝐱i, for each i=1,,n. Choosing the representative triangle T(i)𝒯i, on which the operator BmT(i)[f~] is constructed, such that the approximation error is minimum, we introduce the spherical Shepard-Bernoulli operator, defined as

(4.1) SBm1[f](𝐱)=i=1nAi,μ(𝐱)BmT(i)[f~](ϕ,θ),𝐱S,

with BmT(i)[f~](ϕ,θ) given in (3.1), Ai,μ in (1.2), and f~(ϕ,θ)=f(x,y,z).

We obtain the following result.

Theorem 4.2.

Consider a set of distinct nodes 𝐱i,i=1,,n, lying on the unit sphere S and f:S. For each 𝐱S, we have the following estimation of the error of the Shepard operator SBm1 given by (4.1):

E(𝐱)=|f(𝐱)SBm1[f](𝐱)|i=1nAi,μ(𝐱)ei(𝐱),

with ei(𝐱)=|f(𝐱)BmT(i)[f](ϕ,θ)|,i=1,,n. In addition, we have

E(𝐱) maxi=1,,nei(𝐱), for all 𝐱S.
Proof.

Since i=1nAi,μ(𝐱)=1, we get

E(𝐱) =|f(𝐱)SBm1[f](𝐱)|=|f(𝐱)1i=1nAi,μ(𝐱)BmT(i)[f~](ϕ,θ)|
=|f(𝐱)i=1nAi,μ(𝐱)i=1nAi,μ(𝐱)BmT(i)[f~](ϕ,θ)|=|i=1nAi,μ(𝐱)[f(x)BmT(i)[f~](ϕ,θ)]|
i=1n|Ai,μ(𝐱)[f(𝐱)BmT(i)[f~](ϕ,θ)]|=i=1nAi,μ(𝐱)|f(𝐱)BmT(i)[f~](ϕ,θ)|
=i=1nAi,μ(𝐱)ei(𝐱), for all 𝐱S.

From

E(𝐱)=|f(𝐱)SBm1(𝐱)| i=1nAi,μ(𝐱)ei(𝐱),

we obtain

E(𝐱) maxi=1,,nei(𝐱)i=1nAi,μ(𝐱)=maxi=1,,nei(𝐱), for all 𝐱S.

In the sequel, we consider another approach, proposed in [39] and [40], that consists of constructing a Bernoulli operator on each triangle from the triangulation T of S. As mentioned in [39], the triangulation can be general, with overlapping or disjoint triangles, but here we restrict our attention to the case of Delaunay triangulation T. Let N be the number of triangles that form the triangulation. In this part, 𝒯i,i=1,,N, will denote a triangle from the triangulation, with vertices 𝐱i1,𝐱i2,𝐱i3, such that each node 𝐱i,i=1,,n, is a vertex of at least one triangle, i.e.,

𝑖{i1,i2,i3}={1,,n}.

Each basis function Φi,μ corresponding to the triangle 𝒯i, i=1,,N, will have the form [39]

(4.2) Φi,μ(𝐱)=j=13(g(𝐱,𝐱ij))μk=1Nj=13(g(𝐱,𝐱kj))μ,i=1,,N,

for μ+ a control parameter.

We have that Φi,μ, i=1,,N, are non-negative, satisfy the cardinality relations and form a partition of unity (see, e.g., [39]), i.e.,

(4.3) Φi,μ(𝐱)0,Φi,μ(𝐱j)=δij,j=1,,N,i=1NΦi,μ(𝐱)=1.

We can now define the modified spherical Shepard-Bernoulli operator as follows,

(4.4) SBm2[f](𝐱)=i=1NΦi,μ(𝐱)Bm𝒯i[f~](ϕ,θ),for all 𝐱S,

with Bm𝒯i[f~](ϕ,θ) given in (3.1), Φi,μ in (4.2), and f~(ϕ,θ)=f(x,y,z).

Furthermore, we list some properties of SBm2.

Theorem 4.3.

Considering 𝐱j,j=1,,n, the vertices of at least one triangle 𝒯i,i=1,,N, we have the following interpolation property of SBm2[f],

(4.5) SBm2[f](𝐱𝐣)=f(𝐱𝐣),j=1,,n.
Proof.

The proof follows from the cardinality property (4.3) of Φi,μ and by interpolation properties of Bm𝒯i[f~],   i=1,,N.

5. Numerical results on test functions

To illustrate the theoretical results, we compute the approximation errors for both interpolants introduced, SBm1 and SBm2, considering the orders m=1 and m=2 for the Bernoulli operators. We construct them considering two cases for choosing the nodes and the points. We use the following test functions (see, e.g., [27], [28], [33], [34])

f1(x,y,z)=
=34exp[(9x2)2+(9y2)2+(9z2)24]+34exp[(9x+1)249(9y+1)210(9z+1)210]
+12exp[(9x7)2+(9y3)2+(9z5)24]15exp[(9x4)2(9y7)2(9z5)2],
f2(x,y,z)=[1.25+cos(5.4y)]cos(6z)6+6(3x1)2,
f3(x,y,z)=13exp[8116((x0.5)2+(y0.5)2+(z0.5)2)],
f4(x,y,z)=13exp[814((x0.5)2+(y0.5)2+(z0.5)2)],
f5(x,y,z)=110(exp(x)+exp(y+z)),

For the first case, we evaluate the operators on 1000 random points on the unit sphere S, using sets of 500, 1000, and 2000 spiral nodes, respectively. These nodes are constructed based on a method proposed in [36]. To describe them, we use their spherical coordinates

𝐱j=(sinϕjcosθj,sinϕjsinθj,cosϕj), 1jn,

with

θ1=θn=0,θj=θj1+3.6[n(1hj2)]1/2, 2jn1,ϕj=arccoshj,hj=1+2(j1)/(n1), 1jn.

Tables 1, 2 and 3 present the maximum approximation errors emax, the mean approximation errors emean and the root mean squared errors erms of SBm1[fi] and SBm2[fi], i=1,,5, for m=1,2. We also post the computational times (CPU) for the methods introduced above. Comparing the results, we observe that the modified forms SBm2, for m=1,2, produce better approximation results than the classical operator, and they also have reduced computational costs.

f SB11[fi] SB21[fi] SB12[fi] SB22[fi]
emax 3.9891e02 3.2400e02 3.3100e03 2.8100e03
f1 emean 4.2133e03 3.1176e03 2.2260e04 2.3421e04
erms 3.7274e05 2.1211e05 1.4171e07 1.1763e07
CPU(s) 9.25 12.77 2.02 3.28
emax 7.5310e02 8.9800e02 1.2900e02 5.4631e02
f2 emean 1.3889e02 2.7007e02 1.8001e03 2.5021e03
erms 2.2739e04 5.5107e04 4.1159e06 2.7434e05
CPU(s) 9.73 15.70 1.96 4.20
emax 8.2901e03 4.7100e02 6.4495e04 1.2200e02
f3 emean 2.4223e03 5.9010e03 3.1643e05 4.8620e04
erms 4.7175e06 3.4644e05 3.9371e09 1.6595e06
CPU(s) 8.85 14.50 2.40 3.45
emax 1.4111e03 1.1500e02 9.0708e05 1.1102e03
f4 emean 3.8881e04 2.5098e03 3.4551e06 3.5572e05
erms 1.2039e07 4.8390e06 7.4863e11 1.0811e08
CPU(s) 9.15 14.35 1.89 3.42
emax 2.7334e02 1.5321e01 2.9859e04 2.5342e02
f5 emean 1.1701e02 3.2184e02 6.4761e05 7.2673e04
erms 9.2103e05 7.0022e04 4.3342e09 3.0956e06
CPU(s) 8.85 12.13 1.84 2.71
Table 1. Approx. errors, 1000 random points, 500 spiral nodes.
f SB11[fi] SB21[fi] SB12[fi] SB22[fi]
emax 3.9332e02 3.6901e02 1.3100e03 1.1102e03
f1 emean 4.1000e03 3.7103e03 9.5556e05 9.0589e05
erms 3.3149e05 2.5241e05 2.6797e08 1.9941e08
CPU(s) 26.46 42.45 3.84 6.39
emax 7.5701e02 1.255e01 5.0192e03 3.1207e02
f2 emean 1.4230e02 2.3224e02 6.5572e04 1.3103e03
erms 2.4513e04 4.6357e04 7.0492e07 9.3102e06
CPU(s) 27.50 46.07 3.80 8.31
emax 9.2231e03 4.8154e02 5.4220e04 6.1130e03
f3 emean 2.4319e03 6.2109e03 1.5056e05 1.5986e04
erms 4.8708e06 2.9532e05 1.2014e09 2.4983e07
CPU(s) 27.16 42.77 3.76 6.87
emax 1.9456e03 9.3142e03 2.5740e05 3.4166e04
f4 emean 3.4863e04 1.6108e03 8.8068e07 9.0463e06
erms 1.2234e07 2.0093e06 5.5023e12 8.5999e10
CPU(s) 29.47 43.23 3.72 6.72
emax 2.7300e02 1.1840e01 1.8875e04 2.3636e02
f5 emean 1.1301e02 3.6237e02 3.5909e05 4.0486e04
erms 8.8213e05 8.6680e04 1.4357e09 1.5827e06
CPU(s) 28.43 35.68 3.78 5.35
Table 2. Approx. errors, 1000 random points, 1000 spiral nodes.
f SB11[fi] SB21[fi] SB12[fi] SB22[fi]
emax 3.6500e02 3.7602e02 5.4228e04 4.5837e04
f1 emean 4.1010e03 3.9045e03 3.6498e05 3.4049e05
erms 2.9690e05 2.7106e05 4.2918e09 3.2545e09
CPU(s) 71.71 93.23 7.57 12.85
emax 7.3104e02 1.2881e01 1.4001e03 1.5003e02
f2 emean 1.4111e02 2.7704e02 2.4590e04 5.0487e04
erms 2.2888e04 7.0873e04 7.3669e08 1.4617e06
CPU(s) 72.87 108.28 7.47 17.13
emax 9.3210e03 3.4935e02 2.7605e04 5.9001e03
f3 emean 2.3421e03 6.4213e03 8.5660e06 9.2466e05
erms 4.9323e06 3.0432e05 4.5166e10 1.1311e07
CPU(s) 68.96 98.22 7.48 14.21
emax 1.8101e03 5.8111e03 5.9363e06 7.7965e05
f4 emean 3.1538e04 1.4108e03 2.3541e07 2.4140e06
erms 1.1955e07 1.6431e06 3.3274e13 4.4325e11
CPU(s) 85.36 99.58 7.64 13.85
emax 2.6302e02 2.7320e01 9.8393e05 1.2014e02
f5 emean 1.1131e02 3.9702e02 1.3511e05 1.8594e04
erms 8.3913e05 1.1021e03 2.0496e10 3.0978e07
CPU(s) 89.41 83.69 7.32 10.53
Table 3. Approx. errors, 1000 random points, 2000 spiral nodes.

In the second case, we perform the evaluation on 600 spiral points, using sets of 100, 500, and 1000 Halton nodes, respectively. The latter are spherical pseudorandom points, generated with the method proposed in [38]. We recall their definition from [38].

With the expansion using a prime base p of a natural number k

k=a0+a1p++ampm,ai{0,1,,p1},i=0,,m,

one can define the function

αp(k)=a0p+a1p2++ampm+1,

obtaining in the case p=2, the sequence α2(k), for k=0,1,2,, that is called the Van der Corput sequence.

To generate spherical Halton points, two padic Van der Corput sequences with different prime bases should be used to construct the following mappings

(αp1(k),αp2(k))(ϕ,t)(1t2cosϕ,1t2sinϕ,t).

As mentioned in [38], the first mapping is a linear scaling to a cylindrical domain, ϕ[0,2π),t[1,1], while the second one is a zpreserving radial projection from the unit cylinder C={𝐱=(x,y,z):x2+y2=1,|z|1} to the unit sphere S.

The approximation errors for SBm1[fi] and SBm2[fi], i=1,,5, for m=1,2, are given in Tables 4, 5, 6, together with the computational times (CPU). As in the previous case, an increased accuracy and reduced computational costs can be observed for the modified Shepard operators, SBm2, for m=1,2, in most of the cases.

The experiments were performed in Matlab and the software is available on the GitHub repository [42].

f SB11[fi] SB21[fi] SB12[fi] SB22[fi]
emax 2.9300e01 3.1260e01 3.3010e01 3.9331e01
f1 emean 6.3002e03 6.8109e03 6.1019e03 8.9001e03
erms 2.6293e04 3.1232e04 3.3660e04 6.5057e04
CPU(s) 1.08 1.64 0.30 0.49
emax 7.8203e02 3.7670e01 1.3160e01 2.7230e01
f2 emean 9.4145e03 4.0001e02 1.5136e02 1.4836e02
erms 1.3162e04 1.6126e03 3.4893e04 4.7136e04
CPU(s) 1.00 1.99 0.28 0.58
emax 7.0004e02 1.2320e01 2.9010e02 2.6990e01
f3 emean 4.4120e03 1.0412e02 1.5163e03 7.0043e03
erms 3.9543e05 1.5349e04 8.0437e06 3.0476e04
CPU(s) 1.07 1.67 0.28 0.52
emax 7.5200e02 1.4540e01 7.2100e02 8.7013e02
f4 emean 1.6123e03 1.0021e02 1.7000e03 1.6000e03
erms 1.8018e05 1.6578e04 3.1306e05 2.2566e05
CPU(s) 1.09 1.62 0.29 0.52
emax 4.3901e02 1.4770e01 5.3210e03 4.1301e02
f5 emean 1.1900e02 2.4902e02 9.3653e04 4.3002e03
erms 1.1493e04 5.5145e04 9.0226e07 3.6745e05
CPU(s) 1.12 1.35 0.27 0.39
Table 4. Approx. errors, 600 spiral points, 100 Halton nodes.
f SB11[fi] SB21[fi] SB12[fi] SB22[fi]
emax 1.8900e01 1.8070e01 1.0330e01 9.8200e02
f1 emean 4.8012e03 5.5000e03 1.5000e03 1.7000e03
erms 1.0222e04 1.1238e04 3.8095e05 3.0853e05
CPU(s) 5.64 8.18 1.23 2.04
emax 7.1213e02 2.9750e01 3.3002e02 9.5610e02
f2 emean 1.0402e02 3.2111e02 2.2221e03 2.6001e03
erms 1.3859e04 1.3102e03 8.3132e06 3.0931e05
CPU(s) 5.50 9.79 1.20 2.59
emax 5.8601e02 1.6420e01 6.998e03 7.0500e02
f3 emean 4.8482e03 1.1611e02 2.2109e04 1.4232e03
erms 3.0133e05 2.6015e04 2.1520e07 2.22776e05
CPU(s) 5.44 8.60 1.20 2.25
emax 6.8212e02 1.5660e01 1.1600e02 9.3321e03
f4 emean 1.5121e03 6.6129e03 2.6128e04 2.0128e04
erms 1.3739e05 1.5879e04 7.6383e07 3.4185e07
CPU(s) 5.43 8.45 1.21 2.20
emax 4.8104e02 1.5631e01 1.5678e03 2.8012e02
f5 emean 1.4602e02 3.7332e02 1.8517e04 7.9681e04
erms 1.6233e04 1.1121e03 3.7162e08 3.1546e06
CPU(s) 5.50 7.29 1.19 1.82
Table 5. Approx. errors, 600 spiral points, 500 Halton nodes.
f SB11[fi] SB21[fi] SB12[fi] SB22[fi]
emax 1.5190e01 1.8640e01 2.3612e02 3.0541e02
f1 emean 4.7012e03 5.5120e03 4.0776e04 5.5517e04
erms 8.0659e05 1.1212e04 1.3626e06 2.5779e06
CPU(s) 18.28 23.64 2.41 3.89
emax 7.7301e02 3.5470e01 1.5412e02 4.8321e02
f2 emean 1.0912e02 3.4219e02 9.5480e04 1.1010e03
erms 1.4607e04 1.4122e03 1.6192e06 5.9301e06
CPU(s) 19.69 29.05 2.34 5.27
emax 5.4312e02 1.9130e01 2.7210e03 5.7101e02
f3 emean 4.8120e03 1.1200e02 1.0509e04 5.6100e04
erms 2.9965e05 2.5867e04 4.5530e08 5.7240e06
CPU(s) 16.79 24.87 2.33 4.24
emax 8.1811e02 2.4490e01 6.9012e03 6.4012e03
f4 emean 1.5120e03 5.9010e03 9.3671e05 1.0121e04
erms 1.6921e05 1.6106e04 1.4708e07 1.4704e07
CPU(s) 16.07 23.95 2.33 4.28
emax 4.7223e02 1.9951e01 1.0010e03 1.6200e02
f5 emean 1.4721e02 4.2831e02 8.4443e05 4.0559e04
erms 1.6223e04 1.4111e03 9.2904e08 9.9029e07
CPU(s) 17.62 20.80 2.32 3.45
Table 6. Approx. errors, 600 spiral points, 1000 Halton nodes.

6. Application to real-data problems

To illustrate the practical benefits of this operator, we use topographic data available from the National Geophysical Data Center, NOAA US Department of Commerce, that are available in Matlab by using the command load topo. The data is represented as an array of size (180,360). Each cell, of size 1o×1o (latitude and longitude), stores average altitudes (in meters) above and below the sea level [29]. The topographic map of 21600 values is shown in Figure 1. For data reconstruction based on the operator SB12, given in (4.4), we used 1063 nodes. The approximation values and errors are displayed in Figure 2. The mean errors are about 538 meters. Figure 3 shows the real data and the computed values from a different angle.

Refer to caption
Figure 1. Exact values.
Refer to caption
(a) Approximation values using SB12.
Refer to caption
(b) Approximation errors.
Figure 2. Topographic data.
Refer to caption
(a) Real values.
Refer to caption
(b) Approximation values using SB12.
Figure 3. Topographic data, viewed from a different angle.

Finally, we present an application for monthly mean temperature predictions, based on a set of data downloaded from https://www.kaggle.com/datasets/shishu1421/global-temperature?select=air_temp.2010. We considered 1073 interpolation nodes and using the operator SB12 given in (4.4), we reconstructed 21449 temperature values on the Globe from January 2010 and June 2010, respectively. A map representing the real values is shown in Figure 4. The computed values are displayed in Figure 5. Finally, Figure 6 shows the approximation errors. We computed the mean approximation errors (emean) and the root mean squared errors (erms) to compare the results with the ones obtained in the case of the spherical Shepard operators combined with the least squares thin-plate spline (STPS) and the inverse multiquadric (SIMQ) functions introduced by us in [8], using the same sets of data. The results are listed in Table 7, showing that the methods are comparable.

January June
SB12 STPS SIMQ SB12 STPS SIMQ
emean 1.91C 2.08C 2.63C 1.89C 2.11C 2.75C
erms 5.88C 5.31C 7.61C 5.99C 5.09C 7.81C
Table 7. Errors for mean global temperatures in

January 2010 and June 2010.

Refer to caption
(a) January 2010.
Refer to caption
(b) June 2010.
Figure 4. Real temperatures.
Refer to caption
(a) January 2010.
Refer to caption
(b) June 2010.
Figure 5. Computed values of temperatures using SB12.
Refer to caption
(a) January 2010.
Refer to caption
(b) June 2010.
Figure 6. Approximation errors.

Conclusions. We have constructed the new spherical operators based on two types of Shepard basis functions and the Bernoulli operators. The last ones were considered on triangular domains. The numerical tests and the practical applications considered here for modeling some real-life phenomena demonstrated the efficiency of the proposed methods.

In our future studies, we also intend to generalize some Lidstone type operators for scattered data sets on the sphere [9].

Acknowledgments. We are grateful to the referees for the careful reading and for their valuable suggestions that improved the manuscript.

Conflict of interest statement: Not Applicable.

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] Caira, R., Dell’Accio, F.: Shepard-Bernoulli Operators. Math. Comp. 76, 299–321 (2007).
  • [3] Caira, R., Dell’Accio, F., Di Tommaso, F.: On the bivariate Shepard-Lidstone operators, Journal of Computational and Applied Mathematics, 236 (7) 1691-1707 (2012).
  • [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.: The bivariate Shepard operator of Bernoulli type. Calcolo 44(4), 189–202 (2007)
  • [6] Cătinaş, T., Malina, A.: Shepard operator of least squares thin-plate spline type. Stud. Univ. Babeş-Bolyai Math. 66(2), 257–265 (2021)
  • [7] Cătinaş T, Malina A.: The combined Shepard operator of inverse quadratic and inverse multiquadric type. Stud. Univ. Babeş-Bolyai Math. 67, 579-–589 (2022)
  • [8] Cătinaş, T., Malina, A.: Spherical interpolation of scattered data using least squares thin-plate spline and inverse multiquadric functions. Numer Algor (2024). https://doi.org/10.1007/s11075-024-01755-6
  • [9] Cătinaş, T., Malina, A.: Spherical Shepard-Lidstone type operators, manuscript.
  • [10] 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)
  • [11] Cavoretto, R., De Rossi, A.: Numerical comparison of different weights in Shepard’s interpolants on the sphere. Appl. Math. Sci. 4, 3425–3435 (2010)
  • [12] 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)
  • [13] Cavoretto, R., De Rossi, A.: Achieving accuracy and efficiency in spherical modelling of real data. Math. Methods Appl. Sci. 37, 1449–1459 (2014)
  • [14] Cavoretto, R., De Rossi, A., Dell’Accio, F., Di Tommaso, F.: Fast computation of triangular Shepard interpolants. J. Comput. Appl. Math. 354, 457–470 (2019)
  • [15] Cavoretto, R., De Rossi, A., Dell’Accio, F., Di Tommaso, F.: An efficient trivariate algorithm for tetrahedral Shepard interpolation. J. Sci. Comput. 82, 57 (2020)
  • [16] Costabile, F.A., Dell’Accio, F.: Expansion over a rectangle of real functions in Bernoulli polynomials and applications. BIT 41, 451–-464 (2001).
  • [17] Costabile, F.A., Dell’Accio, F.: Expansion over a simplex of real functions by means of Bernoulli polynomials. Numer Algorithms 28, 63–-86 (2001).
  • [18] Costabile, F.A., Dell’Accio, F.: Lidstone Approximation on the Triangle, Appl. Numer. Math., 52 339-361 (2005).
  • [19] Costabile, F.A., Dell’Accio, F., Gualtieri, M.I.: A new approach to Bernoulli polynomials, Rendiconti di Matematica e delle sue Applicazioni 26, 1-12 (2006).
  • [20] Costabile, F.A., Dell’Accio, F., Guzzardi, L.: New bivariate polynomial expansion with boundary data on the simplex, Calcolo, 45 177-192 (2008).
  • [21] Costabile, F.A., Dell’Accio, F., Di Tommaso, F., Complementary Lidstone Interpolation on Scattered Data Sets, Numerical Algorithms, 64 157-180 (2013).
  • [22] Dell’Accio, F., Di Tommaso, F., Hormann, K.: On the approximation order of triangular Shepard interpolation. IMA J. Numer. Anal. 36, 359–379 (2016).
  • [23] Dell’Accio, F., Di Tommaso, F.: Bivariate Shepard-Bernoulli operators. Math. Comput. Simulation 141, 65–82 (2017)
  • [24] Dell’Accio, F., Di Tommaso, F., Nouisser, O., Zerroudi, B.: Increasing the approximation order of the triangular Shepard method. Appl. Numer. Math. 126, 78–91 (2018)
  • [25] 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)
  • [26] Farwig, R.: Rate of convergence of Shepard’s global interpolation formula. Math. Comp. 46, 577–590 (1986)
  • [27] Franke, R.: Scattered data interpolation: tests of some methods. Math. Comp. 38, 181–200 (1982)
  • [28] Franke, R., Nielson, G.: Smooth interpolation of large sets of scattered data. Int. J. Numer. Meths. Engrg. 15, 1691–1704 (1980)
  • [29] Le Gia, Q., Sloan, I., Wendland, H.: Multiscale Analysis in Sobolev Spaces on the Sphere. SIAM J. Numerical Analysis. 48, 2065-–2090 (2010)
  • [30] Little, F.: Convex combination surfaces. In: Surfaces in Computer Aided Geometric Design (Barnhill, R.E., Boehm, W. (eds)), pp. 99–107, Amsterdam: North-Holland (1983).
  • [31] Nielson, G., Ramaraj, R.: Interpolation over a sphere based upon a minimum norm network. Comput. Aided Geom. Design 4, 41–57 (1987).
  • [32] Renka, R.J.: Interpolation of data on the surface of a sphere. ACM Trans. Math. Software 10, 417–436 (1984).
  • [33] Renka, R.J., Cline, A.K.: A triangle-based C1 interpolation method. Rocky Mountain J. Math. 14, 223–237 (1984)
  • [34] Renka, R.J.: Multivariate interpolation of large sets of scattered data. ACM Trans. Math. Software 14, 139–148 (1988)
  • [35] Renka, R.J.: Algorithm 772: STRIPACK, Delaunay Triangulation and Voronoi Diagram on the Surface of a Sphere. ACM Trans. Math. Software 23, 416-–434 (1997).
  • [36] Saff, E.B., Kuijlaars, A.B.J.: Distributing many points on a sphere. Math. Intelligencer. 19, 5–11 (1997)
  • [37] Shepard, D.: A two dimensional interpolation function for irregularly spaced data. In: Proceedings of the 1968 23rd ACM National Conference, 517–523. ACM (1968)
  • [38] Wong, T.T., Luk, W.S., Heng, P.A.: Sampling with Hammersley and Halton Points. J. Graph. Tools, 2(2), 9–24 (1997)
  • [39] Zerroudi, B., Tayeq, H., El Harrak, A.: Effective interpolation of scattered data on a sphere through a Shepard-like method. Math. Model. Comput., 10(4), 1174-–1186 (2023)
  • [40] Zerroudi, B., Tayeq, H., El Harrak, A.: Scattered data interpolation on the 2-dimensional surface through Shepard-like technique. Math. Model. Comput., 11(1), 277–-289 (2024)
  • [41] Zuppa, C.: Error estimates for moving least square approximations. Bull. Braz. Math. Soc. (N.S), 34(2), 231–249 (2003)
  • [42] https://github.com/andramalina/Shepard-Bernoulli-sphere

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. Caira, R., Dell’Accio, F.: Shepard-Bernoulli operators. Math. Comp. 76, 299–321 (2007)
3. Caira, R., Dell’Accio, F., Di Tommaso, F.: On the bivariate Shepard-Lidstone operators. J. Comput. Appl. Math. 236(7), 1691–1707 (2012)
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.: The bivariate Shepard operator of Bernoulli type. Calcolo 44(4), 189–202 (2007)
6. Cătinaș, T., Malina, A.: Shepard operator of least squares thin-plate spline type. Stud. Univ. Babeș-Bolyai Math. 66(2), 257–265 (2021)
7. Cătinaș, T., Malina, A.: The combined Shepard operator of inverse quadratic and inverse multiquadric type. Stud. Univ. Babeș-Bolyai Math. 67, 579–589 (2022)
8. Cătinaș, T., Malina, A.: Spherical interpolation of scattered data using least squares thin-plate spline and inverse multiquadric functions. Numer. Algor. (2024). https://doi.org/10.1007/s11075-024-01755-6
9. Cătinaș, T., Malina, A.: Spherical Shepard-Lidstone type operators, manuscript
10. 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)
11. Cavoretto, R., De Rossi, A.: Numerical comparison of different weights in Shepard’s interpolants on the sphere. Appl. Math. Sci. 4, 3425–3435 (2010)
12. 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)
13. Cavoretto, R., De Rossi, A.: Achieving accuracy and efficiency in spherical modelling of real data. Math. Methods Appl. Sci. 37, 1449–1459 (2014)
14. Cavoretto, R., De Rossi, A., Dell’Accio, F., Di Tommaso, F.: Fast computation of triangular Shepard interpolants. J. Comput. Appl. Math. 354, 457–470 (2019)
15. Cavoretto, R., De Rossi, A., Dell’Accio, F., Di Tommaso, F.: An efficient trivariate algorithm for tetrahedral Shepard interpolation. J. Sci. Comput. 82, 57 (2020)
16. Costabile, F.A., Dell’Accio, F.: Expansion over a rectangle of real functions in Bernoulli polynomials and applications. BIT 41, 451–464 (2001)
17. Costabile, F.A., Dell’Accio, F.: Expansion over a simplex of real functions by means of Bernoulli polynomials. Numer. Algorithms 28, 63–86 (2001)
18. Costabile, F.A., Dell’Accio, F.: Lidstone Approximation on the Triangle. Appl. Numer. Math. 52, 339–361 (2005)
19. Costabile, F.A., Dell’Accio, F., Gualtieri, M.I.: A new approach to Bernoulli polynomials. Rendiconti di Matematica e delle sue Applicazioni 26, 1–12 (2006)
20. Costabile, F.A., Dell’Accio, F., Guzzardi, L.: New bivariate polynomial expansion with boundary data on the simplex. Calcolo 45, 177–192 (2008)
21. Costabile, F.A., Dell’Accio, F., Di Tommaso, F.: Complementary Lidstone Interpolation on Scattered Data Sets. Numer. Algorithms 64, 157–180 (2013)
22. Dell’Accio, F., Di Tommaso, F., Hormann, K.: On the approximation order of triangular Shepard interpolation. IMA J. Numer. Anal. 36, 359–379 (2016)
23. Dell’Accio, F., Di Tommaso, F.: Bivariate Shepard-Bernoulli operators. Math. Comput. Simulation 141, 65–82 (2017)

Related Posts

Spherical Shepard-Bernoulli operator

AbstractWe consider the problem of interpolating large sets of scattered data on the sphere using Shepard-Bernoulli operators constructed based on…