Next Article in Journal
Unit Size Determination for Exploratory Brain Imaging Analysis: A Quest for a Resolution-Invariant Metric
Previous Article in Journal
Pseudorandom Function from Learning Burnside Problem
Previous Article in Special Issue
Approximation by Schurer Type λ-Bernstein–Bézier Basis Function Enhanced by Shifted Knots Properties
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Set-Valued Approximation—Revisited and Improved

School of Mathematical Sciences, Tel-Aviv University, Tel-Aviv 6997801, Israel
Mathematics 2025, 13(7), 1194; https://doi.org/10.3390/math13071194
Submission received: 3 March 2025 / Revised: 1 April 2025 / Accepted: 2 April 2025 / Published: 4 April 2025
(This article belongs to the Special Issue Advances in Approximation Theory and Numerical Functional Analysis)

Abstract

:
We address the problem of approximating a set-valued function F, where F : [ a , b ] K ( R d ) given its samples { F ( a + i h ) } i = 0 N , with h = ( b a ) / N . We revisit an existing method that approximates set-valued functions by interpolating signed-distance functions. This method provides a high-order approximation for general topologies but loses accuracy near points where F undergoes topological changes. To address this, we introduce new techniques that enhance efficiency and maintain high-order accuracy across [ a , b ] . Building on the foundation of previous publication, we introduce new techniques to improve the method’s efficiency and extend its high-order approximation accuracy throughout the entire interval [ a , b ] . Particular focus is placed on identifying and analyzing the behavior of F near topological transition points. To address this, two algorithms are introduced. The first algorithm employs signed-distance quasi-interpolation, incorporating specialized adjustments to effectively handle singularities at points of topological change. The second algorithm leverages an implicit function representation of G r a p h ( F ) , offering an alternative and robust approach to its approximation. These enhancements improve accuracy and stability in handling set-valued functions with changing topologies.

1. Introduction

We address the problem of approximating set-valued functions from a finite set of samples. Specifically, we focus on the class of set-valued functions F that map [ a , b ] R to K ( R d ) —the collection of all compact subsets of R d . The images of F can possess an arbitrary topological genus and may include the empty set. To facilitate a high-order approximation, we assume that the graph of F has a C k -smooth boundary.
In [1], a general method for interpolating set-valued functions of any dimension and topology was introduced. Numerical algorithms derived from this work have been applied in various domains, including computer graphics animation (e.g., [2]). This method leverages the interpolation of signed-distance functions and is reviewed in detail in the Preliminaries Section below. The error analysis in [1] is confined to closed sub-intervals in [ a , b ] where the topology of F remains unchanged. This paper aims to extend the approximation results from [1] to the entire interval [ a , b ] .
Recently, in [3], the author, in collaboration with Q. Muzaffar and N. Dyn, developed efficient algorithms for interpolating a set-valued function that maps a closed interval to compact sets in R . These algorithms utilize samples of F at equidistant points in [ a , b ] , specifically the 1D sets { F ( a + i h ) } i = 0 N , where h = b a N . Each algorithm computes a set-valued function that matches F at the given sample points. A thorough analysis of the approximation error for the computed interpolants is also provided. The algorithms are inspired by the concept of ‘metric polynomial interpolation’, based on the theory presented in [4]. According to this theory, a ‘metric polynomial interpolant’ consists of a collection of polynomial interpolants applied to all the ‘metric chains’ derived from the given samples of F. The algorithm proposed in [3] identifies and computes a small, finite subset of ‘significant metric chains’, which is sufficient for accurately approximating F.
In the setting of 1D set-valued functions explored in [3], the authors provide a detailed discussion on the global approximation error over [ a , b ] . The key contribution of [3] is its method and analysis for achieving a high-order approximation rate, even near points of topology change.
In this paper, for the general case of d-dimensional set-valued functions, we build upon one of the approximation techniques introduced in [3] to attain high-order approximation of set-valued functions near points of topology change. Additionally, we utilize the implicit function representation of sets, as proposed in [1].
In analyzing real-valued function approximation, achieving high-order accuracy typically requires the function to be sufficiently smooth. Similarly, for the approximation of a set-valued function F, we assume in this work that the graph of F, defined as G r a p h ( F ) = ( t , y ) | y F ( t ) , t [ a , b ] K ( R d + 1 ) , has smooth boundaries.
We consider, without loss of generality, the approximation of a set-valued function F : [ 0 , 1 ] K ( ( 0 , 1 ) d ) for d 1 , based on its samples F ( i h ) i = 0 N , where h = 1 / N . Our goal is to construct an approximation F ˜ ( t ) of the set F ( t ) for any t [ 0 , 1 ] .
One approach to represent the set F ( t ) is through its boundaries. Here, we define the boundary of a compact set in R n as the set itself minus its interior. Approximating F ( t ) in this representation involves approximating its boundaries.
A second way to represent F ( t ) is through an inclusion algorithm that determines whether a point in R d belongs to the set F ( t ) . In this paper, we utilize both approaches: representing the approximation F ˜ ( t ) to F ( t ) either by computing its boundary or by applying an inclusion algorithm.
Another target of approximation is the graph of F, denoted as G r a p h ( F ) . This approximation can similarly be achieved either through an explicit representation of the boundaries of G r a p h ( F ) or via an implicit inclusion-based approach.
For dimensions d 3 , established methods are available for addressing this problem:
  • For d = 1 , the boundaries of G r a p h ( F ) are curves in R 2 . In [3], an approximation order O ( h ν ) , as h 0 , is achieved for ν > 1 . The order ν depends on the degree of the polynomials and splines used in the algorithms presented in [3], assuming the boundaries of G r a p h ( F ) are sufficiently smooth.
  • For d = 2 , the boundaries of G r a p h ( F ) are surfaces in R 3 . We remark that the case d = 2 has many practical applications as it amounts to reproducing a 3D object (the graph of F) from its parallel 2D cross-sections (the samples of F). A variety of methods devised for this case are in [1,5,6,7]. None of these methods claim an approximation error higher than O ( h ) .
  • For d = 3 , the boundaries of the graph of F are 3D manifolds in R 4 , which are complicated to imagine. On the other hand, the evolution of F as a function of t is a familiar entity, which is the animation of the changing 3D sets in between the given sets. At each animation frame, we display the 2D boundary of the approximated 3D object F ( t ) . Based upon the method in [1], an efficient algorithm for solving this problem is presented in [2].
