Next Article in Journal
Specification and Description Language Models Automatic Execution in a High-Performance Environment
Next Article in Special Issue
Low-Cost Multisensory Robot for Optimized Path Planning in Diverse Environments
Previous Article in Journal
Improvement of Malicious Software Detection Accuracy through Genetic Programming Symbolic Classifier with Application of Dataset Oversampling Techniques
Previous Article in Special Issue
Using Machine Learning and Routing Protocols for Optimizing Distributed SPARQL Queries in Collaboration
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Meshfree Interpolation of Multidimensional Time-Varying Scattered Data

1
Department of Computer Science and Engineering, Faculty of Applied Science, University of West Bohemia, 301 00 Pilsen, Czech Republic
2
Department of Military Robotics, Faculty of Military Technology, University of Defence, 662 10 Brno, Czech Republic
*
Author to whom correspondence should be addressed.
Computers 2023, 12(12), 243; https://doi.org/10.3390/computers12120243
Submission received: 9 October 2023 / Revised: 15 November 2023 / Accepted: 17 November 2023 / Published: 21 November 2023
(This article belongs to the Special Issue Advances in Database Engineered Applications 2023)

Abstract

:
Interpolating and approximating scattered scalar and vector data is fundamental in resolving numerous engineering challenges. These methodologies predominantly rely on establishing a triangulated structure within the data domain, typically constrained to the dimensions of 2D or 3D. Subsequently, an interpolation or approximation technique is employed to yield a smooth and coherent outcome. This contribution introduces a meshless methodology founded upon radial basis functions (RBFs). This approach exhibits a nearly dimensionless character, facilitating the interpolation of data evolving over time. Specifically, it enables the interpolation of dispersed spatio-temporally varying data, allowing for interpolation within the space-time domain devoid of the conventional “time-frames”. Meshless methodologies tailored for scattered spatio-temporal data hold applicability across a spectrum of domains, encompassing the interpolation, approximation, and assessment of data originating from various sources, such as buoys, sensor networks, tsunami monitoring instruments, chemical and radiation detectors, vessel and submarine detection systems, weather forecasting models, as well as the compression and visualization of 3D vector fields, among others.

1. Introduction

Data interpolation and approximation represent recurrent tasks spanning numerous domains. Typically, interpolation is employed for datasets denoted as h i = f ( x i ) where h i corresponds to a value at position x i Ω . The data domain is represented by Ω within the Euclidean space E d , usually with dimensions d = 2 or d = 3 . Notably, the tessellation of the data domain does not invariably hinge upon the Delaunay triangulation (DT).
The values h i may manifest as scalars or vectors, exemplified by parameters such as wind velocity ( v x , v y , v z ) . In spatio-temporal data instances, an implicit expectation emerges wherein a fixed and known correspondence between points yields spatio-temporal meshes featuring unchanging point connectivity across temporal frames t i and t i + 1 , if domain tessellation is adopted. It warrants mention that in scenarios where the spatial domain Ω E 3 , the spatio-temporal context requires tessellation within E 4 .
A customary technique for tessellation resides in the Delaunay triangulation (DT) [1]. Nevertheless, it is imperative to acknowledge that its computational complexity increases as O ( N d / 2 + 1 ) , resulting in O ( N 2 ) for d = 2 and O ( N 3 ) for d = 3 or d = 4  [1]. Furthermore, the dimensionality of the data introduces a significant increase in computational demands, engendering numerical robustness concerns.
In addition to computational intricacies, ensuring the requisite smoothness of the final interpolation of h i values presents a formidable challenge when triangular or tetrahedral meshes are utilized for data domain representation. This methodology holds relevance in spatio-temporal scenarios where data are “framed” for a designated “time-slice” t i with fixed, known point connectivity.
However, many problems here require interpolating scattered spatio-temporal data in a “non-framed” manner. Examples encompass sensor networks, buoyant devices outfitted with sensors at sea, and situations where data sources operate sporadically, such as tsunami detection and the identification of ships and submarines. Such sensors experience transient connectivity, yielding energy conservation benefits while posing challenges in their detection.

2. Spatio-Temporal Data Classification

Interpolation and approximation are usually made for the “ordered” data domains, e.g., rectangular, triangular, and tetrahedral meshes. In CAD systems, the parametric space is used for interpolation, e.g., for parametric curves and surfaces. The data domain can be classified as follows:
  • ordered:
    structured:
    *
    regular, e.g., a rectangular mesh where all elements have the same size, triangular meshes with a constant vertex valency.
    *
    irregular, e.g., a rectangular mesh, but elements have different-sized triangular meshes with non-constant vertex valencies.
    unstructured, e.g., general triangular or tetrahedral meshes.
  • unordered:
    clustered—points form clusters in the data domain.
    scattered—points are generally scattered across the domain.
The domain data can also be classified as static or dynamic in space and time; see Table 1. It can be seen that the case h = f ( x ( t ) , t ) represents interpolation of a scalar value h on the d-dimensional domain of x ( t ) Ω ( t ) , where the position x ( t ) is changing within time t. It should be noted that the Ω ( t ) is not generally constant in time.
Now, the case of the scattered spatio-temporal domain is dynamic in both, i.e., h ( t ) = f ( x ( t ) , t ) can be classified further as follows:
  • framed in time—points lie on a hyperplane ρ E d for the given time slice t i .
  • framed in space—all points for the given slice in the given E d space are given (limited to the ( x , t ) case, i.e., x R 1 ).
  • unframed in space and time—just an unordered “heap of points” scattered in space-time.
Also, the points in the Ω domain might be with known mutual point correspondences, i.e., a geometrical trajectory of a point can be reconstructed, e.g., using the sensor’s ID, or without any similar information, i.e., the sensor’s ID is not available. A typical example can be free-floating buoys (not attached), e.g., measuring value radiations that transmit information only if the measured values are outside the expected interval.
The following describes a general approach to scattered spatio-temporal data interpolation using radial basis functions (RBFs).

3. Radial Basis Functions

