∎
22email: [email protected] 33institutetext: Mohammed Kbiri 44institutetext: Department of Mathematics, College of Science, King Khalid University, P.O. Box 9004, 61413 Abha, Saudi Arabia.
44email: [email protected] 55institutetext: Allal Guessab 66institutetext: Avenue Al Walae, 73000, Dakhla, Morocco
66email: [email protected] 77institutetext: Federico Nudo (corresponding author) 88institutetext: Department of Mathematics and Computer Science, University of Calabria, Rende (CS), Italy
88email: [email protected]
A General Probability Density Framework for Local Histopolation and Weighted Function Reconstruction from Mesh Line Integrals
Abstract
In this paper, we study the reconstruction of a bivariate function from weighted integrals along the edges of a triangular mesh, a problem of central importance in tomography, computer vision, and numerical approximation. Our approach relies on local histopolation methods defined through unisolvent triples, where the edge weights are induced by suitable probability densities. In particular, we introduce two new two-parameter families of generalized truncated normal distributions, which extend classical exponential-type laws and provide additional flexibility in capturing local features of the target function. These distributions give rise to new quadratic reconstruction operators that generalize the standard linear histopolation scheme, while retaining its simplicity and locality. We establish their theoretical foundations, proving unisolvency and deriving explicit basis functions, and we demonstrate their improved accuracy through extensive numerical tests. Moreover, we design an algorithm for the optimal selection of the distribution parameters, ensuring robustness and adaptivity of the reconstruction. Finally, we show that the proposed framework naturally extends to any bivariate function whose restriction to the edges defines a valid probability density, thus highlighting its generality and broad applicability.
1 Introduction
The classical concept of polynomial interpolation can be extended beyond pointwise evaluations to situations where the available information consists of general linear functionals Rivlin. When these data take the form of integrals over geometric domains, the problem is referred to as histopolation Robidoux, and the corresponding techniques are known as histopolation methods.
Histopolation provides a general framework for reconstructing functions from integral data, a problem of central importance in many areas of science and engineering. In practical applications, direct pointwise samples of the target function are often unavailable; instead, only integral measurements are accessible. This situation arises prominently in computed tomography and medical imaging, where measurements typically consist of line integrals kak2001principles; natterer2001mathematics; palamodov2016reconstruction. Beyond tomography, histopolation has found applications in computer vision, signal and image processing Bosner:2020:AOC, curve and spline approximation Fischer:2005:MPR; Fischer:2007:CSP; Siewer:2008:HIS; Hallik:2017:QLR, fractal functions Barnsley:2023:HFF, and in the conservation of physical quantities in numerical simulations HiemstraJCP. Recently, histopolation methods have received increasing attention BruniErbFekete; bruni2024polynomial, including global polynomial histopolation–regression in one bruni2025polynomial and several dimensions bruno2025bivariate, as well as weighted local polynomial histopolation schemes in the bivariate setting nudo1; nudo2; dell2025reconstructing; dell2025truncated; milov1.
A standard strategy for these reconstruction problems is to partition the computational domain into subdomains (a mesh), approximate locally on each element, and assemble a global approximation from the local contributions. Such schemes are typically conforming or nonconforming, depending on whether the assembled approximation is continuous across element interfaces.
A local approximation method can be rigorously defined through the triple Guessab:2022:SAB
where
-
•
is a polytope in , ;
-
•
is an -dimensional space of trial functions on ;
-
•
is a set of linearly independent linear functionals, called the degrees of freedom.
The triple is said to be unisolvent if, whenever satisfies
then necessarily . A set of functions
such that
and
is said to form the basis functions associated with the triple . If the degrees of freedom are integral functionals, the scheme is also referred to as a local histopolation method.
The simplest example is the linear nonconforming histopolation method on triangles, where edge integrals act as degrees of freedom and piecewise linear functions form the trial space. While attractive for its simplicity and efficiency, this approach has important limitations: its piecewise linear structure fails to reproduce oscillatory behaviors or sharp gradients, and higher accuracy can only be achieved through substantial mesh refinement.
In this work we propose an enrichment strategy that enhances local histopolation schemes by introducing quadratic trial spaces together with weighted degrees of freedom. The key idea is to employ probability densities on the edges of the mesh, which act as flexible weights and introduce tunable parameters. In particular, we construct two new two-parameter families of generalized truncated normal distributions, which extend classical exponential-type laws and include special or limiting cases (such as truncated normal and beta-type densities). These families naturally lead to enriched quadratic operators that significantly improve reconstruction accuracy while retaining the locality and simplicity of the original method.
From a theoretical point of view, we prove unisolvency of the enriched triples and derive explicit closed-form basis functions. From a practical perspective, we validate the proposed operators through extensive numerical experiments, which demonstrate their effectiveness in reconstructing both smooth and non-smooth functions. Moreover, as shown in Section 3, the framework is not limited to the two families introduced here: the same reasoning applies to any bivariate function whose restriction to the edges defines a valid probability density, thus highlighting the generality and robustness of the proposed approach.
The paper is organized as follows. In Section 2, we introduce two families of generalized truncated normal distributions, analyze their main properties, and define the corresponding families of quadratic histopolation operators. Moreover, we describe an algorithm for the optimal selection of the distribution parameters, which further enhances the robustness and adaptivity of the reconstruction. In Section 3, we develop the general framework for enriched quadratic histopolation operators and establish their theoretical foundations. In Section 4, we present numerical experiments that confirm the accuracy and effectiveness of the proposed methods. Finally, in Section 5, we conclude with a summary of the contributions and discuss possible directions for future research, including three-dimensional extensions and applications to imaging and approximation problems.
2 Two-parameter families of generalized truncated normal distributions
2.1 Problem statement
The problem we want to address is the following: given only integral measurements of an unknown bivariate function along the edges of a triangular mesh, reconstruct an accurate approximation of the function inside each triangle. In the classical local histopolation method, these measurements are taken as unweighted edge integrals and the reconstruction space is piecewise linear. While simple and efficient, this approach lacks the ability to capture curved or oscillatory features unless the mesh is strongly refined.
Our objective is to overcome this limitation by enriching the standard framework. We introduce probability density functions as edge weights in the integral data, so that each measurement carries additional information about the local behavior of the function. This enrichment is feasible under the assumption that additional integral data are available, beyond the classical unweighted edge averages. In this setting, the reconstruction naturally leads to quadratic operators that preserve locality and simplicity while significantly improving approximation accuracy. The role of this section is to present two flexible two-parameter distribution families that serve as the building blocks of the proposed weighted histopolation scheme.
2.2 Definition of the distribution families
In this section, we introduce two distinct two-parameter families of univariate distributions, each generated by suitable bivariate weight functions defined on a triangle of a given mesh. These families include, as limiting or special cases, several well-known probability laws. They provide the building blocks for a broad class of new piecewise quadratic reconstruction operators, which in turn form the basis of a nonconforming histopolation method locally determined by a unisolvent triple. The goal is to reconstruct a function using information derived from weighted integrals over the edges of a triangular mesh. To this end, we formulate the probability density functions (hereafter, pdfs) associated with the edges of a nondegenerate triangle with vertices and barycentric coordinates . These coordinates are the unique affine functions on , namely
| (1) |
which satisfy the partition of unity property,
and the Kronecker delta property at the vertices,
As a consequence, we have
| (2) |
For the forthcoming analysis, we recall the lower incomplete gamma function, which will play a central role. It is defined for and by
| (3) |
Among its numerous properties, one that we shall exploit is the limiting relation
| (4) |
Indeed, since
we obtain
Integrating over with respect to and dividing by , we obtain the inequalities
Taking the limit as establishes (4). This relation will be crucial for analyzing the convergence of our densities when one of their parameters tends to infinity. For convenience, we introduce the modified incomplete gamma function
| (5) |
so that (4) takes the simpler form
| (6) |
If a numerical routine is available to evaluate , then can be computed directly by scaling. For example, in Matlab one may use gammainc(z,s) gamma(s), while in Mathematica the corresponding function is Gamma[s,0,z].
2.3 First family of distributions
The first family is defined through the following bivariate function with shape parameter and scale parameter by
| (7) |
where is expressed in terms of barycentric coordinates as
| (8) |
and is a normalization factor ensuring that integrals involving the associated generalized truncated normal distribution are properly scaled.
It is worth noting that is a weight function,
as it is nonnegative throughout the triangle .
Furthermore, when restricted to any edge of ,
reduces to a quadratic form,
and the induced univariate functions not only serve as weights
but also define valid probability density functions on the edges. An advantage of the general form (7) is that it allows us to tune the free parameters and when reconstructing a function with specific features. In particular, different behaviors can be produced by varying the exponential term in (7).
In the following, we parametrize the edge as
| (9) |
Then, by (1) and (2), together with (8), we obtain
| (10) |
We now define the first class of univariate pdfs associated with the weight function . It follows directly from the definition of that on the edge of one has
| (11) |
An important observation is that is independent of the choice of edge of the triangle . We shall henceforth work with the normalized probability density functions (pdfs) with unit zeroth moment, which we denote with a tilde. Thus, in order to obtain a normalized pdf, the coefficient in the bivariate weight function defined in (7) is introduced so that
As shown in Lemma 2, for any and , the normalization constant is given by
which can be written more compactly in terms of the modified incomplete gamma function as
| (12) |
Hence, for any and , substituting (12) into (11), it follows that the normalized pdfs on are given by
| (13) |
As a first observation, this family extends the class of exponential-type distributions. Indeed, when , equation (13) reduces to the well-known doubly truncated normal distribution on the interval , here written in terms of ; see Jawitz2004. Indeed, by straightforward calculation, and using the notation (6), this distribution can be written as
Recall that this latter distribution has no shape parameter, and thus cannot model all phenomena. Nevertheless, it has been extensively studied and plays a central role in probability theory, see, e.g., Xinyi2012functions and the references therein. Therefore, our pdfs constitute a new two-parameter family of exponential type. In Figure 1, we plot several instances of , illustrating the strong sensitivity of the distribution to both the shape parameter and the scale parameter . This highlights the increased flexibility and importance of the generalized family.