A recent study [8] builds on the 1D results from [3] to develop high-order approximation methods for the more general case of d-dimensional set-valued functions, d > 1 .
This paper introduces a distinct approximation approach, building on several approximation results developed in recent years by the author and collaborators [1,3,9,10,11,12,13,14,15].
In particular, in Section 3, we use the procedure in [13] to solve the singularity approximation problem near points of topology change. In Section 4, we use projection algorithms from [12,14] within the construction of an implicit approximation of the boundary of G r a p h ( F ) .

2. Preliminaries

2.1. Review of Multidimensional Reconstruction by Set-Valued Approximations

In [1], the approximation of a set-valued function F : [ 0 , 1 ] K ( ( 0 , 1 ) d ) for d 1 is studied, based on its samples F ( i h ) i = 0 N , where h = 1 / N . The independent variable of F is denoted by t, while the variables in [ 0 , 1 ] d are represented by x 1 , x 2 , , x d . It is assumed that the graph of F, denoted as G r a p h ( F ) , has a smooth boundary. We denote G r a p h ( F ) by Ω for brevity and its boundary by Ω . It is assumed that Ω consists of a finite number of C k -continuous hypersurfaces that are mutually disconnected. The given samples are denoted as Ω i = F ( i h ) , with their respective boundaries Ω i , for 0 i N . Each Ω i is a compact set in R d , while Ω is a compact set in R d + 1 .
The sampled sets { Ω i } can have different topological structures and representations, such as boundaries or inclusion formulas. It is assumed that the distance from any point in [ 0 , 1 ] d to the set’s boundary can always be measured.
The first step in [1] involves defining a distance field representation for each of the given samples. For each sample Ω i , the corresponding distance field function D i is defined on [ 0 , 1 ] d as follows:
D i ( x ) = d i s t ( x , Ω i ) x Ω i d i s t ( x , Ω i ) x Ω i c ,
where d i s t represents the Euclidean distance in R d .
Next, we use univariate interpolation with respect to the parameter t to interpolate the distance values { D i ( x ) } i = 0 N for points sharing the same d-coordinates across the cross-sections. The resulting interpolant, denoted by I ( t ; x ) , evaluated at a point t, approximates the Euclidean distance (in R d ) between the point x and the boundary of the set F ( t ) . Once this approximated distance field is available, the set F ( t ) is approximated by the set
F ˜ ( t ) { x : I ( t ; x ) 0 } .
This approach, known as the Distance Field Interpolation method (DFI), is introduced in [1] with a theoretical approximation result specifically formulated for the case d = 2 . However, this result can be easily extended to higher dimensions as follows:
Theorem 1.
Let Ω be a closed d + 1 -dimensional domain whose boundary Ω consists of a finite number of mutually disconnected, C k -continuous hypersurfaces. Let t = t j , 1 j J , represent the planes that are locally tangent to Ω and let δ be any positive constant. Suppose a finite-support interpolation method of approximation order O ( h k ) is used to interpolate the values { D i ( x ) } i = 0 N . For each h > 0 , consider any point ( t h , x h ) satisfying min { | t h t j | } j = 1 J δ that represents a discrepancy between F ( t h ) and the reconstructed domain, i.e.,
x h F ( t h ) F ˜ ( t h ) c o r x h F ( t h ) c F ˜ ( t h ) .
Then, the distance of this point to the boundary Ω satisfies
d i s t ( ( t h , x h ) , Ω ) = O ( h k ) , a s h 0 .
The above approximation result applies only to points not close to the tangency planes { t = t j } . In most cases, these special values { t j } correspond to points of topology change, meaning that for a small ϵ , the genus of the set F ( t j + ϵ ) differs from that of F ( t j ϵ ) . The primary goal of this paper is to address this limitation in the DFI method and to introduce a new approach that achieves high-order global approximation of both F and Ω .
Remark 1.
As with the approximation order result in (3), the theoretical findings in this paper are asymptotic in nature. In practice, the proposed methods yield accurate results as long as h is sufficiently small relative to the minimal radius of curvature of Ω , the boundary hypersurfaces of G r a p h ( F ) .