Several radial basis functions (RBFs) have been introduced by various authors [2,3,4]. The RBF interpolation is based on a solution of a linear system of equations Ax = b and consists of two major steps:
  • The weight λ computation, Equations (1) and (2); this will be explained later.
  • Interpolated function h ( x ) computation for the value x , Equation (1).
The RBFs can be categorized into two major groups:
  • “Global” RBFs: These RBFs have a global impact and include functions like the following:
    Polyharmonic spline (PHS):
    φ ( r ) = r 2 k 1 , k = 1 , 2 ,     φ ( r ) = r k ln r , k = 1 , 2 ,
    Thin-plate spline (TPS): φ ( r ) = r 2 k ln r , k = 1 , 2 ,
    In the actual implementation, φ ( r ) = r 2 ln r 2 is used as r 2 ln r = 1 2 r 2 ln r 2 .
    Gaussian: φ ( r ) = e α r 2 .
    Multiquadric: φ ( r ) = 1 + α r 2 .
    Inverse quadratic: φ ( r ) = 1 1 + α r 2 .
    Inverse multiquadratic: φ ( r ) = 1 1 + α r 2 .
    In these functions, α > 0 is a shape parameter, and r ( 0 , ) . The global RBFs lead to dense (full) matrix A , in some cases ill-conditioned.
  • “Local” RBFs (Compactly Supported RBFs or CS-RBFs): These RBFs have non-zero positive values only on the interval ( 0 , 1 ) , see Figure 1a. Some examples of these functions are listed in Table 2. CS-RBFs usually lead to a sparse matrix A and depend on the shape parameter α . Additional CS-RBFs, such as the “bump CS-RBF” based on Gaussian, have also been proposed.
There are two steps in the RBF interpolation:
  • The “global” functions lead to full RBF matrices, usually ill-conditioned [2]. Also, for large data processing, the size of matrix A is very high and the block matrix approach has to be taken [5]; in the St.Helen case, over 6.7 × 10 6 points were processed and it led to a 10 6 × 10 6 matrix.
    Some RBFs depend on a “proper” selection of the shape parameter α and are very sensitive, especially if the polynomial P k ( x ) is used [6].
  • The “local” functions lead to sparse RBF matrices if the shape parameter α is chosen appropriately. If the RBF matrix is positive definite, iterative methods can be used. It usually leads to a faster solution. Also, space partitioning can be used to obtain a faster solution of the RBF weights λ followed by an interpolation between neighbor cells in actual value computation. The whole domain Ω is split into cells ω and weights λ are computed for each cell ω together with some points from the neighbor cells; see Figure 1b. The final interpolated value is determined by a linear interpolation covering the neighbor cells [7].
It should be noted that the radial basis functions have the shape parameter α , which influences the precision of the final interpolation and the choice of the value might be critical [8,9,10].

4. RBF Interpolation

The radial basis function (RBF) interpolation is based on the mutual distances between points within the data domain Ω  [2,11,12,13,14,15,16,17,18,19]. RBFs find widespread use in various applications, including those discussed [10,20,21,22].
RBF interpolation takes the following form:
h ( x ) = j = 1 N λ j φ ( x x j ) = j = 1 N λ j φ ( r j )
where r j represents the distance from point x to point x j , λ j represents weight, and φ ( · ) is the RBF kernel function used.
Since the parameter r in the function φ ( r ) is a distance between two points in a d-dimensional space, the interpolation is inseparable by dimension. The RBF φ ( r ) will be given later. For each point x i , the interpolating function must take on the value h i . This leads to a system of linear equations:
h i = h ( x i ) = j = 1 N λ j φ ( x i x j ) = j = 1 N λ j φ ( r i j ) , i = 1 , , N
where λ j represents unknown weights for each radial basis function, N is the number of given points, and φ ( r ) is the radial basis function itself. Then Equation (2) can be written in matrix form as:
A λ = h
or using φ i j = φ ( r i j ) = φ ( x i x j ) as:
φ 11 φ 1 j φ 1 N φ i 1 φ i j φ i N φ N 1 φ N j φ N N λ 1 λ i λ N = h 1 h i h N
The interpolated value h ( x ) at point x is computed using Equation (1).
Additional orthogonal functions can be added to ensure positive definiteness of the system [2,6,23,24]. However, it might lead to the ill-conditionality of the linear system of equations in some cases [24]. In the case of an additional polynomial P k ( x i ) of degree k, we have
h ( x i ) = j = 1 N λ j φ ( x i x j ) + P k ( x i ) , i = 1 , , N
It is worth noting that the matrix size is nearly independent of the dimension and has a size of approximately ( N × N ) , which is advantageous for solving large systems of linear equations [5]. For example, in the case of a bilinear polynomial P 1 ( x , y ) :
P 1 ( x , y ) = a 0 + a 1 x + a 2 y + a 3 x y
Additional orthogonal conditions, in the case of the polynomial P 1 ( x , y ) in Equation (6), are to be applied:
j = 1 N λ j = 0 , j = 1 N λ j x j = 0 , j = 1 N λ j y j = 0 , j = 1 N λ j x j y j = 0
The conditions in Equation (7) lead to a compact formulation of RBF interpolation:
A P P T 0 λ a = h 0
In Equation (8), the matrix P represents the polynomial, λ is the vector of the RBF weights, the vector a contains the resulting polynomial coefficients, and h represents the given values at the given points x i Ω . The matrix P T represents the additional orthogonal conditions as defined in Equation (7).
However, when using the polynomial P k ( x ) :
  • RBF interpolation is not invariant to rotation and translation except when P 0 ( x ) = a 0 is used, i.e., contains only a scalar value.
  • Interpolation, represented by λ and a , depends on the physical units used for the vector x .
  • The polynomial used might be counter-productive in cases with a large range of domain data [6,24].
RBF interpolation results in a linear system of equations Ax = b . It is a significant advantage of the RBF methods, as sophisticated numerical methods have been developed.

4.1. Distance