Remark 1
The pdfs also include a beta-type distribution as a limiting case. Indeed, using (6) with
we obtain
| (14) |
Therefore, for any , the limiting distribution is
| (15) |
Thus, converges to a beta-type distribution as .
In order to present our local reconstruction operator, which is based on the pdfs , we now introduce some additional notations and recall the basic setting for clarity of exposition. The operator is built locally on each nondegenerate triangle of a given mesh. For notational convenience, we set
as well as
Then, using the parametrization of the side given in (9), we introduce the linear functionals
| (16) |
and denote
Thus, the linear nonconforming histopolation method can be locally represented by the triple
| (17) |
where is the space of linear polynomials on , and its associated basis functions are expressed in barycentric coordinates as
as can be directly verified. The reconstruction operator associated to the triple (17) is
| (18) |
To describe our first new two-parameter family of nonconforming histopolation operators, we introduce a class of enriched linear functionals, defined by
| (19) | |||||
| (20) |
where
| (21) |
Since is a probability density, the functionals and can be interpreted as weighted averages of and along the side of . The rationale behind the choice of , which will become clear in Section 3, lies in its central role in the subsequent analysis. Using (10) and the parametrization (9), this polynomial can equivalently be expressed in terms of the function defined in (8) as
Remark 2
We define the associated set of enriched linear functionals as
and introduce the enriched triple
| (22) |
where is the set of all quadratic polynomials defined on This triple can be regarded as a generalization of the linear (unweighted) histopolation scheme. We employ the proposed enriched quadratic operators as building blocks for the function reconstruction method. Their quadratic nature allows them to represent curved features and ensures greater accuracy compared to the linear case.
The first step in our analysis is to show that, for any and , the system defines a well-posed unisolvent triple for .
The second step is to determine the associated basis functions.
These functions are then employed to define the first two-parameter family of local function reconstruction operators.
We now summarize our main findings together with some immediate consequences. Detailed proofs will be provided at the end of this subsection.
Theorem 2.1
The triple is unisolvent for any and .
We next derive closed-form expressions for the basis functions associated with the enriched triple . Specifically, we determine a basis
of the vector space satisfying the conditions
| (23) | ||||
| (24) | ||||
| (25) | ||||
| (26) |
for any .
Theorem 2.2
The basis functions associated with the enriched triple are given by
| (27) | ||||
| (28) |
where
| (29) |
and
denotes the second moment of
We now have all the necessary ingredients to define the two-parameter local reconstruction operator associated with the pdfs . This operator is constructed using the basis functions of Theorem 3.2 and is defined by
| (30) |
The proofs are based on certain properties of the pdfs and the polynomial .
To establish Theorems 2.1 and 2.2, we first present several auxiliary lemmas and recall some concepts that will be useful in the sequel.
In the discussion that follows, particular emphasis will be placed on the first three lemmas, which will be invoked repeatedly.
We begin with a lemma concerning the incomplete gamma function (3).
Lemma 1
For any and , the following identity holds
where denotes the modified incomplete gamma function defined in (5).
Proof
By using the change of variables , we obtain
The result then follows directly from the definition (5) with parameters and .
Exploiting the symmetry of the probability density defined in (13), we first state a number of its fundamental properties. The next lemma shows that is indeed a probability density function, that is, it has unit zeroth moment.
Lemma 2
For any and , the function is a probability density function.
Proof
By symmetry and with the substitution , we obtain
| (31) | |||||
Applying Lemma 1 with
we can write
| (32) |
Then, combining (31) and (32), it follows that
| (33) |
Therefore, in order for to be a probability density function, the normalization constant in (12) must be the reciprocal of the right-hand side of (33), so that
The next lemma allows us to derive a compact formula for the moments of in terms of the modified incomplete gamma functions defined in (5).
Lemma 3
Let be the sequence of moments of . Then
| (34) |
Proof
By symmetry, is even, hence for all , it follows that
For the even moments, performing the change of variables gives
| (35) | |||||
Applying Lemma 1 with
we can write
| (36) |
Then, combining (35) and (36), it follows that
| (37) |
Then, by recalling the explicit expression of the pdfs in (13) and using (37), we obtain
Remark 3
By setting in (34), one immediately recovers the normalization condition, thus confirming that is indeed a probability density function.
Remark 4
The limiting moments of as are easily obtained from the following remark.
Remark 5
The following result shows that , defined in (21), is indeed an orthogonal polynomial.
Lemma 4
The polynomial is orthogonal to all linear polynomials on with respect to the pdfs .
Proof
Since is an even function, it suffices to show that
Using the expression of from (38), we have
In the last equality we used the facts that
since is a probability density function, and
which is precisely the second moment of .
We will need the average values of the barycentric coordinates on the edges of , weighted by the probability density .
Lemma 5
For any , it holds
| (39) |
Proof
From (19), we have
If , then by (2) it follows immediately that
If instead , then one of the values or equals , while the other equals . Since is a probability density function and barycentric coordinates are affine functions, we get
where in the last equality we have used the fact that is a probability density. Then the lemma is proved.
We also need explicit expressions for the average values of the square of the barycentric coordinates on each edge of , weighted by .
Lemma 6
For any , it holds
| (40) |
where is the second moment of .
Proof
The following result is an immediate consequence of Lemma 4.
Lemma 7
For any , the following identity holds
| (42) |
Proof
Remark 6
From the definition of and the orthogonality of the polynomial established in Lemma 4, it follows that
for every linear polynomial .
Lemma 8
For any , the following identity holds
| (43) |
Proof
From equation (20) and the fact that barycentric coordinates are affine functions, we obtain
If , then by (2) it follows that
If instead , then or , and one of them must be zero. Using this fact, and exploiting the orthogonality property of established in Lemma 4, together with the identity (38) expressing in terms of , we obtain
Using again the orthogonality property of the desired result follows.
We are now ready for the proof that the triple is unisolvent. To this aim, we first introduce some notations that will be used throughout the remainder of the paper. In particular, we consider the matrix
| (44) |
As , the matrix is invertible, with inverse given by
| (45) |
Proof of Theorem 2.1. It is sufficient to prove that the only polynomial satisfying
| (46) | ||||
| (47) |
is the zero polynomial. To this aim, let , which can be expressed in barycentric form as
| (48) |
with coefficients , . By Lemmas 7 and 8, condition (47) reduces to
This can equivalently be written in matrix form as
where is the matrix defined in (44), and
Since is non-singular, we conclude that
Consequently, by (48), the polynomial reduces to
Applying Lemma 5, condition (46) becomes
This can equivalently be written in matrix form as
| (49) |
where
Since is non-singular, system (49) admits only the trivial solution
which implies and thus completes the proof. ∎
The proof of Theorem 3.2 relies on the derivation of the explicit
analytic expressions of the basis functions and .
We illustrate the procedure by computing and ,
as the remaining cases follow in the same way.
Proof of Theorem 2.2.
We begin by deriving the analytic expression of the basis function .
According to its definition, can be expressed as
| (50) |
for some coefficients , . To determine these coefficients, we use condition (24) together with Lemmas 7 and 8, which yield
As in the previous proof, this system admits only the trivial solution
Substituting these values into (50), reduces to
Applying Lemma 5, condition (23) becomes
This is equivalently written in matrix form as
where
A straightforward computation yields
and hence
It remains to compute the expression of the basis function . By definition, it can be expressed as
| (51) |
for some coefficients , . To determine these coefficients, we use condition (26) together with Lemmas 7 and 8, which yield
This is equivalently written in matrix form as
where
Solving this system, we have
Substituting these values into (51), reduces to
Applying Lemmas 5 and 6, condition (25) yields
where is defined in (29). This system admits the unique solution
Hence takes the form
which concludes the proof. ∎
2.4 Second family of distributions
We now present a second two-parameter family of exponential-type distributions, which generalizes the truncated normal distribution, and is given by the following bivariate function with parameters and
| (52) |
where is given by (8). Unlike the function of the first family, in (7), the function does not, in general, define a weight function for all values of , because changes sign on . In fact, at the barycenter
one has , hence
which is negative whenever is an integer and is odd.
With the normalization in (52), the restriction of to any edge of yields a probability density function on (see Lemma 9). Indeed, using (1) and (2) we obtain
| (53) |
Remark 7
When , the edge-restricted densities and coincide for . In particular, both reduce to the standard truncated normal distribution on .


