Abstract
In this paper, two new families of non-stationary subdivision schemes are introduced. The schemes are constructed from uniform generalized B-splines with multiple knots of orders 3 and 4, respectively. Then, we construct a third-order reverse subdivision framework. For that, we derive a generalized multi-resolution mask based on their third-order subdivision filters. For the reverse of the fourth-order scheme, two methods are used; the first one is based on least-squares formulation and the second one is based on solving a linear optimization problem. Numerical examples are given to show the performance of the new schemes in reproducing different shapes of initial control polygons.
1. Introduction
In recent years, the usage of subdivision schemes played a crucial role in developing computer graphics and creating smooth curves and surfaces. The starting point of this theory was Rahm’s article (see [1]); a few years later several schemes were developed to extend the field of application to more complicated curves and surfaces. This theory has found huge success in many fields of application such as curve and surface reconstruction (see [2,3,4,5]), computer animation and graphics (see [6,7,8]), robotics (see [9]), medical science processing (see [10,11,12]), wavelet and frame construction (see [13,14,15,16]), etc. Subdivision schemes have a very strong link with splines, so they are widely used to describe various properties of splines such as shape reproduction and approximation order calculation [17,18,19]. In the numerical domain, different subdivision schemes to approximate numerically various curves and surfaces have been proposed. For example, in [20] Romani has presented non-stationary approximating subdivision schemes to reproduce exponential functions based on algebraic and exponential polynomials. In Sunita and Shunmugaraj [4], an interpolating non-stationary subdivision schemes was introduced to generate circles, ellipses and all functions spanned by . Recent proposals of efficient non-stationary subdivision schemes have been presented by Ghaffar et al. [21], Fakhar et al. [22,23], Siddiqi et al. [24,25], where the authors have built elegant methods capable of reproducing complex curves or surfaces.
The reverse subdivision is a very important topic in CAGD that is often used in the removal of noise from curves and surfaces. For example, In [26], Foster et al. gave an idea of how the reverse subdivision can be used to remove and filter artifacts and noises from silhouettes extracted from polygonal meshes. To reduce the number of vertices in the raw data of a digitized leaf, Mundermann et al. [27] used the same idea as Foster et al. [26].
However, few works discuss the construction of wavelets based on the reverse subdivision technique. For example, Samavati and Bartels [15] are the first researchers who used the notion of reverse subdivision method for constructing multiresolution representation and studied its application to derive local reverse subdivision filters using local linear conditions (see [16]). Reference [28], Sadeghi et al. developed a full multiresolution representation based on reverse subdivision to create a good and smooth approximation of the original control points. In [29], Mohamed F. Hassan and Neil A. Dodgson presented a reverse Chaikin algorithm that generates a multiresolution representation of any line chain. For the non-interpolating transforms construction relies on the recently-introduced decimation operators, see [30] which are employed as subsampling operators. Recently, M. Ajeddar and A. Lamnii (see [31]) construct the inverse subdivision scheme associated with the quadratic uniform algebraic hyperbolic (UAH) B-spline by following the method introduced in [29].
In this paper, we introduce generalized B-splines of order 3 and 4 with multiple knots. From these B-splines, we have constructed two non-stationary subdivision schemes called generalized subdivision schemes of order 3 and 4. These subdivision schemes can exactly reproduce trigonometric and hyperbolic limit curves. As the matrix corresponding to the generalized subdivision scheme of order 3 is a square matrix, we compute the inverse of this matrix to finally obtain the expression of the reverse scheme of order 3. Using the multiresolution theory we propose the wavelets corresponding to the generalized scheme of order 3. To calculate the reverse generalized scheme of order 4 we use two methods: the first is similar to the one presented by Olsen in [32] which is based on multiresolution. It starts by finding the approximate reverse scheme and then finding the error between the control polygonal and the one constructed by using this approximate reverse scheme. The calculation of this error is based on the solution of least-squares formulations. Precisely the second method differs from the first one in this part of the error calculation. It is based on the matrix solution of a linear optimization problem such that the error is minimized. The great advantage of this method is that the error depends on the generalized subdivision of order 4 matrix which is already known. The corresponding algorithm is also presented.
The main novelty of this paper is that our reverse subdivision scheme is a non-stationary reverse scheme that is characterized by a tension parameter that allows us to exactly reproduce the initial control polygonal of the trigonometric and hyperbolic form. The performance of the proposed schemes compared to those in the literature is illustrated by numerical examples.
The paper is organized as follows. We first introduce the definition and some interesting properties of the generalized B-splines of degree 3 and 4 of the proposed subdivision scheme in Section 2. In Section 3, we present the subdivision scheme associated with the generalized B-spline. Section 4, presents the reverse subdivision scheme for generalized B-splines of degree 3. Moreover, a related multiresolution technique is discussed. In Section 5, based on two methods, we give the reverse subdivision scheme for generalized B-splines of degree 4. The last section is devoted to the conclusion.
2. Definitions of Generalized B-Spline Basis Functions
This section aims to present explicit formulas of the uniform generalized B-splines of order k where and gave their interesting properties, for more details see [5,33]. To do this, we need the following notations:
For a given positive integer , let and such that Let,
the uniform partition of , with meshlength and the space of generalized splines of order k defined by:
where
The dimension of is and the k-order generalized B-splines are given by:
- For :andwhere
- For :andwhere
In [5], M.-E. Fang et al. proved that all the desirable properties of classical polynomial B-splines carry over to the generalized B-splines of order k. In this section, we mention only the most remarkable ones such as:
- Local support: for .
- Positivity: for .
- Partition of unity: for all
- Linear independence: are linearly independent.
3. Generalized Subdivision Scheme
This section presents the explicit matrix form of the generalized subdivision scheme corresponding to the B-spline proposed in the previous Section, afterwards illustrating some numerical examples of the application of this scheme in generating limit curves.
3.1. Generalized Subdivision Rules
By using the same method described in [5], we can also propose a generalized subdivision scheme from the refinement equation associated with the generalized B-spline with multiple knots of order k.
Let be the vector of initial data and be a tension parameter satisfying . The generalized subdivision scheme of order k at level ℓ can be written in matrix form:
where is the matrix of the generalized subdivision scheme of order k at level ℓ, its expression for is
and for it is
is the tension parameter at level ℓ, it was updated from one level to another by the following expression:
and as proved in [5] when then .
Remark 1.
As described in [5]:
Theorem 1.
The generalized subdivision scheme of order k generates -continuous limit curves for any choice of the initial tension parameter .
Proof.
The proof is omitted as it is similar to the proof of Theorem 7 in [5]. (see also references [34,35]). □
3.2. Numerical Examples
Figure 1, illustrates the performance of a generalized subdivision scheme of order 3 in generating a different kind of limit curve like the circle in Figure 1a and helix in Figure 1b by using initial tension parameter , respectively, . Figure 2 illustrates two different limit forms generated by application of the generalized subdivision scheme of order 3 (black) and 4 (red) on the initial control polygonal (blue) choosing .
Figure 1.
An example of analytic curves produced by application of a generalized subdivision scheme of order 3; (a) circle, (b) helix.
Figure 2.
Tree steps of subdivision curves by application of a generalized subdivision scheme of order 3 (black) and 4 (red).
4. Reverse Generalized Subdivision Scheme of Order 3 and Wavelets
In this section we will determine the reverse of the generalized scheme of order 3, then we will give the wavelets corresponding to this scheme.
4.1. Reverse Generalized Subdivision Scheme
Inverse subdivision is the process of finding the coarsest possible representation of a given object by a finer control polygon. In other words, it is a tool that allows us to return to the approximate control polygon of fine data that was obtained by the same direct scheme whose reverse we are looking for or by another scheme. The advantage of the reverse scheme is that it helps us a lot to return to the initial polygon of a fine data easily without losing a lot of time and also without taking a up lot of space because creating a control polygon corresponding to fine data which are very large takes a lot of memory space and this does not happen in the case where the reverse scheme is used. The method for finding the reverse scheme is to take the direct scheme at level ℓ and try to calculate the reverse of that scheme in such a way that we can return to the control polygon from . When we find this reverse scheme, we can apply it ℓ times to easily return to the first control polygon . In this subsection, we will use the technique used by Hassan et al. in [29] to extract the reverse scheme corresponding to the generalized scheme of order 3.
By using (2), we have,
In order to determine the stages of the forward–backward subdivision patterns, it is sufficient to take the average of the two positions and to store the error vectors (see [29]).
Consequently, for ,
where is the detail values that can be used to reconstruct the data . The vector that gathers these values denoted by and is called the detail vector.
Moreover,
Consequently, for
Remark 2.
- When this reverse generalized scheme becomes the reverse of the Chaikin scheme proposed in [29].
- In the reverse step from level to level ℓ, the tension parameter is updated as follows:
4.2. Numerical Example
To show the added value of our inverse generalized subdivision scheme, we propose in this section some examples related to trigonometric and hyperbolic curves. Indeed, In Figure 3 we apply three levels step of reverse generalized subdivision scheme of order 3 to limit form (blue) with values of the tension parameter equal to . In Figure 4 we show the advantage of the generalized reverse scheme of order 3 in the reconstruction of original initial control polygonal trigonometric form and hyperbolic form. The tension parameters applied are and .
Figure 3.
An open curve and their three levels of generalized B-spline reverse subdivision of order 3.
Figure 4.
The generalized reverse scheme of order 3.
It is well known that the multi-resolution process of a subdivision model allows increase or decrease in the resolution of a given mesh. For example, in animated films, we use meshes that are too smooth when the images are close together and coarse meshes in the opposite case (see [31]).
4.3. Multiresolution and Reverse Subdivision Scheme
The objective of this section is to construct generalized spline wavelets associated with generalized splines of order 3 with multiple nodes at the edges of the interval [a,b].
Let be a set of fine points. The multi-resolution decomposition of and given by:
where
- is a set of coarse points;
- is a set of detailed points;
- and are the filters matrix of size
According to (6) it is easy to find that:
The reconstruction can be obtained by using the synthesis filters and such that . From the Formula (8), the matrix is defined as follow
where
Consequently, using the matrix , the generalized B-wavelets are given by:
In Figure 5, we give an example of the generalized B-wavelettes of order 3, for (Blue line), (Magenta line), (Red line).
Figure 5.
Graphs of Generalized B-spline wavelets for (Blue line), (Magenta line) and (Red line).
5. Reverse Generalized Subdivision Scheme of Order 4
The method used to reverse the subdivision scheme of order 3 cannot be applied to find the reverse of the generalized subdivision of order 4. For this reason, in this Section, we present two methods: the first one is based on the least-squares formulation that is presented in [32] while the second one is based on solving the minimization of linear optimization problems.
5.1. Least-Squares Formulation
Since is not a square matrix then does not exist. However, using the same technique presented in [32], we will find a reverse scheme of order 4. Indeed, to compute the different components of the multiresolution structure we adopt the constrained wavelet approach proposed by L. Olsen et al. (see [32]). The described approach uses the link between the even and odd rules of the subdivision filters. It starts by determining the decomposition and reconstruction matrices tests which are equal in our case
Secondly, as described in [32], these three matrices cannot allow us to return to the original mesh , and the error denoted by between the original point and what is given by application of these matrices denoted by is very large. To this end, the authors solved this problem by minimizing the least-squares error metric and they showed in the proof that the values of can be calculated by determination of matrix such that . The values of the matrix is
with
Remark 3.
- The matrices and above are calculated by using the same steps for calculating matrices and L in [32].
- When this reverse generalized scheme becomes the reverse of cubic scheme that is proposed in [32].
5.2. Linear Optimization Problem
In this subsection, we present another method to calculate the same error but this time as a function of . In fact, this method starts from a subdivision matrix . The concept is to use the given subdivision scheme to obtain the better that produces coarse points with minimal subdivision error. The coefficients of the weak resolution are obtained by minimizing the distance between and . This leads to:
Thus,
As the 2nd derivative is symmetrically positive definite, the solution of Equation (9) is a local minimum. Thus, for we obtain
since , solving normal Equation (11) for provides
It yields with (11),
Replacing by and simplifying shows that equality (12) is equivalent to
Then can be computed from the above linear system.
5.3. Numerical Example
In this subsection, we give examples of using our approach in synthesizing applications.
Figure 6 presents the powerful generalized reverse subdivision scheme of order 4 to reproduce a different initial control polygonal. The tension parameter for the dog is where the one chosen for the head is .
Figure 6.
The generalized reverse scheme of order 4.
The Algorithm 1 summarizes the decomposition process of .
| Algorithm 1: Decomposition |
![]() |
6. Conclusions
In this paper, we have constructed a reverse generalized subdivision scheme of order 3 and 4 by two different methods. In comparison with other existing methods in the literature, our proposed reverse scheme can reproduce exactly the initial control polygonal of trigonometric and hyperbolic forms. A multiresolution representation based on a reverse subdivision approach which has interesting applications is also studied in this paper.
Author Contributions
M.Y.N.: conceived the idea, executed the simulations, formal analysis and writing—original draft.; A.L. and A.Z.: conceptualization, writing—review and editing. All authors have read and agreed to the published version of the manuscript.
Funding
This work was supported by Hassan First University of Settat, Morocco.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
Not applicable.
Conflicts of Interest
The authors declare no conflict of interest.
References
- De Rham, G. Sur une courbe plane. J. Math. Pures Appl. 1956, 35, 25–42. [Google Scholar]
- Beccari, C.; Casciola, G.; Romani, L. A non-stationary uniform tension controlled interpolating 4-point scheme reproducing conics. Comput. Aided Geom. Des. 2007, 24, 1–9. [Google Scholar] [CrossRef]
- Daniel, S.; Shunmugaraj, P. An approximating C2 non-stationary subdivision scheme. Comput. Aided Geom. Des. 2009, 26, 810–821. [Google Scholar] [CrossRef]
- Daniel, S.; Shunmugaraj, P. Some interpolating non-stationary subdivision schemes. In Proceedings of the 2011 International Symposium on Computer Science and Society, Kota Kinabalu, Malaysia, 16–17 July 2011; pp. 400–403. [Google Scholar]
- Fang, M.-E.; Ma, W.; Wang, G. A generalized curve subdivision scheme of arbitrary order with a tension parameter. Comput. Aided Geom. Des. 2010, 27, 720–733. [Google Scholar] [CrossRef]
- Dyn, N.; Levin, D. Subdivision schemes in geometric modelling. Acta Numer. 2002, 11, 73–144. [Google Scholar] [CrossRef]
- Salomon, D. Curves and Surfaces for Computer Graphics; Springer: New York, NY, USA, 2006. [Google Scholar]
- Warren, J.; Weimer, H. Subdivision Methods for Geometric Design—A Constructive Approach; Morgan-Kaufmann Publishers: San Francisco, CA, USA, 2002. [Google Scholar]
- Lipovetsky, E. Subdivision of point-normal pairs with application to smoothing feasible robot path. Vis. Comput. 2021. [Google Scholar] [CrossRef]
- Badoual, A.; Schmitter, D.; Uhlmann, V.; Unser, M. Multiresolution subdivision snakes. IEEE Trans. Image Process. 2016, 26, 1188–1201. [Google Scholar] [CrossRef]
- Conti, C.; Romani, L.; Unser, M. Ellipse-preserving Hermite interpolation and subdivision. J. Math. Anal. Appl. 2015, 426, 211–227. [Google Scholar] [CrossRef]
- Schmitter, D.; Fageot, J.; Badoual, A.; Garcia-Amorena, P.; Unser, M. Compactly-supported smooth interpolators for shape modeling with varying resolution. Graph. Models 2017, 94, 52–64. [Google Scholar] [CrossRef]
- Amat, S.; Donat, R.; Liandrat, J.; Trillo, J.C. A fully adaptive PPH multiresolution scheme for image processing. Math. Comput. Model. 2007, 46, 2–11. [Google Scholar] [CrossRef]
- Amat, S.; Liandrat, J. Nonlinear thresholding of multiresolution decompositions adapted to the presence of discontinuities. Adv. Comput. Math. 2013, 38, 133–146. [Google Scholar] [CrossRef][Green Version]
- Bartels, R.; Samavati, F. Multiresolutions numerically from subdivisions. Comput. Graph. 2011, 35, 185–197. [Google Scholar] [CrossRef]
- Bartels, R.; Samavati, F. Reversing subdivision rules: Local linear conditions and observations on inner products. J. Comput. Appl. Math. 2000, 119, 29–67. [Google Scholar] [CrossRef][Green Version]
- Charina, M.; Conti, C. Polynomial reproduction of multivariate scalar subdivision schemes. J. Comput. Appl. Math. 2013, 240, 51–61. [Google Scholar] [CrossRef]
- Charina, M.; Conti, C.; Guglielmi, N.; Protasov, V. Regularity of non-stationary multivariate subdivision: A matrix approach. Numer. Math. 2017, 135, 639–678. [Google Scholar] [CrossRef]
- Charina, M.; Conti, C.; Jetter, K.; Zimmermann, G. Scalar multivariate subdivision schemes and box splines. Comput. Aided Geom. Des. 2011, 28, 285–306. [Google Scholar] [CrossRef]
- Romani, L. From approximating subdivision schemes for exponential splines to high-performance interpolating algorithms. J. Comput. Appl. Math 2009, 224, 383–396. [Google Scholar] [CrossRef]
- Ghaffar, A.; Ullah, Z.; Bari, M.; Nisar, K.S.; Al-Qurashi, M.M.; Baleanu, D. A new class of 2 m-point binary non-stationary subdivision schemes. Adv. Differ. Equ. 2019, 2019, 325. [Google Scholar] [CrossRef]
- Fakhar, R.; Lamnii, A.; Nour, M.-Y.; Zidina, A. Mixed trigonometric and hyperbolic subdivision scheme with two tension and one shape parameters. Int. J. Comput. Math. 2021. [Google Scholar] [CrossRef]
- Fakhar, R.; Lamnii, A.; Nour, M.-Y.; Zidina, A. Mixed hyperbolic/trigonometric non-stationary subdivision scheme. Math. Sci. 2021. [Google Scholar] [CrossRef]
- Siddiqi, S.S.; Salam, W.; Rehan, K. Binary 3-point and 4-point non-stationary subdivision schemes using hyperbolic function. Appl. Math. Comput. 2015, 258, 120–129. [Google Scholar] [CrossRef]
- Siddiqi, S.S.; Salam, W.; Rehan, K. A new non-stationary binary 6-point subdivision scheme. Appl. Math. Comput. 2015, 268, 1227–1239. [Google Scholar] [CrossRef]
- Foster, K.; Sousa, M.C.; Samavati, F.F.; Wyvill, B. Polygonal silhouette error correction: A reverse subdivision approach. Int. J. Comput. Eng. 2007, 3, 53–70. [Google Scholar] [CrossRef]
- Mündermann, L.; MacMurchy, P.; Pivovarov, J.; Prusinkiewicz, P. Modeling lobed leaves. In Proceedings of the Computer Graphics International 2003, Tokyo, Japan, 9–11 July 2003; pp. 60–65. [Google Scholar]
- Sadeghi, J.; Samavati, F.F. Smooth reverse Loop and Catmull-Clark subdivision. Graph. Models 2011, 73, 202–217. [Google Scholar] [CrossRef]
- Dodgson, N.A.; Hassan, M.F. Reverse Subdivision. In Advances in Multiresolution for Geometric Modelling; Springer: Berlin/Heidelberg, Germany, 2005; pp. 271–283. [Google Scholar]
- Dyn, N.; Zhuang, X. Linear multiscale transforms based on even-reversible subdivision operators. In Excursions in Harmonic Analysis; Springer: Berlin/Heidelberg, Germany, 2020; Volume 6. [Google Scholar]
- Ajeddar, M.; Lamnii, A. Smooth reverse subdivision of uniform algebraic hyperbolic B-splines and wavelets. Int. J. Wavelets Multiresolut. Inf. Process. 2021. [Google Scholar] [CrossRef]
- Olsen, L.; Samavati, F.F.; Bartels, R.H. Multiresolution for curves and surfaces based on constraining wavelets. Comput. Graph. 2007, 31, 449–462. [Google Scholar] [CrossRef]
- Xu, G.; Wang, G. AHT Bézier Curves and NUAHT B-Spline Curves. J. Comput. Sci. Technol. 2007, 22, 597–607. [Google Scholar] [CrossRef]
- Conti, C.; Dyn, N. Non-stationary Subdivision Schemes: State of the Art and Perspectives. In Approximation Theory XVI at 2019; Fasshauer, G.E., Neamtu, M., Schumaker, L.L., Eds.; Springer Proceedings in Mathematics and Statistics; Springer: Cham, Switzerland, 2021; Volume Voumle 336, pp. 39–71. [Google Scholar]
- Conti, C.; Gemignani, L.; Romani, L. Exponential Pseudo-Splines: Looking beyond Exponential B-splines. J. Math. Anal. Appl. 2016, 439, 32–56. [Google Scholar] [CrossRef]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 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/).