The RBF methods are based on distances. The distance between points x i and x j , denoted as r i j = x i x j , is defined as follows:
  • For spatial data (time-independent), the Euclidean norm · 2 is typically used:
    r i j = x i x j = k = 1 d ( k x i k x j ) 2 = ( x i x j ) T ( x i x j )
    where k x i represents the k t h element of the vector x i .
    It should be noted that the norm · 1 is also used, e.g., in fuzzy systems.
  • For spatio-temporal data (time-varying), the distance is calculated as
    r i j = x i x j = k = 1 d ( k x i k x j ) 2 + β 2 ( t i t j ) 2
    where k x i again represents the k t h element of the vector x i . The coefficient β has physical units of [ m / s ] and reflects the speed of the physical phenomena, such as the speed of sound in water or the speed of light, etc.
    Unfortunately, β = 1 is usually taken in many applications regardless of physical reasoning and possible influence on the final interpolated values.
  • Another approach is to use the radial basis function φ ( r ) with a multiplicative exponential time term:
    ϕ ( r ( t ) , t ) = φ ( r ) e k 1 t or ϕ ( r ( t ) , t ) = φ ( r ) e ( k 1 t 2 + k 2 t + k 3 )
    where k 1 , k 2 , and k 3 are constants, as discussed in Ku [25].
    Such an approach is usually taken in solutions of partial differential equations (PDEs).
    If the points x are not static, i.e., x = x ( t ) , then the mutual distances of points are not constant and they are time-dependent, i.e., r i j = r i j ( t ) .
    The radial basis functions mentioned above are used for interpolation, approximation, and solving ordinary differential equations (ODEs) and partial differential equations (PDEs), among other applications.
In the case of RBF approximation with a polynomial, a direct application of the Least Square Error methods (LSE) leads to incorrect results.

4.2. Normalized RBF

Normalized RBF (N-RBF) is a modification of the standard RBF used in RBF neural network-related applications [26]. It is given in the following form:
h ( x ) = j = 1 N λ j φ x x j ) j = 1 N φ x x j = j = 1 N λ j φ ( r j ) j = 1 N φ ( r j )
where r j is the distance from point x to point x j .
It can be seen that denominator values in Equation (12) can be zero, or close to zero, i.e., j = 1 N φ x x j 0 for some values x , which would lead to instability as h ( x ) . However, the N-RBFs are used in the RBF neural network applications [26] as the projective linearity is kept.

4.3. Squared Normalized RBF

Some RBFs φ ( r ) used for interpolation and approximation are not strictly positive, such as r 2 ln ( r ) (Thin-Plate Spline—TPS), which is negative on the interval ( 0 , 1 ) . In such cases, the Euclidean norm should be used for more robust computation. It should be noted that r 2 log ( r ) = 1 2 r 2 log ( r 2 ) is to be used as no r 2 computation is needed; only the values of the weights λ j are doubled. Also, there is a direct connection between the matrix conditionality and numerical robustness [27].
The Squared Normalized RBF (SN-RBF) is defined as follows:
h ( x ) = j = 1 N λ j φ ( x x j ) j = 1 N φ 2 ( x x j ) = j = 1 N λ j φ ( r j ) j = 1 N φ 2 ( r j )
where r j = x x j is the distance from point x to point x j .
This is essentially the Euclidean normalization of each row of the matrix A in Equation (4), which leads to slightly better numerical conditionality of the linear system of equations.
In the case of interpolation, Equation (13) must be valid for all given points x i Ω :
h ( x i ) = j = 1 N λ j φ ( x i x j ) j = 1 N φ 2 ( x i x j ) = j = 1 N λ j φ ( r i j ) j = 1 N φ 2 ( r i j ) , i = 1 , , N
It leads to:
j = 1 N λ j φ ( x i x j ) = h ( x i ) j = 1 N φ 2 ( x i x j ) , i = 1 , , N
In the case of interpolation with an added polynomial P k ( x ) of degree k, Equation (14) becomes:
h ( x ) = j = 1 N λ j φ ( x x j ) j = 1 N φ 2 ( x x j ) + P k ( x )
The additional orthogonal conditions are to be added, as discussed in Equation (7). The polynomial P k ( x ) improves the conditionality of the RBF matrix and provides a rough approximation of the given data. However, it might be counter-productive in some cases.
The SN-RBF in Equation (16) can be rewritten as:
h ( x i ) = j = 1 N λ j φ ( x i x j ) j = 1 N φ 2 ( x i x j ) + P k ( x i ) = j = 1 N λ j φ ( r i j ) j = 1 N φ 2 ( r i j ) + P k ( x i ) , i = 1 , , N
where r i j = x i x j .
It is important to note that this approach replaces O ( N 2 ) division operations with O ( N ) multiplications. The given values h ( x i ) are just multiplied by the values j = 1 N φ 2 ( r i j ) . This also enhances the robustness of computation, especially for large values of N.
Equation (17) can be modified similarly to Equation (15) to:
j = 1 N λ j φ ( r i j ) + P k ( x i ) j = 1 N φ 2 ( r i j ) = h ( x i ) j = 1 N φ 2 ( r i j ) , i = 1 , , N
As j = 1 N φ 2 ( r i j ) is a constant for the i t h row ( i = 1 , , N ), Equation (18) can be simplified:
j = 1 N λ j φ ( r i j ) + q i P k ( x i ) = q i h ( x i ) , i = 1 , , N
where q i = j = 1 N φ 2 ( r i j ) .
Then the system of linear equations for the SN-RBF interpolation has the following form:
φ 11 φ 1 N q 1 q 1 x 1 q 1 y 1 q 1 x 1 y 1 φ N 1 φ N N q N q N x N q N y N q N x n y N 1 1 1 0 0 0 0 x 1 x N 0 0 0 0 y 1 y N 0 0 0 0 x 1 y 1 x N y N 0 0 0 0 λ 1 λ N a 0 a 1 a 2 a 3 = q 1 h 1 q N h N 0 0 0 0
which can be expressed more compactly as
A QP P T 0 λ a = Q h 0
where Q = d i a g [ q 1 , , q N ] is a diagonal matrix and q i > 0 , i = 1 , , N in the case of SN-RBFs. However, in the approximation case, i.e., the matrix A is ( N × M ) , N > M , the polynomial part has to be handled differently, and the Least Square Method (LSE) cannot be used directly [28].