2.2. Approximating Piecewise-Smooth Functions

An efficient method for approximating piecewise-smooth functions is introduced in [13].
The paper primarily focuses on approximating functions with jump discontinuities in their derivatives but also extends the discussion to other types of singularities. For example, it considers singularities of the form ( x s ) + α for α R + , where
( y ) + = y , y 0 , 0 , y < 0 .
In this case, the ( α + 1 ) th derivative limit from the right at s is not finite.
The algorithm proposed in [13] follows a three-step procedure. First, it identifies the singularity interval by analyzing the errors in a spline quasi-interpolation approximation. Next, a nonlinear optimization method is applied to obtain a high-order approximation of the singularity, determining key parameters such as the location s and the exponent α . Finally, the initial approximation is refined using the extracted singularity details. The method achieves high-order approximation rates, formally established and proven in [13].

2.3. Spline Quasi-Interpolation Operators

In this paper, we employ spline quasi-interpolation operators for two key approximation tasks. First, we use univariate quasi-interpolation to approximate piecewise-smooth functions. Second, we construct an implicit function representation of boundary surfaces by applying spline-based quasi-interpolation operators to gridded data. The multivariate quasi-interpolation operators are derived through tensor products of the univariate quasi-interpolation operators introduced below.
Suppose f C k ( R ) and h > 0 is a constant. Consider B k 1 ( x ) , the ( k 1 ) -degree B-spline supported on the interval I k = k 2 , k 2 , with equidistant knots S k = k 2 , , k 2 . Define the vector f n , k = ( f n k 1 2 , , f n + k 1 2 ) , where f i = f ( i h ) and · denotes the floor function. The following explicit local quasi-interpolation operator accurately reproduces polynomials of degree up to k 1 , and it approximates f with an error of order O ( h k ) as h 0 ; see [16]:
Q k 1 ( f ) ( t ) = n Z L k 1 ( f n , k ) B k 1 t h n ,
where L k 1 is a linear functional given by
L k 1 ( f n , k ) = j = k 1 2 k 1 2 c k , j f n + j .
A general formula for the coefficients c k , j , where j = k 1 2 , , k 1 2 , is provided in [16].

3. Improving the DFI Method

3.1. The Signed-Distance Function

The Distance Field Interpolation (DFI) method introduced in [1] assumes that the boundary of the graph of the approximated function is smooth. However, the corresponding distance field function is generally only piecewise smooth and may contain points where its derivative is singular. We denote the distance field function as
D ( t ; x ) = d i s t ( x , F ( t ) ) x F ( t ) d i s t ( x , F ( t ) ) x F ( t ) c ,
where F ( t ) represents the boundary of F ( t ) . In Theorem 1, we introduced the set of values { t j } j = 1 J where the planes t = t j are tangent to Ω = G r a p h ( F ) . We now denote by { x j } j = 1 J the corresponding points in ( 0 , 1 ) d such that ( t j , x j ) R d + 1 lies on the tangent to Ω . The first step in our improved method involves obtaining a high-order approximation of the values { t j } j = 1 J . These values serve as potential locations for singularities in the signed-distance function D ( t ; x ) when viewed as a function of t.
For a given x ( 0 , 1 ) d , the DFI method employs spline interpolation to approximate the signed-distance functions D ( t ; x ) using its sampled values { D i ( x ) } i = 0 N . The roots of this interpolant are then used to approximate the intersection of the line x = x with Ω . The accuracy of these approximations varies depending on the location of x . In some cases, the method provides good results, while in others, the approximation may be significantly inaccurate. The most problematic cases arise when x is close to one of the critical points { x j } j = 1 J , which correspond to the tangency locations of Ω .
Figure 1 illustrates the challenges near tangency points. The figure depicts the graph of a continuous function F : [ 0 , 1 ] K ( [ 0 , 1 ] 2 ) , with smooth boundaries. The blue curves represent the boundaries of the given samples of F. The lowermost and uppermost points of the graph correspond to tangency points. As evident from the figure, the given samples do not provide sufficient information over a large neighborhood of these points. Typically, if the spacing between the given samples is h, the size of these neighborhoods is O ( h 0.5 ) .
Another way to approach the problem is by examining the behavior of the signed-distance function near tangency points, offering deeper insight into a potential solution. Figure 2 illustrates this concept with the graph of a 2D set-valued function F, depicting a yellow ellipsoid containing a blue ellipsoidal hole. The planes t = 0.2 and t = 0.8 are tangent to the lower and upper boundaries of the hole, respectively. These parameter values also mark points where the topology of F ( t ) changes: for 0 < t 0.2 and 0.8 t < 1 , F ( t ) is a disc, whereas for 0.2 < t < 0.8 , F ( t ) forms an annulus. Relevant to this specific case, Figure 3 presents the graph of the signed-distance function, D ( t ; x ) as a function of t, for an x near the hole. The function exhibits singularities at t = 0.2 and t = 0.8 , characterized by the forms
C 1 ( t 0.2 ) + 0.5 , a n d C 2 ( 0.8 t ) + 0.5 .
Such singularities typically occur in the signed-distance function near smooth holes in G r a p h ( F ) . The circles in the graph represent the given data points, and the objective is to approximate the intersection of the graph with the line y = 0 without prior knowledge of the location or nature of the singularities. Additionally, the figure reveals that the density of data points along the graph decreases as we approach the singular points. This specific example serves as a reference while presenting our proposed solution to the problem.

