Abstract
This paper addresses fundamental challenges in numerical approximation methods, focusing on balancing accuracy with shape-preserving properties. We present novel approaches that combine traditional spline methods with modern numerical techniques, extending existing quasi-interpolation techniques based on B-splines. Our methods maintain computational efficiency while better handling discontinuities, achieving and reconstructions and preserving essential shape properties. We demonstrate theoretical frameworks showing optimal approximation order , , with local reconstruction. Numerical experiments confirm significant improvements in accuracy and smoothness near discontinuities compared to existing methods, particularly in image processing and shock-capturing applications.
Keywords:
spline quasi-interpolation; WENO; piecewise smooth functions approximation; shape-preserving MSC:
65D07; 41A15; 65D17; 41A25
1. Introduction and Notations
Approximation methods used in scientific and engineering problems require not only the accurate representation of physical reality but also the preservation of certain properties of the data. In particular, shape-preserving properties such as monotonicity and convexity are often essential in applications ranging from chemistry to robotics. These properties ensure that the numerical approximations maintain physical meaningfulness and stability in practical applications.
Several monotonicity-preserving interpolatory methods based on cubic polynomials have been proposed in the literature [1,2,3,4,5,6,7]. These methods face a fundamental trade-off: the order of accuracy is typically compromised in regions where monotonicity constraints are enforced, while maintaining high-order accuracy often requires sacrificing monotonicity. As shown in [8], linear reconstruction operators can achieve at most second-order accuracy while preserving monotonicity, necessitating nonlinear techniques for higher-order accurate interpolants. This limitation has motivated extensive research into developing sophisticated nonlinear methods that can better balance accuracy and monotonicity preservation.
Spline functions have emerged as powerful tools across various applications due to their efficient description, smoothness properties, and ease of implementation. Traditional interpolation methods using splines require the solution of linear systems of equations, which makes them non-local in nature. To address this limitation, quasi-interpolation techniques based on B-splines were developed as local and more efficient alternatives, though they sacrifice strict interpolation conditions (see [9,10,11]). The advantages of quasi-interpolation methods include their computational efficiency, local nature, and ability to maintain high-order accuracy without solving global systems of equations.
We consider the increasing set of points on , where , with . From , where , we want to obtain an approximant of .
Then, for a given degree d, we consider two nonuniform knot partitions
,
and the corresponding spaces of splines of degree d and smoothness
where is the space of polynomials of degree at most d, y can be x or t, and if , otherwise if . We consider the case of locally uniform partitions [12], and we recall that a sequence of partitions is locally uniform if, for some constant , for all and .
In this space, we construct the normalized B-splines by the recursive formula (see, for instance [13]):
and, for ,
With this definition, we know that is a piecewise polynomial of degree d, it is positive in , and it is zero outside its support . Moreover, the set of all B-splines forms a partition of unity and forms a basis for , meaning that for any , there exist coefficients , , such that
This representation is particularly valuable because the support of each is compact, allowing local modifications of the spline by adjusting individual coefficients.
For example, given a function , we can define a quasi-interpolating approximation to f in by [14,15]
where, for each i, is the linear functional, taken from [14],
where , and for any . The proposed quasi-interpolant is of differential type (i.e., with coefficient functionals defined as linear combinations of values and derivatives of f), and in the following sections, we will propose some alternatives of point type, that means of type
where is a linear combination of values of f.
While traditional spline interpolation achieves optimal approximation order and requires the solution of a global system of equations, quasi-interpolation techniques maintain this optimal approximation order and provide local reconstruction, though they sacrifice exact interpolation. However, when applied to functions with isolated discontinuities, classical quasi-interpolation methods can produce undesirable oscillations proportional to the jump magnitude, even for large values of n. This limitation is particularly problematic in applications such as image processing and shock-capturing schemes.
Recent research has focused on developing enhanced quasi-interpolation methods that can better handle discontinuities while maintaining high-order accuracy in smooth regions. Various approaches have been proposed, including the use of weighted essentially non-oscillatory techniques near discontinuities and adaptive stencil selection methods [16,17]. These developments have led to significant improvements in the handling of non-smooth data while preserving the computational efficiency of quasi-interpolation methods (see [18,19,20,21]).
In this paper, we propose new approaches that address these challenges by combining the advantages of traditional spline methods with modern numerical techniques. Our methods achieve improved accuracy and smoothness near discontinuities while maintaining the computational efficiency and local nature of quasi-interpolation methods.
Here, we list some notations used throughout the paper:
- QI stands for quasi-interpolation;
- WENO stands for weighted essentially non-oscillatory;
- We denote by a linear QI operator on the space of a spline of degree d, with coefficient functionals defined by using m points;
- We denote by the nonlinear QI operator obtained by applying WENO techniques to ;
- We denote by the monotone QI operator associated with .
This paper is organized as follows: In Section 2, we revise the WENO techniques. In Section 3, we design QIs based on second-degree splines. First, in Section 3.1 we propose a new version of a classical QI, which only uses the data , and in Section 3.2 and Section 3.3, we develop nonlinear non-oscillatory QIs. In Section 4, we design QIs based on third degree splines. In Section 4.1, we define linear QIs, and in Section 4.2 and Section 4.3, we develop nonlinear non-oscillatory QIs. Moreover, in Section 5, we provide some numerical evidence concerning the accuracy, which confirms the theoretical results of the previous sections. Finally, in Section 6, we present some conclusions and possible future directions.
2. WENO Techniques
In this paper, we examine different approximations of , some of which are based on nonlinear approximations such as WENO techniques. This section explains how to apply WENO techniques in our context. For more detailed information on WENO techniques, see [16,17,22].
2.1. WENO with Positive Weights
Let us consider different approximations to that satisfy:
where , . We assume that is a linear combination of values around , and, at the same time, it is a linear combination of and . That is, . Since, in this case, is a linear operator, the resulting may produce oscillations when f has a jump discontinuity. The WENO technique provides an enhanced version of that essentially eliminates oscillations, provided that , . For negative coefficients, we introduce a suitable technique in the next subsection.
We define the following:
where is a smoothness indicator, meaning that the smoother the data, the closer is to zero, and the small positive number (possibly dependent on ) is in principle introduced to avoid null denominators. If , , is obtained using s values and is the polynomial of degree that interpolate these values, Jiang and Shu in [16] propose using
as the smoothness indicator of . Here, following [22], we set
since the same results can be obtained and a compact formula can be derived, as is shown in [22]. The nonlinear analog of , denoted by , is:
If f is smooth, then maintains the accuracy of :
However, if f has a discontinuity in the interval where the data used by lie, but it is smooth in the interval used to construct , then is as precise as :
The same holds if the discontinuity lies in the interval where the data used by lie.
2.2. WENO with Negative Weights
WENO procedures cannot be directly applied to obtain stable schemes when negative linear weights are present. For handling negative weights, we use the techniques from [17]. For cases where with some , we define
and their scaled versions
We can then express
where and . With , , we can apply the WENO strategy to , defining
and obtaining the nonlinear analog of :
which satisfies the accuracy properties (5) and (6).
3. Quadratic QI Approximants
3.1. Linear QI Based on 3 Points:
In the literature, the authors assume that they know or . In particular, in the quadratic case, they construct the B-spline with support , what we call , and they assume that is known (see, e.g., [14,15,23], where different QIs of differential or point type are presented).
In this paper, we assume that we know ; then, considering the B-splines given by (1) and (2) on the knot sequence and with support , we use
where, by (3),
We define as the polynomial of degree 2 that interpolates . We approximate with
where
obtaining , . To maintain the order of approximation in this section close to the boundaries using only information from , we define , , and , , where is the polynomial that interpolates , obtaining:
and , .
Now, we define
and we have the following theorem, which can be stated thanks to the results presented in [9] (p. 154, Theorem 22). Indeed, the infinity norm of is bounded if the partition is locally uniform, because
and is similar to .
Theorem 1.
We have , . In addition, if , then
While, if f has a jump in and , then
and
Moreover, .
Proof.
By Taylor series expansion, we have the following approximation of (7), ; thus, , .
If the discontinuity is in and , we have and , which affects , with support and , with support , obtaining (9). We also have , , which give us (10).
Moreover, the continuity of follows from the continuity of f and the B-spline basis functions. □
3.2. Nonlinear QI:
Note, also, that , in (8), can be written as
where
Since , we apply WENO with negative weights, obtaining:
We also apply the WENO technique to the parenthesis of (11) and (12). We define the smoothness indicators (4)
Taking
where , and we define
and
for which have the following theorem.
Theorem 2.
We have , . In addition, if , then
While, if f has a jump in and , then
and
Moreover, .
Proof.
With each of the pieces that form , we obtain ; then, we have , .
If the discontinuity is in and , we have and , which affect , with support , and , with support . Note that we are using information lying on the other side of the discontinuity; this is why we obtain (13) and (14). We also have , , which give us (15).
Due to the fact that , it is . □
3.3. Monotone QI:
There are other ways to deal with the problem of trying to avoid the Gibbs phenomenon. We can also apply some of the techniques proposed in [1], and used in the context of derivative approximation for obtaining the Hermite polynomial, to (11) and (12). In fact, we can substitute the mean averages of the parenthesis by Broodlie’s formula [4], which is the one used in MATLAB 2023a to approximate the derivatives in the monotone PCHIP Hermite function. This formula have some disadvantages (for instance, the order of approximation is reduced in the case of using a nonuniform mesh). Here, we will use the formula presented in [1]
if or 0 when , because, after analyzing different alternatives, it is the one with which we obtain the best results, from both the theoretical and the practical point of view.
In the context of Hermite interpolation, if a discontinuity is present and, for example, , then we have
and we avoid the Gibbs phenomenon (see [1] for details). Here, we also reduce the oscillations with this approach.
In [1], it is proved that if , , and , then
Hence, we maintain the order of approximation when the function is smooth and monotonous. On the other hand, let us point out that next to the discontinuity and when the function is not monotonous the approximation order decreases drastically.
Now, we define
and
We also emphasize that the evaluation of is much more efficient, computationally speaking, than that of .
We present the following theorem.
Theorem 3.
If , then
In addition, if f has a jump in and , then
and
Moreover, .
4. Cubic QI Approximants
4.1. Linear QI Based on 3 Points:
If we consider the cubic case , by (3), we can define the differential QI
with
or, by [24], we can define the point QI
with
for . Note that if is the polynomial that interpolates , then . We also define , , and , , obtaining
With this, we approximate (19), obtaining
Now, we define
and we can state the following theorem. Indeed, in this case, we have
and the other coefficient is similar to the first one. Therefore, if the partition is locally uniform, the operator norm is bounded.
Theorem 4.
We have , . In addition, if , then
In addition, if f has a jump in and , then
and
Moreover, .
4.2. Nonlinear QI:
Note, also, that , in (20), can be written as
where
Since , we apply WENO with negative weights, obtaining:
We also apply the WENO technique to the parenthesis of (23) and (24). We define the smoothness indicators (4)
and
where . Taking
we define
and we have the following theorem.
Theorem 5.
We have , . In addition, if , then
In addition, if f has a jump in and , then
and
Moreover, .
4.3. Monotone QI:
As in the Section 3.3, we can also apply the technique of [1] to (23) and (24), that is, we substitute the mean averages of the parenthesis in the Formulas (23) and (24) by
if or by 0 when . Therefore, we define
and
We have the following theorem.
Theorem 6.
If , then
In addition, if f has a jump in and , then
and
Moreover, .
5. Numerical Experiments
In this section, we propose some numerical experiments confirming the theoretical results regarding the accuracy of the developed quasi-interpolants and showing significant improvements in accuracy and smoothness near discontinuities.
5.1. Approximation Properties
Now, we consider the piecewise smooth function
and the discrete grid sets and , with , , where
We recall that the sequence of partitions is locally uniform (see [25]). For each set of points, we construct the corresponding knots partitions (as explained in Section 1), and, from , where or , we construct the approximations for the different QI operators Q presented in this paper. Then, we evaluate the error
where U is a set of points in each subinterval of the interval , and the possible values of c are related to the theoretical results given in Theorems 1–6. Moreover we compute the numerical convergence order , defined as the logarithm to base 2 of the ratio between two consecutive errors. In Table 1 and Table 2, we report, for each set of points, the numerical convergence order for all the operators for the intervals , where . We can notice that the numerical results confirm the theoretical ones, given in Theorems 1–6. We note that when we use the nonuniform partition on the intervals and with the operators , , , , we obtain a higher order than expected with the Theorems 2, 3, 5 and 6.
Table 1.
Errors and numerical convergence orders with in the interval .
Table 2.
Errors and numerical convergence orders with in the interval .
5.2. Graphical Properties
5.2.1. Example 1: Data Reconstruction
In Figure 1, we can see the reconstruction proposed in the previous example, from 17 and 16 point values for the discretizations and together with a close-up of the area where the discontinuity is.
Figure 1.
Different reconstructions from , denoted by ‘o’ in the pictures, obtained with the operators , , , , , and . Top (first and second row): uniform discretization; bottom (third and fourth row): nonuniform discretization; right: close-up of the left pictures.
We observe that with the , , , operators, we always avoid the oscillations that appear with , . We also see that with the and operators, we obtain results closer to the original function.
5.2.2. Example 2: Geophysical Application
We present a numerical experiment demonstrating the application of quasi-interpolation operators to geophysical data with inherent discontinuities and nonuniform sampling. The dataset (Table 3) simulates electrical conductivity measurements across a two-layer soil structure, with measurements taken at varying depth intervals ranging from 0 to 5 m. The upper layer (0–2.0 m) exhibits conductivity values between 0.15 and 0.35 S/m, while the lower layer (2.001–5.0 m) shows higher values ranging from 0.85 to 1.0 S/m, representing a sharp geological boundary.
Table 3.
Conductivity (cond.) measurements (in Siemmens/meter) taken at varying depth intervals (in meters) (Section 5.2.2).
The nonuniform sampling strategy reflects real-world constraints, with intervals varying from 0.1 m to 0.7 m, allowing for higher resolution in regions of rapid change and more sparse sampling in areas of gradual variation. In Figure 2 we, can see the reconstructions obtained with the different operators presented in this paper. The results that we obtain with this approach not only preserve the sharp conductivity transition at the layer boundary but also maintain smooth approximation within each layer. Our implementation demonstrates the flexibility of quasi-interpolating splines in handling geophysical data with both discontinuities and varying sampling densities, making it particularly suitable for characterizing layered earth structures in geological and environmental studies.
Figure 2.
Different reconstructions from the data in Table 3, denoted by ‘o’ in the pictures, with the operators , , , , , and . Right: zoom of the left pictures.
6. Conclusions and Future Directions
Our research has successfully addressed the persistent tension between accuracy and shape preservation in numerical approximation methods. By developing novel quasi-interpolation techniques that integrate traditional B-spline methods with advanced WENO approaches, we have achieved both computational efficiency and improved handling of discontinuities. The numerical experiments conclusively demonstrate that our proposed methods maintain optimal approximation order while preserving essential shape properties like monotonicity. The and reconstructions show remarkable stability near discontinuities, significantly reducing the oscillations that plague conventional methods without sacrificing accuracy in smooth regions. Particularly noteworthy is the performance of our nonlinear quasi-interpolants in applications involving isolated discontinuities, where traditional approaches generate undesirable oscillations proportional to jump magnitude. Our methods achieve stable, non-oscillatory behavior while maintaining high-order accuracy in smooth regions, a critical advancement for image processing and shock-capturing schemes. The local nature of our reconstruction operators provides substantial computational advantages over traditional interpolation methods that require solving global systems of equations, making our approach particularly suitable for large-scale applications and adaptive schemes.
Several promising research directions emerge from this work, presenting opportunities to expand and enhance the applicability of our quasi-interpolation techniques. For instance, these methods can be naturally extended to multiresolution frameworks, allowing for adaptive representation at different scales and enabling more efficient handling of complex data structures with varying levels of detail. Additionally, exploring the application of these techniques in the context of conservation laws could lead to significant advancements in numerical schemes for hyperbolic partial differential equations, where preserving physical properties is crucial for stability and accuracy. Another compelling direction involves adapting our quasi-interpolation methods to work with different data representations. Specifically, we can investigate how to modify these techniques when, instead of having point values of the original function, we have cell averages or integral values. This adaptation would require reformulating the quasi-interpolation functionals to maintain the same level of accuracy and shape-preserving properties while working with this alternative data representation. The development of such methods would be particularly valuable in the context of image processing, where data is often naturally represented as pixel averages rather than point values. This extension would enable more accurate reconstruction of images from compressed data, improved edge detection algorithms, and enhanced restoration techniques for degraded images. Furthermore, combining these adapted methods with existing image processing frameworks could lead to new algorithms for image enhancement, segmentation, and feature extraction that preserve important structural properties while reducing artifacts and noise. This research direction could bridge the gap between traditional polynomial-based approximation methods and practical image processing applications, potentially yielding significant improvements in both computational efficiency and the visual quality of processed images.
Author Contributions
Conceptualization, F.A. and S.R.; methodology, F.A. and S.R.; software, F.A. and S.R.; validation, F.A. and S.R.; formal analysis, F.A. and S.R.; investigation, F.A. and S.R.; resources, F.A. and S.R.; data curation, F.A. and S.R.; writing—original draft preparation, F.A. and S.R.; writing—review and editing, F.A. and S.R.; visualization, F.A. and S.R.; supervision, F.A.; project administration, F.A. and S.R.; funding acquisition, F.A. All authors have read and agreed to the published version of the manuscript.
Funding
The research of the first author has been supported by the Spanish MINECO project PID2020-117211GB-I00 and GVA project CIAICO/2021/227.
Data Availability Statement
The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.
Acknowledgments
The second author is a member of the INdAM research group GNCS of Italy.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Aràndiga, F. On the order of nonuniform monotone cubic Hermite interpolants. SIAM J. Numer. Anal. 2013, 51, 2613–2633. [Google Scholar] [CrossRef]
- Bebarta, S.; Jena, M.K. Shape Preserving Hermite Subdivision Scheme Constructed from Quadratic Polynomial. Int. J. Appl. Comput. Math. 2021, 7, 222. [Google Scholar] [CrossRef]
- Berzins, M. Adaptive polynomial interpolation on evenly spaced meshes. SIAM Rev. 2007, 49, 604–627. [Google Scholar] [CrossRef][Green Version]
- Fritsch, F.N.; Butland, J. A method for constructing local monotone piecewise cubic interpolants. SIAM J. Sci. Stat. Comput. 1984, 5, 300–304. [Google Scholar] [CrossRef]
- Huynh, H.T. Accurate monotone cubic interpolation. SIAM J. Numer. Anal. 1993, 30, 57–100. [Google Scholar] [CrossRef]
- Kocić, L.M.; Milovanović, G.V. Shape Preserving Approximations by Polynomials and Splines. Comput. Math. Appl. 1997, 33, 59–97. [Google Scholar] [CrossRef]
- Wolberg, G.; Alfy, I. An energy-minimization framework for monotonic cubic spline interpolation. J. Comput. Appl. Math. 2002, 143, 145–188. [Google Scholar] [CrossRef]
- De Boor, C.; Swartz, B. Piecewise monotone interpolation. J. Approx. Theory 1977, 21, 411–416. [Google Scholar] [CrossRef][Green Version]
- de Boor, C. A Practical Guide to Splines; Revised Edition; Springer: New York, NY, USA, 2001. [Google Scholar]
- Buhmann, M.; Jäger, J. Quasi-Interpolation; Cambridge University Press: Cambridge, UK, 2022. [Google Scholar]
- Sablonniere, P. Univariate spline quasi-interpolants and applications to numerical analysis. Rend. Sem. Mat. Univ. Pol. Torino 2005, 63, 107–118. [Google Scholar]
- Dagnino, C.; Lamberti, P. Numerical evaluation of Cauchy principal value integrals based on local spline approximation operators. J. Comput. Appl. Math. 1996, 76, 231–238. [Google Scholar] [CrossRef]
- Prautzsch, H.; Boehm, W.; Paluszny, M. Bezier and B-Spline Techniques; Springer: Berlin/Heidelberg, Germany, 2002. [Google Scholar]
- De Boor, C.; Fix, G.J. Spline approximation by quasiinterpolants. J. Approx. Theory 1973, 8, 19–45. [Google Scholar] [CrossRef]
- Sablonnière, P. Quasi-Interpolantes Splines Sobre Particiones Uniformes; Institut De Mathématique De Rennes: Rennes, France, 2000; 38p. [Google Scholar]
- Jiang, G.S.; Shu, C.W. Efficient implementation of weighted ENO schemes. J. Comput. Phys. 1996, 126, 202–228. [Google Scholar] [CrossRef]
- Shi, J.; Hu, C.; Shu, C.W. A technique of treating negative weights in WENO schemes. J. Comput. Phys. 2002, 175, 108–127. [Google Scholar] [CrossRef]
- Aràndiga, F.; Donat, R.; López-Ureña, S. Nonlinear improvements of quasi-interpolant splines to approximate piecewise smooth functions. Appl. Math. Comp. 2023, 448, 127946. [Google Scholar] [CrossRef]
- Aràndiga, F.; Remogna, S. Nonlinear 2D C1 Quadratic Spline Quasi-Interpolants on Triangulations for the Approximation of Piecewise Smooth Functions. Axioms 2023, 12, 1002. [Google Scholar] [CrossRef]
- Aràndiga, F.; Remogna, S. Approximation of piecewise smooth functions by nonlinear bivariate C2 quartic spline quasi-interpolants on criss-cross triangulations. Appl. Numer. Math. 2024, 203, 69–83. [Google Scholar] [CrossRef]
- Amat, S.; Levin, D.; Ruiz-Alvarez, J.; Trillo, J.C.; Yáñez, D.F. A class of C2 quasi-interpolating splines free of Gibbs phenomenon. Numer. Algorithms 2022, 91, 51–79. [Google Scholar] [CrossRef]
- Aràndiga, F.; Belda, A.M.; Mulet, P. Point-value WENO multiresolution applications to stable image compression. J. Sci. Comput. 2010, 43, 158–182. [Google Scholar] [CrossRef]
- Sablonnière, P. Quadratic spline quasi-interpolants on bounded domains of Rd; d = 1, 2, 3. Rend. Sem. Mat. Univ. Pol. Torino 2003, 61, 220–246. [Google Scholar]
- Barrera, D.; Ibáñez, M.J.; Sablonnière, P.; Sbibih, D. Near-best univariate spline discrete quasi-interpolants on nonuniform partitions. Constr. Approx. 2008, 28, 237–251. [Google Scholar] [CrossRef]
- Dagnino, C.; Demichelis, V.; Santi, E. A nodal spline collocation method for weakly singular Volterra integral equations. Stud. Univ. Babes-Bolyai Math. 2003, 48, 71–81. [Google Scholar]
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. |
© 2025 by the authors. 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/).