4.4. RBF Approximation

Approximation using RBF with a polynomial leads to Equation (22), which is formally similar to Equation (8). However, the RBF matrix is N × M , where N > M .
A P P T 0 λ a = h 0
If the Least Square Method were to be used directly, it would lead to a matrix:
A T A + P T P A T P P T A P T P
where values without physical units A T A would be summed with P T P values having physical units (m 2 ). This means that it is an incorrect solution.
The correct solution can be obtained using Lagrange multipliers and an error r minimization:
A λ + P a = h , r = A λ + P a h
Using the conditions for a minimum of r:
r 2 λ = A T A λ + A T P a A T h = 0 , r 2 a = P T A λ + P T P a P T h = 0
It leads to the correct solution of RBF approximation:
A T A A T P P T A P T P λ a = A T h P T h
However, this leads to numerical problems due to an ill-conditioned RBF matrix [24,29].

5. RBF Interpolation Example

For the demonstration of RBF spatio-temporal scattered data interpolation properties, we use rainfall data from Peninsular Malaysia in 2007, sourced from the Malaysian Meteorology Department [30]. These data are static from a spatial perspective but dynamic in the temporal dimension.

5.1. Algorithm Based on Triangulation and Timmer Patches

One approach to interpolate these data is to tessellate the domain, see Figure 2, subdivide the mesh, and smooth it. Ali [30] employed Delaunay triangulation based on 25 major meteorological station positions and used cubic Timmer triangular patches for the triangular surface representation and interpolation. Algorithm 1 outlines Ali’s approach and is used to generate the final triangular surface also using triangular mesh subdivision with the Timmer patches.
Algorithm 1 Ali’s Scattered Data Interpolation Algorithm
1:
Input: Data points
2:
Triangulate the domain using Delaunay triangulation.
3:
Specify derivatives at data points using [31], then assign Timmer coordinates values for each triangular patch.
4:
Generate triangular patches of the surfaces using cubic Timmer triangular patches.
5:
Output: Surface reconstruction.
It is important to note that additional operations are required to obtain a smooth surface over the triangular mesh generated by Ali’s algorithm, or other interpolation techniques on tessellated data can be used [32].
Figure 2. The tessellation of Peninsular Malaysia; data taken from [33].
Figure 2. The tessellation of Peninsular Malaysia; data taken from [33].
Computers 12 00243 g002
In the following section, we present a solution based on RBF interpolation.

5.2. RBF Interpolation

The RBF approach leads to a smooth surface automatically. However, interpolation on borders might not be reliable. Examples of the data SN-RBF interpolation are presented in figures in Figure 3. The SN-RBF with the Gauss function and bilinear polynomial was used; parameters α = 0.255 and β = 1 in Equation (10).
The 3D views of the rainfall interpolated data are presented in Figure 4 and Figure 5. It should be noted that the α shape parameter has to be set reasonably. Note, that there are several suboptimal shape parameters [8,9,34].

5.3. Experimental Comparison

In RBF interpolation and approximation evaluation, standard testing functions are usually used and errors are evaluated.
The testing functions have been normalized to the data domain [ 0 , 1 ] × [ 0 , 1 ] and their values to [ 0 , 1 ] for easier mutual comparison. It should be noted that:
  • use of “global” functions leads to full RBF matrices, which are usually ill-conditioned;
  • “local” functions are sensitive to the shape parameter α choice; in the following tests, α = 1 was taken;
  • additional polynomial use leads to loss of invariance and to additional problems in large spans of data [24].
In the experiments conducted, the following items have been evaluated:
  • RBF matrix conditionality:
    κ ( A ) = | λ m a x ( A ) | | λ m i n ( A ) |
    where λ are eigenvalues of the matrix A .
    Note that the angular conditionality might be used for large matrices A .
  • Root Mean Square Error (RMSE):
    R M S E = i = 1 n ( x i h ( x i ) ) 2 n
  • Coefficient R 2 :
    R 2 = 1 i = 1 n ( x i h ( x i ) ) 2 i = 1 n ( x i x ¯ ) 2 ,
  • Maximum error e m a x :
    e m a x = max i ( | x i h ( x i ) | )
The following testing functions were used:
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 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 9 ( tanh ( 9 y 9 x ) + 1 ) F 3 ( x , y ) = 1 6 1.25 + cos ( 4.5 y ) 1 + ( 3 x 1 ) 2 F 4 ( x , y ) = 1 3 e 81 16 ( x 0.5 ) 2 + ( y 0.5 ) 2 F 5 ( x , y ) = 1 3 e 81 4 ( x 0.5 ) 2 + ( y 0.5 ) 2 F 6 ( x , y ) = 1 9 64 81 ( ( x 0.5 ) 2 + ( y 0.5 ) 2 ) 0.5
Experimental results are presented in Table 3 for the interpolation case with the uniform sampling and in Table 4 for the approximation case; points of importance were detected [5]. Figure 6, Figure 7, Figure 8 and Figure 9 present typical results of the RBF interpolation. It can be seen that the error is high at the border, which is a typical behavior of RBF interpolation.

6. Discussion

The RBF interpolation methods presented above are intended for spatio-temporal scattered data interpolation, generally in d-dimensional space. The main advantages are:
  • the final interpolation is inherently smooth;
  • if CS-RBFs are used, the RBF matrix is sparse;
  • computational complexity is nearly independent of dimensionality and mainly depends on the number of data points;
  • an explicit formal analytical formula for the final interpolation is obtained in the form Ax = b (a solution is equivalent to the outer product (extended cross product) application [10]);
  • if the RBF φ ( r ) is positive definite, iterative methods can be employed for solving linear systems of equations;
  • the SN-RBF enhances numerical stability by effectively normalizing each row of the RBF matrix;
  • solving linear systems of equations Ax = b is equivalent to the outer product (extended cross-product) use; standard symbolic operations can be applied for further processing without the need for numerical evaluation;
  • block matrix decomposition may be utilized for large datasets, resulting in faster computation [5,7].