3.2. High-Order Approximation of Singular Signed-Distance Functions

We now describe the algorithm for approximating the function D ( t ; x ) , as shown in Figure 3. Our approach is based on the method presented in [13], adapted to suit our specific needs.
1.
Deriving the signature of the singularities
We begin by applying a p-degree quasi-interpolation operator (see Section 2.3) to the given data { D i ( x ) } i = 0 N (represented by the circles in Figure 3). To facilitate this process, we extend the values { D i ( x ) } i = 0 N to the left and right by padding with zero values.
Q k 1 ( D ) ( t ) = n Z L k 1 ( D n , k ( x ) ) B k 1 t h n .
Next, we compute the errors in the quasi-interpolation approximation at the given data points:
E i ( D ) = D i ( x ) Q k 1 ( D ) ( i h ) .
We recall that the quasi-interpolation operator is a local operator, utilizing only a finite number of data points for each t. It provides an O ( h k ) approximation order to C k functions. Consequently, the errors { E i ( D ) } remain small at points where the signed-distance function is smooth but become significantly larger near the singular points 0.2 and 0.8 . Additionally, large errors appear near the boundary points t = 0 and t = 1 . For our application, we focus on the neighborhood of the singular points and disregard the large errors near the boundaries. We refer to the values { E i ( D ) } as ‘the signature of D ( t ; x ) ’. For instance, the signature of the function in Figure 3 (with k = 4 ) is illustrated in Figure 4.
2.
Using the signature to identify singularity parameters
The next step, following [13], is to identify a singular function σ whose signature closely matches that of D ( t ; x ) . As observed in Figure 4, for sufficiently small h, the effects of different singularities are well separated and can be analyzed independently.
In our case, while the exact locations of the singularities are unknown, their type is known. To address the left singularity in the given example, we fit a singular function of the form
σ ( t ) = j = 0 q a j ( t s ) + j 2 .
The unknown singularity location s along with the unknown coefficients { a j } are determined by performing 2 minimization of the difference between the signature of D ( t ; x ) and σ ( t ) , i.e.,
{ s , { a j } } = argmin { { s , { a j } } i = I 1 I 2 ( E i ( D ) E i ( σ ) ) 2 ,
where the indices I 1 and I 2 specify the interval of high signature corresponding to the left singularity. The operator E i ( σ ) computes the error of the quasi-interpolation approximation Q k 1 ( σ ) at t = i h . The parameter q is chosen as q = 2 ( k 1 ) to achieve the highest possible approximation order. We denote the resulting optimal parameters as s , { a j } j = 1 q .
As proved in [13], the resulting singularity parameters approximate the exact singularity parameters with a high order of accuracy. In particular, the singularity location satisfies | s s | = O ( h k ) as h 0 .
3.
The ‘corrected approximation’ framework.
We can now construct the desired approximation of D ( t ; x ) with the above singularity information. This process is performed locally, relying upon the locality property of the quasi-interpolation operator Q k 1 .
First, we apply Q k 1 to the smoothed data { D i ( x ) σ ( i h ) } , where
σ ( t ) = j = 0 2 p a j ( t s ) + j / 2 .
This yields the smooth-part approximation Q k 1 ( D ( · , x ) σ ) ( t ) . Following [13], the final approximation is obtained by correcting the smooth-part approximation by reintroducing the singular component:
D ˜ ( t ; x ) Q k 1 ( D ( · , x ) σ ) ( t ) + σ ( t ) .
Using the error estimates from [13], we obtain
| D ˜ ( t ; x ) D ( t , x ) | = O ( h k ) , a s h 0 .
4.
Computational aspects
The optimization problem in (10) is linear in the unknown coefficients { a j } but non-linear in the singularity location s. However, since s is an approximation of one of the values t j where a tangent plane t = t j is tangent to Ω , and given that there are only a finite number of such values, much of the computational effort involved in solving the nonlinear problem can be reduced. Specifically, once t j is well approximated for a particular point x , the same approximation s t j can be used for all points in a neighborhood of x , significantly reducing the need for repeated nonlinear optimization.
In general, the singularity exponent is also unknown. However, the assumption that Ω is smooth implies that, in non-degenerate cases, the singularity exponent is expected to be 1 / 2 . Nevertheless, other possible exponents, such as 1 / 3 and 1 / 4 , should also be considered.
Remark 2
(Approximating the tangency point ( t j , x j ) ). The parameters obtained in the approximation σ can also be utilized to derive an estimate of the tangency point ( t j , x j ) . Specifically, the value | a 0 | serves as an approximation of the distance between x j and x . Additionally, recall that computing each distance D i ( x ) involves determining the direction to the nearest point on the boundary. Let e i be the direction associated with D i ( x ) , where i h is the closest point to s satisfying i h s . Then, the approximation of x j is given by
x ˜ j x + a 0 e i .
While the approximation t j s achieves approximation order O ( h k ) , the approximation of x j is of order O ( h ) .

3.3. The Improved DFI Approximation

In Section 2.1, the function D ( t ; x ) is approximated by interpolating the data { D i ( x ) } , resulting in the approximation I ( t ; x ) . However, the new approach deviates from interpolation. Similarly to the original DFI method, instead of using Equation (2), we define the improved approximation of the set F ( t ) by the set
F ˜ ( t ) { x : D ˜ ( t ; x ) 0 } .
With this improvement, the approximation results established in Theorem 1 are now enhanced as follows.
Theorem 2.
Let Ω be a closed ( d + 1 ) -dimensional domain whose boundary Ω consists of a finite number of mutually disconnected hypersurfaces that are C k -continuous. Suppose we use the quasi-interpolation method using the operator Q k 1 to obtain the approximation D ˜ ( t ; x ) . For each h > 0 , consider any point ( t h , x h ) where the reconstructed set F ˜ ( t h ) disagrees with the true set F ( t h ) , i.e.,
x h F ( t h ) F ˜ ( t h ) c o r x h F ( t h ) c F ˜ ( t h ) .
Then, the distance from ( t h , x h ) to the boundary Ω satisfies
d i s t ( ( t h , x h ) , Ω ) = O ( h k ) , a s h 0 .
Proof. 
If the plane t = t h is not close to a plane that is locally tangent to Ω , the result follows from [1], as stated in Theorem 1 above. Assume now that the plane t = s is tangent to Ω at the point ( s , x s ) . Without loss of generality, suppose the singularity in the signed-distance function near the tangency point has the form given in (9). Using the algorithms in Section 3.2, we obtain an approximation s s . If t h lies between s and s , the result follows from the earlier observation that s s = O ( h k ) as h 0 , along with the assumption that Ω is C k -smooth.
The challenging situation is when t h > max { s , s } and x h is near x s . For a point of disagreement ( t h , x h ) as defined in (15), it follows that D ( t h , x h ) and D ˜ ( t h , x h ) have opposite signs. Applying the error estimate (13), we conclude that D ( t h , x h ) = O ( h k ) as h 0 . The proof follows by noting that
d i s t ( ( t h , x h ) , Ω ) D ( t h , x h ) .

4. Building Implicit Approximation of Ω

4.1. Implicit Approximation of Smooth Curves and Hypersurfaces

When approximating a set with smooth boundaries, a natural and constructive approach is to approximate its boundaries directly. An effective method, applicable in any dimension, is to use an implicit representation. Specifically, the approximation of a ( d 1 ) -dimensional hypersurface in R d is defined as the zero-level set of a function S : R d R . A key insight in this context is the following curve approximation result, as presented in [10].
Proposition 1.
Assume Γ is a C 4 -smooth curve in [ 0 , 1 ] 2 with a minimal curvature radius greater than R. Furthermore, suppose its R-neighborhood is neither self-intersecting nor intersecting the boundaries of [ 0 , 1 ] 2 . Let P be a square mesh of points in [ 0 , 1 ] 2 with mesh size δ < R / 10 . The curve Γ subdivides [ 0 , 1 ] 2 into two domains, Ω 1 and Ω 2 , thereby partitioning the mesh points P into two corresponding subsets, P 1 and P 2 . We assign signed-distance values to the mesh points P as follows:
D ( q ) = d i s t ( q , Γ ) , q P 1 ,
D ( q ) = d i s t ( q , Γ ) , q P 2 .
Let Q 3 be the quasi-interpolation operator that maps vectors of values on P to the space of bi-cubic splines on [ 0 , 1 ] 2 . Define S ϵ as the bi-cubic spline obtained by applying Q 3 to a perturbed signed-distance dataset
D ˜ ( q ) = D ( q ) + ϵ q , | ϵ q | ϵ .
Let Γ ϵ be the zero-level curve of S ϵ . Then, the Hausdorff distance between Γ and Γ ϵ satisfies
d H a u s ( Γ , Γ ϵ ) C 0 δ 4 + Q 3 ϵ .
The above result can be naturally extended to higher dimensions and higher-order approximations as follows.
Proposition 2.
Assume Γ is a C m -smooth hypersurface in [ 0 , 1 ] d with a minimal curvature radius greater than R. Furthermore, suppose that the R-neighborhood of Γ is not self-intersecting and is not intersecting the boundaries of [ 0 , 1 ] d . Let P be a square mesh of points in [ 0 , 1 ] d , with mesh size δ < R / 2 m . The hypersurface Γ subdivides [ 0 , 1 ] d into two domains Ω 1 and Ω 2 , thereby partitioning the mesh points P into two corresponding subsets, P 1 and P 2 . We assign signed-distance values to the mesh points P as follows:
D ( q ) = d i s t ( q , Γ ) , q P 1 ,
D ( q ) = d i s t ( q , Γ ) , q P 2 .
Consider Q m 1 to be the quasi-interpolation operator mapping vectors of values on P to the space of ( m 1 ) -order tensor product splines on [ 0 , 1 ] d . Let S ϵ be the ( m 1 ) -order tensor product spline defined by applying Q m 1 to a perturbed signed-distance data
D ˜ ( q ) = D ( q ) + ϵ q , | ϵ q | ϵ ,
and let Γ ϵ be the zero-level hypersurface of S ϵ . Then,
d H a u s ( Γ , Γ ϵ ) C δ m + Q m 1 ϵ .

4.2. Estimating the Distance of a Point from a Hypersurface

To compute distances from a hypersurface Γ , we propose using the projection procedure introduced in [12] and later extended to manifolds in [14].
Given a set of points X on an unknown hypersurface Γ and a query point p near Γ , the procedure identifies a local reference plane and projects p onto a point Π ( p ) near the hypersurface. This projection is computed through a local least-squares fit using a polynomial patch T p . The distance p Π ( p ) , or the Euclidean distance | p Π ( p ) | , serves as a second-order approximation of d i s t ( p , Γ ) . A higher approximation order of d i s t ( p , Γ ) can be obtained by evaluating d i s t ( p , T p ) . The approximation order depends on the smoothness of Γ , the fill-distance of the set X, and the degree of the local polynomial approximation. A precise formulation of this relationship is provided below.
Definition 1
(Fill-distance). The fill-distance of a set of points X with respect to a hypersurface (or manifold) Γ is defined as the diameter of the largest open ball centered at a point on Γ that does not contain any point of X.
Proposition 3.
Let Γ be a C k d-dimensional hypersurface, and let X be a set of points on Γ with fill-distance O ( h ) . Consider a point p near Γ. Let T p be the local polynomial patch defined by the projection procedure in [14], with total degree k 1 . Then, the distance from p to Γ satisfies
d i s t ( p , Γ ) = d i s t ( p , T p ) + O ( h k ) , as h 0 .
The proof follows from the approximation properties of local moving least-squares, as outlined in [11].

4.3. Distributing Points near Ω

To generate the implicit function representation, we adopt the approach outlined in [9]. In the first step, we distribute a set of points, denoted as Q h , around the boundaries of the body, ensuring that they remain at a small, controlled distance from the boundary. These points must be densely distributed near the boundaries of the object to guarantee a high-quality approximation of the signed-distance function.
The primary source of points comes from the boundary of the given samples. These points are distributed along the boundaries of the given sets F ( i h ) i = 0 N , with a fill-distance of approximately h relative to the boundaries. We denote this collection of points as Q h 0 . It is important to note that this collection is not unique; the method of selecting the points depends on the representation of the given samples.
On its own, Q h 0 is not sufficient for providing an efficient approximation of the boundary of F. Specifically, these points do not adequately cover regions of the boundary Γ of G r a p h ( F ) , particularly near points where the boundary is tangent to the plane t = constant . This limitation is clearly illustrated in the upper and lower sections of the boundary in Figure 1.
To ensure complete coverage of the boundary of G r a p h ( F ) , we propose two approaches outlined below.

4.4. Completion of Q h near Tangency Points

We propose two methods for adding the missing information near the tangency points. Both methods utilize the local singularity expansion defined in Section 3.2, with parameters specified by (10). We assume that a good approximation of the tangency points ( s j , x ˜ j ) ( t j , x j ) is already available, as described in Remark 2, for 1 j J .
First, we estimate the size of the neighborhood around ( t j , x j ) where additional points need to be inserted. The size of this neighborhood is determined using the parameter a 1 in σ . A simple analysis shows that this neighborhood corresponds to a ball with radius R j = ( a 1 , j ) 2 . To define the missing points, we consider the set of points
X = { x : x X h B ( x ˜ j , R j ) } ,
where X h = { ( i 1 , i 2 , . . . , i d ) h , : ( i 1 , i 2 , . . . , i d ) Z d } and B ( x , R ) is the closed ball of radius R centered at x.
For each x X , we apply the procedure outlined in Section 3 and find the zero of D ˜ ( t ; x ) , t . The point q = ( t , x ) serves as an approximation of the intersection of the line x = x in R d + 1 with Ω . This process is repeated for all neighborhoods around the tangency points. The collection of all points q forms the set of points Q h , which, when combined with the points Q h 0 , constitutes the required set of points Q h for constructing the implicit function.
An alternative, computationally simpler approach to complete the points Q h is inspired by a similar technique used in [3] for the case d = 1 , and proceeds as follows.
We construct a local polynomial approximation P j ( x ) of the boundary of Ω near each tangency point. This polynomial is obtained by performing a local least-squares fitting to the points in Q h 0 that are the closest to x ˜ j . By using a polynomial of total degree 2 n 1 , we achieve a local approximation of order O ( h n ) to the boundary Ω . The points near Ω are then computed as follows:
Q j , h { ( P j ( x ) , x ) : x X } .
We apply this construction to all neighborhoods of the tangency points, gathering the resulting points into the set
Q h = j = 1 J Q j , h .
We then redefine the complete set as
Q h = Q h 0 Q h .
In both approaches, the points in Q h provide a well-approximated representation of Ω while maintaining a fill-distance of order O ( h ) with respect to Ω .
Remark 3
(Approximation orders of Q h ). Each of the algorithms described above generates points near Ω with a specific approximation order O ( h ν ) as h 0 .
  • In the first approach, according to Theorem 2, the approximation order is ν = k , where k is the smoothness index of the boundary.
  • For the second approach, ν = n where 2 n 1 is the degree of the polynomial used for the local approximation.

4.5. Building and Analyzing the Implicit Function Approximation

Our goal is to construct a tensor product cubic spline S ( x 1 , x 2 , . . . , x d + 1 ) , whose zero-level set provides the approximation to Ω . Following the approach in [10], we look for S, which is an approximation to the signed-distance function from Γ = Ω . To construct S, we first overlay a uniform (d+1)-dimensional grid of ( N + 1 ) d + 1 points P on the domain [ 0 , 1 ] d + 1 .
Recalling that h = 1 / N , each point p P lies on one of the given cross-sections { F ( i h ) } i = 0 N . This allows us to determine whether p is inside or outside G r a p h ( F ) . To each point p, we assign the value of its approximate distance from Γ , with a plus sign if it is inside G r a p h ( F ) and a negative sign if it is outside.
For each point p P , we aim to approximate its distance from Γ using the procedure outlined in Section 4.2. Instead of exact data on the boundary of Γ , we utilize the points Q h , which are located at a distance O ( h ν ) from Γ (see Remark 3). By applying the projection approach from Proposition 3, and choosing a sufficiently high degree for the local polynomial approximation, we achieve distance estimations with an error of O ( h ν ) as h 0 .
Using the quasi-interpolation operators introduced in Section 2.3, we construct a bivariate spline S of degree m on a uniform grid with knot spacing h = 1 / N , using the signed-distance values collected at the points P.
We define the zero-level of the resulting spline S as Γ ˜ , which serves as the desired approximation of Γ . The following approximation result follows directly from Proposition 2.
Corollary 1.
Let the boundary Γ = Ω satisfy the smoothness assumptions stated in Proposition 2. Suppose the approximated signed-distance values at the grid points P are defined as described above. Let S be the tensor product spline of degree m, constructed using quasi-interpolation applied to these approximated signed-distance values. Denoting the zero-level of S by Γ ˜ , we obtain the following error bound:
d H a u s ( Ω , Γ ˜ ) C 1 h m + 1 + C 2 h ν ,
where ν is defined in Remark 3.

5. Summary

In this work, we introduce ideas and algorithms for the high-order approximation of d-dimensional set-valued functions. In particular, we improve the approximation results of [1], demonstrating that a high approximation rate can be achieved even near points of topological change.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Levin, D. Multidimensional reconstruction by set-valued approximations. IMA J. Numer. Anal. 1986, 6, 173–184. [Google Scholar] [CrossRef]
  2. Cohen-Or, D.; Solomovic, A.; Levin, D. Three-dimensional distance field metamorphosis. ACM Trans. Graph. (TOG) 1998, 17, 116–141. [Google Scholar] [CrossRef]
  3. Dyn, N.; Levin, D.; Muzaffar, Q. Interpolation of set-valued functions. IMA J. Numer. Anal. 2024, drae031. [Google Scholar] [CrossRef]
  4. Dyn, N.; Farkhi, E.; Mokhov, A. Approximation of Set-Valued Functions: Adaptation of Classical Approximation Operators; Imperial College Press: London, UK, 2014. [Google Scholar]
  5. Barequet, G.; Shapiro, D.; Tal, A. Multilevel sensitive reconstruction of polyhedral surfaces from parallel slices. Vis. Comput. 2000, 16, 116–133. [Google Scholar] [CrossRef]
  6. Kels, S.; Dyn, N. Reconstruction of 3D objects from 2D cross-sections with the 4-point subdivision scheme adapted to sets. Comput. Graph. 2011, 35, 741–746. [Google Scholar] [CrossRef]
  7. Schumaker, L.L. Reconstruction of 3-D objects using splines. In Proceedings of the Curves and Surfaces in Computer Vision and Graphics, Santa Clara, CA, USA, 13–15 February 1990; Volume 1251. [Google Scholar]
  8. Dyn, N.; Levin, D. Approximation of Set-Valued Functions with images sets in Rd. arXiv 2025, arXiv:2501.14591. [Google Scholar]
  9. Amat, S.; Levin, D.; Ruiz-Alvárez, J.; Yáñez, D.F. Global and explicit approximation of piecewise-smooth two-dimensional functions from cell-average data. IMA J. Numer. Anal. 2023, 43, 2299–2319. [Google Scholar] [CrossRef]
  10. Amat, S.; Levin, D.; Ruiz-Álvarez, J. A two-stage approximation strategy for piecewise smooth functions in two and three dimensions. IMA J. Numer. Anal. 2022, 42, 3330–3359. [Google Scholar] [CrossRef]
  11. Levin, D. The approximation power of moving least-squares. Math. Comput. 1998, 67, 1517–1531. [Google Scholar] [CrossRef]
  12. Levin, D. Mesh-independent surface interpolation. In Geometric Modeling for Scientific Visualization; Springer: Berlin/Heidelberg, Germany, 2004. [Google Scholar]
  13. Lipman, Y.; Levin, D. Approximating piecewise-smooth functions. IMA J. Numer. Anal. 2010, 30, 1159–1183. [Google Scholar]
  14. Sober, B.; Levin, D. Manifold approximation by moving least-squares projection (MMLS). Constr. Approx. 2020, 52, 433–478. [Google Scholar]
  15. Dyn, N.; Farkhi, E.; Mokhov, A. Approximations of set-valued functions by metric linear operators. Constr. Approx. 2007, 25, 193–209. [Google Scholar] [CrossRef]
  16. Speleers, H. Hierarchical spline spaces: Quasi-interpolants and local approximation estimates. Adv. Comput. Math. 2017, 43, 235–255. [Google Scholar] [CrossRef]
Figure 1. An example ( d = 2 ) of G r a p h ( F ) and the given samples (in blue).
Figure 1. An example ( d = 2 ) of G r a p h ( F ) and the given samples (in blue).
Mathematics 13 01194 g001
Figure 2. An example ( d = 2 ) of G r a p h ( F ) - Ellipsoid with an ellipsoidal hole.
Figure 2. An example ( d = 2 ) of G r a p h ( F ) - Ellipsoid with an ellipsoidal hole.
Mathematics 13 01194 g002
Figure 3. A typical signed-distance function D ( t ; x ) with singularities.
Figure 3. A typical signed-distance function D ( t ; x ) with singularities.
Mathematics 13 01194 g003
Figure 4. An example of the signature of D ( t ; x ) with singularities.
Figure 4. An example of the signature of D ( t ; x ) with singularities.
Mathematics 13 01194 g004
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

Levin, D. Set-Valued Approximation—Revisited and Improved. Mathematics 2025, 13, 1194. https://doi.org/10.3390/math13071194

AMA Style

Levin D. Set-Valued Approximation—Revisited and Improved. Mathematics. 2025; 13(7):1194. https://doi.org/10.3390/math13071194

Chicago/Turabian Style

Levin, David. 2025. "Set-Valued Approximation—Revisited and Improved" Mathematics 13, no. 7: 1194. https://doi.org/10.3390/math13071194

APA Style

Levin, D. (2025). Set-Valued Approximation—Revisited and Improved. Mathematics, 13(7), 1194. https://doi.org/10.3390/math13071194

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