Abstract
For solving the problem of modeling and visualization of scattered data that should preserve some constraints, we use a modified Shepard type operator that is required to fulfill some special conditions, highlighting the symmetry with other methods. We illustrate the properties of the obtained operators by some numerical examples.
MSC:
41A29; 41A05; 41A25; 41A35
1. Introduction
Some of the most important interpolation methods for large scattered data sets are the Shepard type methods. The problem of modeling and visualization of scattered data that should preserve some constraints appears in many scientific areas, e.g., when the data should satisfy lower and upper bounds, due to various constraints (economical, physical, socio-political, chemical, etc. [1]). For example, there are cases when the data have to preserve some constraints, subject to certain physical laws (e.g., the densities, percentage mass concentrations in a chemical reaction, volume and mass, see [2,3]). Such problems require to impose some special conditions to the interpolants (see, e.g., [1,2,3,4]).
The purpose of the paper is to impose some constraints to Shepard-Bernoulli operator, introduced in [5], and to enforce it to satisfy them using a symmetrical way with the method described in [1]. First, we recall some results regarding Shepard-Bernoulli interpolation, studied in [5,6,7].
Consider the function and a set of N distinct points The bivariate Shepard operator (introduced in [8]) is given by
where
with and are the distances between and the given points . The parameter influences the behavior of in the neighborhood of the nodes. If then has peaks at the nodes. For then has flat spots and if is large enough becomes a step function.
Proposition 1.
The following properties hold:
- degree of exactness of S is 0 (
Shepard interpolation leads to flat spots at each data point and the accuracy tends to decrease in the areas where the interpolation nodes are sparse. This can be improved using the local version of Shepard interpolation, introduced by Franke and Nielson in [9] and improved in [10,11,12]:
with
where is a radius of influence about the node and it is varying with This is taken as the distance from node i to the jth closest node to for ( is a fixed value) and j as small as possible within the constraint that the jth closest node is significantly more distant than the st closest node (see, e.g., [11]).
The Bernoulli polynomials are defined by (see, e.g., [13]):
The values of at are the Bernoulli numbers and they are denoted by For the univariate Bernoulli interpolant is given by
where and
Denote and consider the operators:
For the Bernoulli interpolant on the rectangle is [13]:
where are given in (7). The polynomial from (9) satisfies the following interpolation conditions:
The bivariate Shepard-Bernoulli operator (introduced in [5]) preserves the advantages and improve the reproduction qualities, have better accuracy and computational efficiency:
where denotes the Bernoulli interpolant in the rectangle with opposite vertices , given by (9), having , .
2. Constraints of the Shepard-Bernoulli Operator
Consider the function and a set of N distinct points The classical Shepard operator given in (1) satisfies the following property:
A consequence of this property is that a positive interpolant is guaranteed if the data values are positive.
The modified Shepard operator, given in (3), has superior qualities but it does not satisfy the property (13).
We will impose constraints to the operators given in (11) and (12) using the steps of the method described in [1], whose notations will be used.
Let and be the upper and lower bounds in , a constant K in and We mention that K is an input parameter which gives us flexibility to use a value suitable for the application. We consider
and
Let
The constrained Shepard-Bernoulli operators are given by
with and given by (2) and (4), respectively.
Theorem 1.
For it holds
and
Proof.
If it holds
Theorem 2.
For the following interpolation properties hold:
for and
Proof.
We have
and by the property see Proposition 1, we get
By the interpolation properties of the Bernoulli operator, we have for whence it follows
□
Theorem 3.
The degree of exactness of the operator is
Proof.
Considering with and we have
Having degree of exactness of equal to (see, e.g., [5,13]), for and we get
Applying the property that (see Proposition 1), we get for □
3. Numerical Examples
To illustrate the performance of the proposed constructions, we consider the following test functions ([10,11,12]):
Table 1 shows the minimum and the maximum values of for cases and , considering 20 random generated nodes, and
Table 1.
Minimum and maximum of .
In Figure 1, Figure 2 and Figure 3 we plot the graphs of for (that have better approximation properties than ).
Figure 1.
Graphs for .
Figure 2.
Graphs for .
Figure 3.
Graphs for .
4. Conclusions
By Table 1, we remark that the values of preserve the lower bound of and the upper bound of as it is theoretically proved in the previous section. Further, by the same table and the figures, we note the good approximation properties of the constructed operators.
Funding
The publication of this article was supported by the 2021 Development Fund of the UBB.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Acknowledgments
We are grateful to the referees for careful reading of the manuscript and for their valuable suggestions.
Conflicts of Interest
The author declares no conflict of interest.
References
- Mustafa, G.; Shah, A.A.; Asim, M.R. Constrained Shepard method for modeling and visualization of scattered data. In Proceedings of the WSCG 2008, Plzen, Czech Republic, 4–7 February 2008; Science Press: Plzen, Csech Republic, 2008; Volume 16, pp. 49–56. [Google Scholar]
- Asim, M.R.; Mustafa, G.; Brodlie, K.W. Constrained Visualization of 2D Positive Data using Modified Quadratic Shepard Method. In Proceedings of the WSCG 2004, Plzen-Bory, Czech Republic, 2–6 February 2004; Science Press: Plzen, Czech Republic, 2004; pp. 9–13. [Google Scholar]
- Brodlie, K.W.; Asim, M.R.; Unsworth, K. Constrained Visualization Using the Shepard Interpolation Family. Comput. Graph. Forum 2005, 24, 809–820. [Google Scholar] [CrossRef]
- Cătinaş, T. Constrained visualisation using Shepard-Bernoulli interpolation operator. Stud. Univ. Babes-Bolyai Math. 2020, 65, 269–277. [Google Scholar] [CrossRef]
- Cătinaş, T. The bivariate Shepard operator of Bernoulli type. Calcolo 2007, 44, 189–202. [Google Scholar] [CrossRef]
- Caira, R.; Dell’Accio, F. Shepard–Bernoulli operators. Math. Comp. 2007, 76, 299–321. [Google Scholar] [CrossRef]
- Dell’Accio, F.; Tommaso, F.D. Bivariate Shepard–Bernoulli operators. Math. Comput. Simul. 2017, 141, 65–82. [Google Scholar] [CrossRef] [Green Version]
- Shepard, D. A two dimensional interpolation function for irregularly spaced data. In Proceedings of the 23rd ACM National Conference, New York, NY, USA, 27–29 August 1968; pp. 517–523. [Google Scholar]
- Franke, R.; Nielson, G. Smooth interpolation of large sets of scattered data. Int. J. Numer. Meths. Engrg. 1980, 15, 1691–1704. [Google Scholar] [CrossRef]
- Franke, R. Scattered data interpolation: Tests of some methods. Math. Comp. 1982, 38, 181–200. [Google Scholar]
- Renka, R.J. Multivariate interpolation of large sets of scattered data. ACM Trans. Math. Softw. 1988, 14, 139–148. [Google Scholar] [CrossRef]
- Renka, R.J.; Cline, A.K. A triangle-based C1 interpolation method. Rocky Mt. J. Math. 1984, 14, 223–237. [Google Scholar] [CrossRef]
- Costabile, F.A.; Dell’Accio, F. Expansion Over a Rectangle of Real Functions in Bernoulli Polynomials and Applications. BIT 2001, 41, 451–464. [Google Scholar] [CrossRef]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).