Figure 2 shows that depends strongly on both the shape parameter and the scale parameter , thereby motivating the two-parameter generalization.
To define our second two-parameter family of nonconforming histopolation operators, we introduce the following enriched linear functionals
| (54) | ||||
| (55) |
where
| (56) |
We then define the following triple
where
Remark 8
Our first goal is to prove that is unisolvent. In a second step, we characterize the basis functions associated with this triple. Proofs are deferred to later subsections. The main results and some immediate consequences are summarized below.
Theorem 2.3
The triple is unisolvent for any and .
We next derive closed-form expressions for the basis functions associated with the triple . Specifically, we determine a basis
of the vector space satisfying the conditions
for any .
Theorem 2.4
The basis functions associated with the enriched triple are given by
where
and
denotes the second moment of
We now have all the necessary ingredients to define the two-parameter local reconstruction operator associated with the pdfs . This operator is constructed using the basis functions of Theorem 2.4 and is defined by
As in the previous case, the proofs rely on specific properties of the density and of the polynomial . To prove Theorems 2.3 and 2.4, we first collect a number of auxiliary lemmas and recall some standard notions needed in the sequel. Exploiting the symmetry of the edge density defined in (53), we begin by recording some of its basic properties. The next lemma shows that is a probability density on .
Lemma 9
For any and , the function is a probability density function.
Proof
The next lemma allows us to derive a compact formula for the moments of in terms of the modified incomplete gamma functions defined in (5).
Lemma 10
Let be the sequence of normalized moments of . Then
| (61) |
Proof
By symmetry, is even, hence for all , it follows that
For the even moments, performing the change of variables gives
Applying Lemma 1 with
we can write
Therefore
As an immediate application of the integral representation of the moments in Lemma 10, we obtain an alternative expression for the polynomial in (56).
Remark 9
Remark 10
Setting in (61) gives , confirming that is a probability density.
Remark 11
The next result establishes that , defined in (56), is the degree-two orthogonal polynomial associated with the weight on .
Lemma 11
The polynomial is orthogonal to all linear polynomials on w.r.t. the weight function .
Proof
Since is an even function, it suffices to show that
| (63) |
Using the expression of from (62), we have
| (64) | |||||
| (65) | |||||
| (66) |
In the last equality we used the facts that
since is a probability density function, and
which is precisely the second moment of .
In what follows, we prove several crucial lemmas needed in the sequel.
Lemma 12
For any , it holds
| (67) |
Proof
The proof is similar to that of Lemma 5 and is therefore omitted.
Lemma 13
For any , it holds
| (68) |
where is the second moment of .
Proof
The proof is similar to that of Lemma 6 and is therefore omitted.
Lemma 14
For any , it holds
| (69) |
Remark 12
From the definition of and the orthogonality of the polynomial established in Lemma 11, it follows that
| (70) |
for every linear polynomial .
Lemma 15
For any , it holds
| (71) |
Proof
The proof is similar to that of Lemma 8 and is therefore omitted.
Now, we are ready to prove that the triple is unisolvent.
Proof of Theorem 2.3. Using Lemmas 12, 13, 14, and 15, the proof follows along the same lines as that of Theorem 2.1 and is therefore omitted. ∎
Proof of Theorem 2.4
Using Lemmas 12, 13, 14, and 15, the proof follows along the same lines as that of Theorem 2.2 and is therefore omitted.
∎
2.5 Parameter selection by global mesh-level tuning
We discuss a complementary strategy to select the parameters of the edge densities (e.g., for the families introduced in Section 2). Given a validation set of test functions
and a sequence of meshes
we determine the optimal parameters by minimizing the global error over a candidate grid of parameter pairs:
where is defined in (30). This procedure provides a robust, once-for-all choice of the parameters.
This grid–search strategy is simple to implement and guarantees the existence of a well–defined pair of optimal parameters . Once selected, these values can be applied uniformly across all mesh elements, thus ensuring that the reconstruction procedure is completely specified and reproducible. Although the search involves multiple reconstructions on the validation set, it is performed only once as an offline preprocessing step. The modest computational cost is largely compensated by a substantial gain in robustness and accuracy in the proposed weighted histopolation framework. In practice, the method behaves like a standard hyperparameter tuning stage in machine learning, providing an automatic and principled way to calibrate the edge densities before applying the reconstruction algorithm to new data.
3 Generalization to Arbitrary Edge Probability Densities
In the previous sections, we focused on two specific two-parameter families of generalized truncated normal distributions, each giving rise to valid probability densities on the edges of a triangular element. A key observation is that, regardless of the chosen family, the resulting edge-restricted densities share the same structural properties: they are normalized probability densities, symmetric with respect to the edge parameter, and admit finite moments of all orders. These properties alone are sufficient to establish unisolvence of the enriched triple and to construct explicit quadratic reconstruction operators.
This motivates us to consider a more general setting. Let be a nondegenerate triangle with edges , and denote by
the affine parametrization of the edge . Let be a general pdf on . We assume further that admits finite moments
| (72) |
3.1 Edge functionals and orthogonal polynomials
Given such a density , we define enriched edge functionals in analogy with the previous constructions by
| (73) | ||||
| (74) |
where , , is a polynomial satisfying the orthogonality conditions
| (75) |
together with the non-degeneracy condition on the second moment
| (76) |
These assumptions ensure that the -weighted edge functionals (74) vanish on affine polynomials while detecting quadratic contributions.
3.2 Unisolvency and reconstruction
We then define the enriched triple
where
The following result shows that the structural properties observed for the specific families extend to any choice of probability density .
Theorem 3.1
The triple is unisolvent.
Proof(Sketch of proof)
The argument follows the same lines as in the proofs of Theorems 2.3 and 2.19. Indeed, let such that
Along each edge , the trace of is quadratic. By construction, annihilates constant and linear terms, while detecting the quadratic coefficient. Hence, vanishing of implies that all edge traces of are affine. This forces . The remaining conditions then yield a homogeneous system for the linear coefficients, which admits only the trivial solution. This completes the proof.
This generalization shows that the enriched quadratic reconstruction framework is not restricted to the two-parameter families considered earlier, but in fact applies to any choice of probability density on the edges. The specific distributions and therefore appear as special cases within a broad and flexible class, highlighting the robustness and universality of the proposed approach.
Theorem 3.2
If the probability density function is even, then the basis functions associated with the enriched triple take the form
where
3.3 Practical constructions of
When is chosen to be a quadratic polynomial, it is possible to construct it explicitly from the moments . We outline below three practical approaches.
- (A)
- (B)
- (C)
Remark 13
If the chosen density is symmetric with respect to the origin, then all odd moments vanish, i.e.,
In this case, the expressions in (A) simplify considerably: one obtains and hence
This situation arises in particular for both the first and the second family of densities introduced in Section 2, which are symmetric and therefore lead to especially simple quadratic forms.
3.4 Numerical procedure
Before presenting the numerical results, we summarize the computational workflow adopted in our experiments. The procedure consists of two phases:
-
•
Offline parameter tuning: optimal density parameters are selected by Algorithm 1, applied to a small validation set of functions and a sequence of meshes.
-
•
Reconstruction and error evaluation: once the optimal parameters are fixed, they are used uniformly across all tests to compare the classical histopolation scheme with the enriched scheme .
The pseudocode of the complete workflow is reported in Algorithm 2.
This explicit workflow highlights how the parameter tuning step integrates seamlessly into the testing phase: after a one-time offline calibration, the enriched scheme is applied to new test functions and meshes in a fully specified and reproducible way.
4 Numerical tests
In this section, we present a series of numerical experiments to assess the performance and accuracy of the proposed enriched histopolation methods. All tests are carried out on the square domain , using a collection of benchmark functions that exhibit a variety of analytic behaviors, including smooth, oscillatory, and localized features. The test functions are defined as follows
The function is the well-known Franke function, widely used as a benchmark for approximation methods franke1982scattered. For the spatial discretization, we consider a sequence of regular Friedrichs–Keller triangulations Knabner, denoted by
where each consists of triangles; see Fig. 3.