However, the selection of the shape parameter α seems to be critical, and optimal choice is still an open question [8,9,10]. Additionally, RBFs find applications in solving partial differential equations (PDEs) and surface reconstruction of acquired data [21,22,35,36,37,38,39].

7. Conclusions

This contribution introduces a new form of normalized radial basis function (RBF) called Squared Normalized RBF (SN-RBF) for spatio-temporal data with normalization of RBF matrix rows. The main potential use is expected in sensor networks, where sensors may not have fixed positions, and data are not synchronized in time, i.e., in time slots. The proposed SN-RBF formulation not only provides better RBF matrix conditionality but also enhances the suitability of RBF interpolation for various applications. (Related papers are available at http://afrodita.zcu.cz/~skala/Publication-RBF.htm (accessed on 10 November 2023)).
The presented SN-RBF interpolation method is particularly advantageous for scattered spatio-temporal interpolation scenarios. For instance, it can be applied to cases where sensors transmit data only when physical phenomena reach values outside the expected range or when sensors change their positions, such as surveillance sensors in marine environments.
Future research will focus on analyzing the sensitivity of the shape parameter α , evaluating the applicability of the thin-plate spline (TPS) function ( r 2 ln r ) for large datasets, assessing the conditionality of resulting RBF matrices, and developing visualization methods for spatio-temporal data in 2D+T and 3D+T, which cannot be visualized effectively using traditional methods like contour plots or 3D projections.

Author Contributions

V.S.: theoretical part, algorithm design, algorithm implementation, manuscript preparation; E.M.: algorithm implementation and experimental verification, production of graphs. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Data available on request due to restrictions.

Acknowledgments

The authors express gratitude to colleagues at Shandong University (Jinan), Zhejiang University (Hangzhou, China), and the University of West Bohemia (Pilsen) for their valuable comments, discussions, and contributions. Special thanks belong to colleagues Martin Cervenka, Jan Kasak, and Mariia Martynova for recent Octave experiments and assistance in producing images and numerical verification.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Goodman, J.E.; O’Rourke, J.; Tóth, C.D. Handbook of Discrete and Computational Geometry, 3rd ed.; CRC Press: Boca Raton, FL, USA, 2017; pp. 1–1928. [Google Scholar] [CrossRef]
  2. Fasshauer, G. Meshfree Approximation Methods with Matlab, 1st ed.; World Scientific: Singapore, 2007. [Google Scholar] [CrossRef]
  3. Menandro, F. Two new classes of compactly supported radial basisfunctions for approximation of discrete and continuous data. Eng. Rep. 2019, 2019, e12028. [Google Scholar] [CrossRef]
  4. Buhmann, M. On Quasi-interpolation with Radial Basis Functions. J. Approx. Theory 1993, 72, 103–130. [Google Scholar] [CrossRef]
  5. Majdisova, Z.; Skala, V. Big Geo Data Surface Approximation using Radial Basis Functions: A Comparative Study. Comput. Geosci. 2017, 109, 51–58. [Google Scholar] [CrossRef]
  6. Skala, V. RBF Interpolation and Approximation of Large Span Data Sets. In Proceedings of the MCSI 2017—Corfu, New York, NY, USA, 20 June 2017; pp. 212–218. [Google Scholar] [CrossRef]
  7. Smolik, M.; Skala, V. Efficient Speed-Up of Radial Basis Functions Approximation and Interpolation Formula Evaluation. In Proceedings of the Computational Science and Its Applications—ICCSA 2020, Cham, Switzerland, 1–4 July 2020; pp. 165–176. [Google Scholar] [CrossRef]
  8. Wang, J.; Liu, G. On the optimal shape parameters of radial basis functions used for 2-d meshless methods. Comput. Methods Appl. Mech. Eng. 2002, 191, 2611–2630. [Google Scholar] [CrossRef]
  9. Karageorghis, A.; Tryfonos, P. Shape parameter estimation in RBF function approximation. Int. J. Comput. Methods Exp. Meas. 2019, 7, 246–259. [Google Scholar] [CrossRef]
  10. Sarra, S.A.; Sturgill, D. A random variable shape parameter strategy for radial basis function approximation methods. Eng. Anal. Bound. Elem. 2009, 33, 1239–1245. [Google Scholar] [CrossRef]
  11. Hardy, R.L. Multiquadric equations of topography and other irregular surfaces. J. Geophys. Res. 1971, 76, 1905–1915. [Google Scholar] [CrossRef]
  12. Hardy, R.L. Theory and applications of the multiquadric-biharmonic method 20 years of discovery 1968–1988. Comput. Math. Appl. 1990, 19, 163–208. [Google Scholar] [CrossRef]
  13. Wendland, H. Scattered Data Approximation; Cambridge University Press: Cambridge, UK, 2004; Volume 17. [Google Scholar] [CrossRef]
  14. Wendland, H. Piecewise polynomial, positive definite and compactly supported radial functions of minimal degree. Adv. Comput. Math. 1995, 4, 389–396. [Google Scholar] [CrossRef]
  15. Franke, R. A Critical Comparison of Some Methods for Interpolation of Scattered Data; Technical report; Naval Postgraduate School: Monterey, CA, USA, 1979. [Google Scholar]
  16. Floater, M.S.; Iske, A. Multistep scattered data interpolation using compactly supported radial basis functions. J. Comput. Appl. Math. 1996, 73, 65–78. [Google Scholar] [CrossRef]
  17. Wu, Z. Compactly supported positive definite radial functions. Adv. Comput. Math. 1995, 4, 283–292. [Google Scholar] [CrossRef]
  18. Belytschko, T.; Krongauz, Y.; Organ, D.; Fleming, M.; Krysl, P. Meshless methods: An overview and recent developments. Comput. Methods Appl. Mech. Eng. 1996, 139, 3–47. [Google Scholar] [CrossRef]
  19. Schaback, R. Optimal geometric Hermite interpolation of curves, Mathematical Methods for Curves and surfaces. II. Innov. Appl. Math. 1998, 417–428. [Google Scholar] [CrossRef]
  20. Zhang, X.; Song, K.Z.; Lu, M.W.; Liu, X. Meshless methods based on collocation with radial basis functions. Comput. Mech. 2000, 26, 333–343. [Google Scholar] [CrossRef]
  21. Cuomo, S.; Galletti, A.; Giunta, G.; Marcellino, L. Reconstruction of implicit curves and surfaces via RBF interpolation. Appl. Numer. Math. 2017, 116, 157–171. [Google Scholar] [CrossRef]
  22. Biancolini, M.E. Fast Radial Basis Functions for Engineering Applications, 1st ed.; Springer: Berlin/Heidelberg, Germany, 2017. [Google Scholar] [CrossRef]
  23. Flyer, N.; Fornberg, B.; Bayona, V.; Barnett, G.A. On the role of polynomials in RBF-FD approximations: I. Interpolation and accuracy. J. Comput. Phys. 2016, 321, 21–38. [Google Scholar] [CrossRef]
  24. Skala, V. RBF Interpolation with CSRBF of Large Data Sets. In Proceedings of the ICCS 2017, Proceedia Computer Science, Zurich, Switzerland, 2–14 June 2017; Elsevier: Amsterdam, The Netherlands, 2017; Volume 108, pp. 2433–2437. [Google Scholar] [CrossRef]
  25. Ku, C.Y.; Hong, L.D.; Liu, C.Y.; Xiao, J.E. Space–time polyharmonic radial polynomial basis functions for modeling saturated and unsaturated flows. Eng. Comput. 2021, 38, 4947–4960. [Google Scholar] [CrossRef]
  26. Heimes, F.; van Heuveln, B. The normalized radial basis function neural network. In SMC’98 Conference Proceedings, Proceedings of the 1998 IEEE International Conference on Systems, Man, and Cybernetics (Cat. No.98CH36218), San Diego, CA, USA, 14 October 1998; IEEE: San Diego, CA, USA, 1998; Volume 2, pp. 1609–1614. [Google Scholar] [CrossRef]
  27. Gershgorin, S.A. Über Die Abgrenzung der Eigenwerte Einer Matrix. Math. Ussr-Izv. 1931, 6, 749–754. Available online: https://www.mathnet.ru/links/75babd7b34cd3d5f0f399e9c6c4fefc8/im5235.pdf (accessed on 5 November 2023).
  28. Majdisova, Z.; Skala, V. Radial basis function approximations: Comparison and applications. Appl. Math. Model. 2017, 51, 728–743. [Google Scholar] [CrossRef]
  29. Glaubitz, J.; Reeger, J.A. Towards stability results for global radial basis function based quadrature formulas. Bit Numer. Math. 2023, 63, 6. [Google Scholar] [CrossRef]
  30. Ali, F.; Karim, S.; Saaban, A.; Hasan, M.; Ghaffar, A.; Nisar, K.; Baleanu, D. Construction of cubic timmer triangular patches and its application in scattered data interpolation. Mathematics 2020, 8, 159. [Google Scholar] [CrossRef]
  31. Goodman, T.; Said, H.; Chang, L. Local derivative estimation for scattered data interpolation. Appl. Math. Comput. 1995, 68, 41–50. [Google Scholar] [CrossRef]
  32. Farin, G.; Hoschek, J.; Kim, M.S. Handbook of Computer Aided Geometric Design, 1st ed.; North Holland & IFIP: Amsterdam, The Netherlands, 2002.
  33. Saaban, A.; Majid, A.A.; Mt Piah, A.R. Visualization of rainfall data distribution Using quintic triangular Bézier patches. Bull. Malays. Math. Sci. Soc. 2009, 32, 137–150. [Google Scholar]
  34. Afiatdoust, F.; Esmaeilbeigi, M. Optimal variable shape parameters using genetic algorithm for radial basis function approximation. Ain Shams Eng. J. 2015, 6, 639–647. [Google Scholar] [CrossRef]
  35. Drake, K.P.; Fuselier, E.J.; Wright, G.B. Implicit Surface Reconstruction with a Curl-free Radial Basis Function Partition of Unity Method. arXiv 2021, arXiv:2101.05940. [Google Scholar]
  36. Carr, J.; Beatson, R.; Cherrie, J.; Mitchell, T.; Fright, W.; McCallum, B.; Evans, T. Reconstruction and representation of 3D objects with radial basis functions. In Proceedings of the 28th Annual Conference on Computer Graphics and Interactive Techniques, SIGGRAPH 2001, Los Angeles, CA, USA, 12–17 August 2001; pp. 67–76. [Google Scholar] [CrossRef]
  37. Cuomo, S.; Galletti, A.; Giunta, G.; Starace, A. Surface reconstruction from scattered point via RBF interpolation on GPU. In Proceedings of the 2013 Federated Conference on Computer Science and Information Systems, FedCSIS, Krakow, Poland, 8–11 September 2013; pp. 433–440. [Google Scholar]
  38. Macedo, I.; Gois, J.; Velho, L. Hermite radial basis functions implicits. Comput. Graph. Forum 2011, 30, 27–42. [Google Scholar] [CrossRef]
  39. Macedo, I.; Gois, J.; Velho, L. Hermite interpolation of implicit surfaces with radial basis functions. In Proceedings of the SIBGRAPI 2009—22nd Brazilian Symposium on Computer Graphics and Image Processing, Rio de Janeiro, Brazil, 11–15 October 2009; pp. 1–8. [Google Scholar] [CrossRef]
Figure 1. CS-RBF kernel functions and domain space subdivision.
Figure 1. CS-RBF kernel functions and domain space subdivision.
Computers 12 00243 g001
Figure 3. The interpolation of the rainfall data in Peninsular Malaysia in 2007.
Figure 3. The interpolation of the rainfall data in Peninsular Malaysia in 2007.
Computers 12 00243 g003
Figure 4. The interpolation of rainfall data for March 2007; α = 0.255 and β = 1 used in the Gauss function.
Figure 4. The interpolation of rainfall data for March 2007; α = 0.255 and β = 1 used in the Gauss function.
Computers 12 00243 g004
Figure 5. The interpolation of rainfall data for May 2007; α = 0.255 and β = 1 used in the Gauss function.
Figure 5. The interpolation of rainfall data for May 2007; α = 0.255 and β = 1 used in the Gauss function.
Computers 12 00243 g005
Figure 6. The typical SN–interpolation results.
Figure 6. The typical SN–interpolation results.
Computers 12 00243 g006
Figure 7. The interpolation error histogram.
Figure 7. The interpolation error histogram.
Computers 12 00243 g007
Figure 8. The interpolation error: functions F 2 ,   F 4 , and F 6 with different polynomial degree.
Figure 8. The interpolation error: functions F 2 ,   F 4 , and F 6 with different polynomial degree.
Computers 12 00243 g008
Figure 9. The approximation error: functions F 2 ,   F 4 , and F 6 with different polynomial degree.
Figure 9. The approximation error: functions F 2 ,   F 4 , and F 6 with different polynomial degree.
Computers 12 00243 g009
Table 1. The classification of spatio-temporal datasets.
Table 1. The classification of spatio-temporal datasets.
Temporal Property
StaticDynamic
Spatial PropertyStatic h = f ( x ) h = f ( x , t )
Dynamic h = f ( x ( t ) ) h = f ( x ( t ) , t )
Table 2. Wendland’s Compactly Supported RBF (CS-RBF) ( · ) + indicates that the value of the expression is zero for r 1 .
Table 2. Wendland’s Compactly Supported RBF (CS-RBF) ( · ) + indicates that the value of the expression is zero for r 1 .
IDRBFFunctionIDRBFFunction
1 φ 1 , 0 ( 1 r ) + 2 φ 1 , 1 ( 1 r ) + 3 ( 3 r + 1 )
3 φ 1 , 2 ( 1 r ) + 5 ( 8 r 2 + 5 r + 1 ) 4 φ 3 , 0 ( 1 r ) + 2
5 φ 3 , 1 ( 1 r ) + 4 ( 4 r + 1 ) 6 φ 3 , 2 ( 1 r ) + 6 ( 35 r 2 + 18 r + 3 )
7 φ 3 , 3 ( 1 r ) + 8 ( 32 r 3 + 25 r 2 + 8 r + 3 ) 8 φ 5 , 0 ( 1 r ) + 3
9 φ 5 , 1 ( 1 r ) + 3 ( 5 r + 1 ) 10 φ 5 , 2 ( 1 r ) + 7 ( 16 r 2 + 7 r + 1 )
Table 3. The experimental results: RBF interpolation with 121 points generated; F—testing function.
Table 3. The experimental results: RBF interpolation with 121 points generated; F—testing function.
FRBFNorm.DegreeConditionalityRMSE R 2 e max
1 ( 1 r ) + 7 ( 16 r 2 + 7 r + 1 ) no- 3.73 × 10 04 0.0021.0000.011
2 ( 1 r ) + 6 ( 35 r 2 + 18 r + 3 ) no- 9.76 × 10 04 0.0041.0000.016
3 1 α + r 2 no- 2.10 × 10 16 0.0001.0000.001
4 1 α + r 2 no- 2.10 × 10 16 0.0001.0000.000
5 1 α + r 2 no- 2.10 × 10 16 0.0001.0000.001
6 1 α + r 2 no- 2.10 × 10 16 0.0001.0000.000
1 ( 1 r ) + 7 ( 16 r 2 + 7 r + 1 ) yes- 3.88 × 10 04 0.0011.0000.011
2 ( 1 r ) + 7 ( 16 r 2 + 7 r + 1 ) yes- 3.88 × 10 04 0.0041.0000.018
3 ( 1 r ) + 7 ( 16 r 2 + 7 r + 1 ) yes- 3.88 × 10 04 0.0001.0000.001
4 1 α + r 2 yes- 2.30 × 10 16 0.0001.0000.000
5 1 α + r 2 yes- 2.30 × 10 16 0.0001.0000.001
6 1 α + r 2 yes- 2.30 × 10 16 0.0001.0000.000
1 ( 1 r ) + 7 ( 16 r 2 + 7 r + 1 ) no0 4.42 × 10 04 0.0011.0000.011
2 ( 1 r ) + 7 ( 16 r 2 + 7 r + 1 ) no0 4.42 × 10 04 0.0041.0000.015
3 1 α + r 2 no0 2.12 × 10 16 0.0001.0000.001
4 1 α + r 2 no0 2.12 × 10 16 0.0001.0000.000
5 1 α + r 2 no0 2.12 × 10 16 0.0001.0000.001
6 1 α + r 2 no0 2.12 × 10 16 0.0001.0000.000
1 ( 1 r ) + 7 ( 16 r 2 + 7 r + 1 ) no1 4.71 × 10 04 0.0011.0000.011
2 ( 1 r ) + 7 ( 16 r 2 + 7 r + 1 ) no1 4.71 × 10 04 0.0041.0000.015
3 1 α + r 2 no1 2.13 × 10 16 0.0001.0000.001
4 1 α + r 2 no1 2.13 × 10 16 0.0001.0000.000
5 1 α + r 2 no1 2.13 × 10 16 0.0001.0000.001
6 1 α + r 2 no1 2.13 × 10 16 0.0001.0000.000
1 ( 1 r ) + 7 ( 16 r 2 + 7 r + 1 ) no2 4.89 × 10 04 0.0011.0000.011
2 ( 1 r ) + 7 ( 16 r 2 + 7 r + 1 ) no2 4.89 × 10 04 0.0041.0000.015
3 1 α + r 2 no2 2.08 × 10 16 0.0001.0000.001
4 1 α + r 2 no2 2.08 × 10 16 0.0001.0000.000
5 1 α + r 2 no2 2.08 × 10 16 0.0001.0000.001
6 1 α + r 2 no2 2.08 × 10 16 0.0001.0000.000
Table 4. Experimental results: RBF approximation with 121 points generated; F—testing function.
Table 4. Experimental results: RBF approximation with 121 points generated; F—testing function.
FRBFNorm.DegreeConditionalityRMSE R 2 e max
1 ( 1 r ) + 3 ( 3 r + 1 ) no- 2.02 × 10 03 0.0130.9970.060
1 ( 1 r ) + 7 ( 16 r 2 + 7 r + 1 ) no- 4.80 × 10 02 0.0150.9960.058
2 1 α + r 2 no- 3.23 × 10 07 0.0290.9960.063
3 1 α + r 2 no- 3.23 × 10 07 0.0041.0000.014
4 α + r 2 no- 2.78 × 10 09 0.0011.0000.003
5 ( 1 r ) + 3 ( 3 r + 1 ) no- 2.02 × 10 03 0.0200.9960.053
6 r 2 l o g ( r ) no- 5.78 × 10 02 0.0001.0000.001
1 ( 1 r ) + 7 ( 16 r 2 + 7 r + 1 ) yes- 4.68 × 10 02 0.0120.9980.059
1 ( 1 r ) + 8 ( 32 r 2 + 25 r 2 + 8 r + 3 ) yes- 1.44 × 10 02 0.0180.9940.058
2 1 α + r 2 yes- 3.17 × 10 07 0.0300.9950.064
2 ( 1 r ) + 7 ( 16 r 2 + 7 r + 1 ) yes- 4.68 × 10 02 0.0290.9960.067
3 ( 1 r ) + 7 ( 16 r 2 + 7 r + 1 ) yes- 4.68 × 10 02 0.0041.0000.014
4 1 α + r 2 yes- 3.17 × 10 07 0.0011.0000.004
5 ( 1 r ) + 7 ( 16 r 2 + 7 r + 1 ) yes- 4.68 × 10 02 0.0200.9960.044
6 e α r 2 yes- 5.79 × 10 12 0.0011.0000.002
1 ( 1 r ) + 7 ( 16 r 2 + 7 r + 1 ) no0 4.34 × 10 05 0.0100.9980.057
1 ( 1 r ) + 8 ( 32 r 2 + 25 r 2 + 8 r + 3 ) no0 3.70 × 10 04 0.0170.9950.054
2 ( 1 r ) + 6 ( 35 r 2 + 18 r + 3 ) no0 1.56 × 10 06 0.0280.9960.063
3 ( 1 r ) + 5 ( 8 r 2 + 5 r + 1 ) no0 2.01 × 10 07 0.0031.0000.010
4 1 α + r 2 no0 1.11 × 10 15 0.0021.0000.004
5 ( 1 r ) + 3 ( 3 r + 1 ) no0 5.15 × 10 06 0.0190.9960.055
5 ( 1 r ) + 6 ( 35 r 2 + 18 r + 3 ) no0 1.56 × 10 06 0.0200.9960.054
6 r 2 l o g ( r ) no0 1.04 × 10 06 0.0001.0000.001
1 ( 1 r ) + 7 ( 16 r 2 + 7 r + 1 ) no1 5.45 × 10 05 0.0080.9990.052
1 ( 1 r ) + 8 ( 32 r 2 + 25 r 2 + 8 r + 3 ) no1 4.43 × 10 04 0.0160.9950.049
2 ( 1 r ) + 6 ( 35 r 2 + 18 r + 3 ) no1 1.61 × 10 06 0.0280.9960.062
3 ( 1 r ) + 5 ( 8 r 2 + 5 r + 1 ) no1 2.34 × 10 07 0.0031.0000.010
4 α + r 2 no1 1.28 × 10 18 0.0021.0000.003
5 ( 1 r ) + 3 ( 3 r + 1 ) no1 5.70 × 10 06 0.0190.9960.055
5 ( 1 r ) + 6 ( 35 r 2 + 18 r + 3 ) no1 1.61 × 10 06 0.0200.9960.054
6 r 2 l o g ( r ) no1 1.64 × 10 06 0.0001.0000.001
1 ( 1 r ) + 7 ( 16 r 2 + 7 r + 1 ) no2 4.19 × 10 06 0.0080.9990.052
1 ( 1 r ) + 8 ( 32 r 2 + 25 r 2 + 8 r + 3 ) no2 4.09 × 10 05 0.0160.9950.048
2 ( 1 r ) + 6 ( 35 r 2 + 18 r + 3 ) no2 3.64 × 10 07 0.0280.9960.062
3 1 α + r 2 no2 1.76 × 10 15 0.0031.0000.008
4 1 α + r 2 no2 6.11 × 10 16 0.0011.0000.002
5 ( 1 r ) + 5 ( 8 r 2 + 5 r + 1 ) no2 2.72 × 10 07 0.0100.9990.023
6 1 α + r 2 no2 1.76 × 10 15 0.0001.0000.000
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Skala, V.; Mourycova, E. Meshfree Interpolation of Multidimensional Time-Varying Scattered Data. Computers 2023, 12, 243. https://doi.org/10.3390/computers12120243

AMA Style

Skala V, Mourycova E. Meshfree Interpolation of Multidimensional Time-Varying Scattered Data. Computers. 2023; 12(12):243. https://doi.org/10.3390/computers12120243

Chicago/Turabian Style

Skala, Vaclav, and Eliska Mourycova. 2023. "Meshfree Interpolation of Multidimensional Time-Varying Scattered Data" Computers 12, no. 12: 243. https://doi.org/10.3390/computers12120243

APA Style

Skala, V., & Mourycova, E. (2023). Meshfree Interpolation of Multidimensional Time-Varying Scattered Data. Computers, 12(12), 243. https://doi.org/10.3390/computers12120243

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