To evaluate the quality of the reconstruction, we compute the error in the norm produced by the classical linear histopolation method defined in (17) and compare it with the error obtained using the enriched histopolation method introduced in (22), with the optimal parameters and . These parameters have been determined by means of the parameter tuning Algorithm 1. All experiments have been carried out according to Algorithm 2, implemented in Matlab. The integrals needed for assembling the reconstruction operators and for evaluating the errors were computed on each triangular element using high-order quadrature rules, with a sufficiently dense set of nodes to ensure accurate numerical integration and to rule out any artifacts due to quadrature errors. The norm is chosen as it handles discontinuities effectively without requiring limiting procedures (cf. dell2025truncated). The results of this comparison are reported in Figures 4, 5 and 6. A clear improvement of the enriched method over the standard scheme is observed across all test functions and mesh refinements. In particular, achieves significantly smaller errors, demonstrating its superior capability in reproducing local oscillations, sharp gradients, and singular features. Moreover, the enriched approach demonstrates an accelerated error decay under mesh refinement, thereby confirming that the additional degrees of freedom provided by the probability density weights yield a genuine enhancement in approximation power.






5 Conclusions and Future works
In this work we have introduced two new two-parameter families of generalized truncated normal distributions and exploited them to design enriched local histopolation schemes based on unisolvent triples. These distributions serve as flexible edge weights and provide additional degrees of freedom, which translate into improved accuracy and adaptability of the reconstruction operators. The resulting quadratic operators preserve the simplicity of the classical linear histopolation method while significantly enhancing their approximation capabilities, especially for functions with oscillations, steep gradients, or localized singularities.
From a theoretical point of view, we have established unisolvency and derived explicit closed-form basis functions, thus ensuring that the proposed schemes are mathematically well-posed and computationally viable. We have also proposed an algorithm for the optimal selection of the distribution parameters, which further increases the robustness and adaptivity of the approach. Numerical experiments have confirmed the theoretical findings, showing systematic improvements over the linear nonconforming histopolation approach. Moreover, as shown in Section 3, the same reasoning extends to any bivariate weight function whose restriction to the edges of the triangle defines a valid probability density. This highlights the generality and robustness of the proposed framework, which is not limited to the two specific families presented in this paper.
Several directions for future research naturally arise from this study. First, extending the framework to three-dimensional meshes would broaden its applicability to volumetric data reconstruction and tomographic imaging. Second, adaptive strategies for selecting the distribution parameters could be developed, so as to optimize accuracy depending on local features of the target function. Third, connections with other classes of orthogonal polynomials and probability densities could be investigated, possibly leading to new families of enriched operators. Finally, applications to real-world problems in imaging, computer vision, and numerical approximation remain a promising avenue for further exploration.
Acknowledgments
This research has been achieved as part of RITA “Research ITalian network on Approximation” and as part of the UMI group “Teoria dell’Approssimazione e Applicazioni”. The research was supported by GNCS–INdAM 2025 project “Polinomi, Splines e Funzioni Kernel: dall’Approssimazione Numerica al Software Open-Source”. The work of F. Nudo is funded from the European Union – NextGenerationEU under the Italian National Recovery and Resilience Plan (PNRR), Mission 4, Component 2, Investment 1.2 “Finanziamento di progetti presentati da giovani ricercatori”, pursuant to MUR Decree No. 47/2025. The research was supported by by the grant “Bando Professori visitatori 2022” which has allowed the visit of Prof. Allal Guessab to the Department of Mathematics and Computer Science of the University of Calabria in the spring 2022. The authors extend their appreciation to the Deanship of Research and Graduate Studies at King Khalid University for funding this work through Large Research Project under grant number RGP2/305/46.
Conflict of interest
Not Applicable.