Abstract
Subdivision schemes are extensively used in scientific and practical applications to produce continuous shapes in an iterative way. This paper introduces a framework to compute subdivision depths of ternary schemes. We first use subdivision algorithm in terms of convolution to compute the error bounds between two successive polygons produced by refinement procedure of subdivision schemes. Then, a formula for computing bound between the polygon at k-th stage and the limiting polygon is derived. After that, we predict numerically the number of subdivision steps (depths) required for smooth limiting shape based on the demand of user specified error (distance) tolerance. In addition, extensive numerical experiments were carried out to check the numerical outcomes of this new framework. The proposed methods are more efficient than the method proposed by Song et al.
AMS Subject Classifications:
65D17; 65D05; 65U07
1. Introduction
A broad and eminent area in Computer Aided Geometric Design (CAGD) deals with curves, surfaces, and their computational aspects. Subdivision is the most remarkable field for the purpose of modeling of curves and surfaces in CAGD. Subdivision methods have achieved much popularity in the past few years because of their implementation along with their mathematical formulation. The convolution technique [] is one of the techniques used to merge different schemes. It has an important role in error analysis of the schemes. Actually, subdivision schemes take the polygons as input and successively produced smooth polygons or shapes as an output. Initially, the schemes with two rules were introduced. Later on, the interest was developed to recommend the schemes with three rules. This means at each subdivision level, every edge of the polygon is divided into three sub-edges. In the literature, these schemes are known as ternary schemes. Here, first we present brief review of these schemes then we will address the problem of error analysis.
Here we present an overview of the ternary subdivision schemes. Mustafa et al. [,,,] presented a -point ternary approximating and interpolating scheme, a 6-point ternary interpolating scheme, a family of even points ternary schemes, the odd point ternary approximating scheme respectively. Hassan et al. [] and Siddiqi and Rehan [] threw the light on 4-point ternary interpolating subdivision schemes. Kwan et al. [] explored the phenomenon of 4-points ternary approximating scheme and Mustafa et al. [,] examined 5-point and 6-point ternary interpolating schemes and their differentiability. Siddiqi et al. [,] explained 4-point ternary interpolating scheme for curve sketching and constructed different ternary approximating subdivision schemes. Peng et al. [,] discovered non-linear circle preserving interpolating scheme and fractal behavior of ternary rational interpolating scheme. Further discussing on ternary subdivision scheme, Aslam [] and Beccari et al. [] showed their talent to highlight a family of 5-point non-linear ternary interpolating scheme and an interpolating 4-point ternary non-stationary scheme with tension control respectively. Certainly, there are a few methods for estimating the error bounds of these schemes.
Some of the authors [,,] computed the error and order of the convergence of some binary schemes. Mustafa et al. [,,,] computed error bounds for binary, ternary, tensor product binary volumetric model and binary non-stationary schemes. Error bounds for a class of subdivision schemes based on the two-scale refinement equation were computed by Moncayo and Amat []. A formula for estimating the deviation of a binary interpolating subdivision curve from its data polygon was presented by Deng et al. []. However, the generalization of this formula to deal with the cases of n-ary interpolating and approximating schemes is still an open question. The following open question also arises in our mind: “How many subdivision steps (depths) are required to satisfy a user specified error (distance) tolerance?” Some of the researchers can be nominated as the embarking volunteers for the explanation of above questions such as: Mustafa and Hashmi [] estimated subdivision depth computation for n-ary schemes by using first forward difference technique. Mustafa [] presented subdivision depth computation technique for tensor product ternary volumetric model. Mustafa et al. also computed subdivision depth for triangular surfaces []. The above methods do not work for all type of subdivision schemes. Counter examples are also presented in this paper.
A novel numerical algorithm to estimate the subdivision depth was offered only for binary subdivision schemes in []. Still there is a gap/space to work for the subdivision depth of higher arity (i.e., ternary, quaternarys and so on) schemes. In this paper, an optimal approach is proposed to estimate subdivision depths for ternary (i.e., for each subdivision level, every edge of polygon is divided into three sub-edges) subdivision schemes.
The remaining part of the paper is arranged as follows. In Section 2, basic results, subdivision depths and numerical experiments of the method for univariate cases of the schemes are presented while in Section 3, these results for bivariate cases of the schemes are offered. Conclusions are drawn in Section 4.
2. Preliminary Results for Univariate Case
Let be a sequence of 2D points in which are obtained by the following refinement procedure
with
where indicates the refinement level. The points at 0th level are known as initial control points. The refinement procedure described in (1) along with its necessary condition of converge (2) is known as univariate ternary subdivision scheme. The following formulation of unknown coefficients is given by [].
with
The following symbolization will also be used in coming section of this paper.
Now we follow the techniques and notations presented in []. To be precise, let the vector represent the approximation coefficients associated with a certain level of resolution. If represents the resolution level then the reconstruction algorithm used to define the approximation coefficients at stage in terms of the coefficient at stage k are obtained by the use of subdivision algorithms in terms of convolutions i.e.,
where ★ denotes the convolution product of two vectors and .
Generally, the convolution product of two vectors and of finite lengths and respectively for ternary subdivision scheme is defined as
In the following subsection, we present the generalized version of the results presented in the Appendices A1 and A2 of [].
2.1. Reformulation of Successive Convolutions
In this subsection, we obtain some generalized inequalities used in order to find the subdivision depth of ternary subdivision schemes for the generation of curves. Their further generalizations are presented in Section 3 for the computation of depth of ternary subdivision schemes for tensor product surfaces. This section contains typical rigorous and tedious mathematical expressions. Readers are refers to Example 1 of this section for better understanding.
Lemma 1.
Let be the vector of finite length and with for , then the following one dimensional convolutions is bounded by
where is defined recursively by
and
Proof.
To prove this result, we start with the case of and convolutions and then a general case will be derived.
Case : From (5), we obtain a relation given in the following
where denotes the integer part. Using infinity norm , we get
Now
This infers
where
Thus,
Case : From (6), we acquire
This infers
This implies that
This infers
where
So
This implies
General case: By using the same technique, we acquire the reformulations for -th convolutions, which is in the following
Which implies
□
Lemma 2.
The term in the inequality (9) has the following expression
Proof.
Now we start for an induction process, which is over . Then
Case :
Similarly
From (8), we have
Using (11), we have
Now replace n by in (13), we obtain
Now using (12), we acquire
so
We suppose that it is true for an integer , that is
Case : Consider
Using (14), we have
Now, replace n by in (15), we have
Using (12) and (14), we acquire
Similarly we can prove
Hence
□
Now, applying Lemmas 1 and 2, we arrive at the following useful result:
Corollary 1.
The associated constant of a -th convolution with vector is
Proof.
Assume that with and Then for and by using Lemma 1, we acquire
Similarly for and using Lemma 2, we have
Finally, using (17) and (18), we get (16). □
2.2. Subdivision Depth for Ternary Subdivision Curves
In this section, we first generalize the inequalities (2.18) and then (2.5) which were presented in []. After that, we present a numerical inequality to compute the subdivision depth of ternary subdivision schemes for curve modeling.
Theorem 1.
Consider the initial polygon and , recursively interpreted by (1) together with (2). Suppose represents the polygon at the points . Then after two successive refinements/iterations k and , the error bounds between these two iterations is
where defined in (16), and
Proof.
See in []. □
Theorem 2.
Let a limit curve be linked with the subdivision iterative process, then under the same conditions used in Theorem 1 the following inequality hold
where is a natural number, such that .
Proof.
See in []. □
Theorem 3.
Let k be subdivision depth and let be the error bound between ternary subdivision curve and its k-level control polygon . For arbitrary , if
then .
Proof.
Let be the distance between limit curve and control polygon at k-th level defined in Theorem 2, such that
To obtain given error tolerance , consider
which implies
Now taking logarithm, we have
which implies
then . This completes the proof. □
2.3. Application for Univariate Case
Here, we present a few numerical experiments to compute subdivision depths of ternary subdivision schemes for curves. The associated constants defined in (16) of some ternary subdivision curves are shown in Table 1.
Table 1.
Associated constants of ternary subdivision curves.
Remark 1.
In this technique for is equal to δ defined in []. Please note that in [], if then error bounds cannot be computed. However, in the proposed technique, if we increase the value of until becomes less than one, so using this argument we can compute error bounds in each situation even though the value of δ becomes greater or equal to one.
Example 1.
Given initial polygon with values be interpreted recursively by the 2-point ternary approximating subdivision scheme [] (i.e., , , , , , ). For this ternary two point scheme (), we have from (16)
For , we get
Using (3) and Lemma 1, we have with for . Hence
Now consider
This implies
For , we get
This implies
This further implies
where
Since , for all , so
This further implies
Similarly, we can compute the values of . For convenience, we have computed the values up to , which are shown in Table 1. Its subdivision depth k (level of iterations) is computed by using Theorem 3 at different values of which are given in Table 2.
Table 2.
Subdivision depth of 2-point approximating ternary subdivision curves.
From this table, we observed that as increases subdivision depth decreases. This shows that the less subdivision depth can be obtained by using proposed technique. In other words, we need fewer iteration to get optimal subdivision depth as compared to the technique given in [] (which is denoted by ). For example, by [], it needs thirty five iterations to obtain error tolerance but using our technique, it needs only seven iterations corresponding to . The comparison of first and fifth convolution results is shown in Figure 1a.
Figure 1.
Comparison between first and fifth convolutions. This shows that the error decreases with the increase of convolution. Of course, it decreases with the increase of subdivision depth. (a) 2-point scheme []; (b) 3-point scheme []; (c) 4-point scheme []; (d) 4-point scheme [].
Example 2.
Consider the 3-point interpolating subdivision scheme [] with Its subdivision depths k for (see, Table 1) are computed by using Theorem 3, which are shown in Table 3 and in graphical sense shown in Figure 1b.
Table 3.
Subdivision depth of 3-point interpolating ternary subdivision curves.
Example 3.
Given initial control polygon with values be illustrated recursively by the ternary 4-point approximating scheme [].
Its subdivision depth k for are given in Table 4. It is also demonstrated with the help of Figure 1c.
Table 4.
Subdivision depth of 4-point approximating ternary subdivision curves.
Example 4.
Given be the initial polygon and for all positive integers we have the values be specified recursively by ternary 4-point interpolating subdivision scheme [] with parameter .
Its subdivision depths for (see, Table 1) are given in Table 5 and its performance is shown in Figure 1d.
Table 5.
Subdivision depth of 4-point interpolating ternary subdivision curves.
3. Preliminary Results for Bivariate Case
In this section, we generalize our representation of the 2-dimensional case to the 3-dimensional case. That is, we first focus our attention on generalizing the inequalities presented in Section 2.1 then we generalize the inequalities of Section 2.2 to compute subdivision depth of tensor product surfaces. For this, let be the sequence of 3D points , which are produced by the following tensor product of ternary scheme (1)
where satisfies (2).
Now we assign the coefficients and , by using the same procedure of symbolization given in [] i.e.,
To achieve the goal, all that is needed is to make the set up given before Section 2.1 for the 3D case. Here we skip the unnecessary detail and directly go to the following results.
Lemma 3.
Let be the vector of finite length for bivariate case and , with for , then the following two dimensional convolutions are bounded by
where
and
Proof.
To prove the result, we start with the case of and convolutions and later on we analyze the general case.
Case : Consider an arbitrary sequence of vectors . Then we have
where we are taking and for arbitrary sequence f and g. Thus,
This implies
Consider
and
then from (21), we obtain
Case : Now, after applying two time convolution, we obtain
This implies
This leads to
This again implies that
Further implies
Furthermore
Now
Consider
and
then we obtain from (22)
By the same strategy, we get the following reformulations for -th convolution
This implies
where
and
Thus,
Now consider
and
then, from (23), we obtain
where
□
3.1. Subdivision Depth for Ternary Subdivision Surfaces
In this section, we first compute error bounds for subdivision surfaces. Secondly, we use these error bounds to compute subdivision depths by using the methodology given in [].
Theorem 4.
Consider the initial control polygon and the values , recursively defined by (20) together with (2). Also be the representation of polygon at the points . Then after two consecutive iterations k and the error bounds is given as follows
where defined in (24) and (25),
where λ, τ and μ are defined in [].
Proof.
See in []. □
Theorem 5.
Let a limit surface be linked with the subdivision iterative process, then under the same conditions used in Theorem 4 the following inequality hold
where is a natural number, such that .
Proof.
See in []. □
Remark 2.
Here is also equal to δ which is defined in [].
Theorem 6.
Let k be subdivision depth and let be the error bound between ternary subdivision surface and its k-level control polygon . For arbitrary , if
then .
Proof.
Let be the distance between limit surface and control polygon at k-th level defined in Theorem 5, such that
To obtain given tolerance , consider
which implies
Now taking logarithm, we have
which implies
which further implies
then . This completes the proof. □
3.2. Application for Bivariate Case
Here, we present some numerical examples to compute subdivision depth for subdivision surfaces. The associated constants for some ternary subdivision surfaces by using (24) and (25) are shown in Table 6. We see that the values of decrease with the increase of . This is the main advantage of our proposed approach.
Table 6.
Associated constants of ternary subdivision surfaces.
Example 5.
Given the initial polygon with values be frequent explanation in [], then the subdivision depths for by using Theorem 6 are shown in Table 7. The first and fifth convolution comparison results are shown in Figure 2a.
Table 7.
Subdivision depth of 2-point ternary subdivision surfaces.
Figure 2.
Comparison between first and fifth convolutions. This shows error decreases with the increase of convolution. Of course, it decreases with the increase of subdivision depth. (a) 2-point tensor product scheme []; (b) 3-point tensor product scheme []; (c) 4-point tensor product scheme []; (d) 4-point tensor product scheme [].
Example 6.
Given control polygon with the values for all positive integers be illustrated by the tensor product of the scheme demonstrated in [], then the subdivision depths for by using Theorem 6 are shown in Table 8 and in the sense of graphical structure these results are shown in Figure 2b.
Table 8.
Subdivision depth of 3-point ternary subdivision surfaces.
Example 7.
Given an initial control polygon with the values be frequent explanation by the tensor product of the scheme presented in [], then the subdivision depths for by using Theorem 6 are shown in Table 9 and graphical results are presented in Figure 2c.
Table 9.
Subdivision depth of 4-point ternary subdivision surfaces.
Example 8.
Given be the initial polygon with values be illustrated by the tensor product of the scheme presented in [] with , then the subdivision depths for are shown in Table 10. Also demonstration of graphical view are given in Figure 2d.
Table 10.
Subdivision depth of 4-point ternary subdivision surfaces.
4. Conclusions
We described a formula to find the sharp error bounds between the polygon at any stage and the limiting polygon of the subdivision scheme. In addition, we have achieved a computational formula of subdivision depth for ternary subdivision schemes by using the error bounds. Existing methods only work under the strong condition given in ([], Equation (2.3)). In this paper, we relaxed the strict condition by convolving the mask of the schemes. Using our framework, we can get sharp bounds and subdivision depths by increasing the convolution steps. Ultimately, the suggested numerical method work when the other methods fail. In addition, extensive numerical experiments predict that if we have a prescribed error tolerance then a finer shape can be obtained by using fewer subdivision steps (i.e., depths). In the future, we will generalize our framework for higher arity (i.e., quaternary, quinary, and so on) schemes.
Author Contributions
Conceptualization, F.K. and G.M.; formal analysis, A.S. and D.B.; methodology, D.B. and M.M.A.-Q.; supervision, D.B.; writing–original draft, F.K., G.M. and A.S.; writing–review and editing, D.B. and M.M.A.-Q. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Acknowledgments
We would like to express our sincere thanks to anonymous reviewers for the careful reading and helpful remarks on our paper.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Ju, C.; Solomonik, E. Derivation and analysis of fast bilinear algorithms for convolution. arXiv 2019, arXiv:1910.13367v1. [Google Scholar]
- Aslam, M.; Mustafa, G.; Ghaffar, A. (2n-1)-point ternary approximating and interpolating subdivision schemes. J. Appl. Math. 2011, 11, 1–12. [Google Scholar] [CrossRef]
- Faheem, K.; Mustafa, G. Ternary six-point interpolating subdivision scheme. Lobachevskii J. Math. 2008, 29, 153–163. [Google Scholar] [CrossRef]
- Ghaffar, A.; Mustafa, G. The family of even-point ternary approximating schemes. ISRN Appl. Math. 2012, 12, 1–14. [Google Scholar] [CrossRef]
- Mustafa, G.; Ghaffar, A.; Khan, F. The odd-point ternary approximating schemes. Am. J. Comput. Math. 2011, 11, 111–118. [Google Scholar] [CrossRef]
- Hassan, M.F.; Ivrissimitzis, I.P.; Dodgson, N.A.; Sabin, M.A. An interpolating 4-point C2 ternary stationary subdivision scheme. Comput. Aided Geom. Des. 2002, 19, 1–18. [Google Scholar] [CrossRef]
- Siddiqi, S.S.; Rehan, K. Symmetric ternary interpolating C1 subdivision scheme. Int. Math. Forum 2012, 7, 2269–2277. [Google Scholar]
- Kwan, P.K.; Byung, G.L.; Gang, J.Y. A ternary 4-point approximating subdivision scheme. Appl. Math. Comput. 2007, 190, 1563–1573. [Google Scholar]
- Mustafa, G.; Ashraf, P. A new 6-point ternary interpolating subdivision scheme and its differentiability. J. Inf. Comput. Sci. 2010, 5, 199–210. [Google Scholar] [CrossRef]
- Mustafa, G.; Irum, J.; Bari, M. A new 5-point ternary interpolating subdivision scheme and its differentiability. ISRN Comput. Math. 2012, 12, 1–10. [Google Scholar] [CrossRef]
- Siddiqi, S.S.; Ahmed, N.; Rehan, K. Ternary 4-point interpolating scheme for curve sketching. Res. J. Appl. Sci. Eng. Technol. 2013, 6, 1556–1561. [Google Scholar] [CrossRef]
- Siddiqi, S.S.; Younis, M. Construction of ternary approximating subdivision schemes. UPB Sci. Bull. Ser. A Appl. Math. Phys. 2014, 76, 71–78. [Google Scholar]
- Peng, K.; Tan, J.; Li, Z.; Zhang, L. Fractal behavior of a ternary 4-point rational interpolation subdivision scheme. Math. Comput. Appl. 2018, 23, 65. [Google Scholar] [CrossRef]
- Song, Q.; Zheng, H.C.; Peng, G.H. A nonlinear ternary circle-preserving interpolatory subdivision scheme. Appl. Mech. Mater. 2013, 427, 2170–2173. [Google Scholar] [CrossRef]
- Aslam, M. A family of 5-point nonlinear ternary interpolating subdivision schemes with C2 smoothness. Math. Comput. Appl. 2018, 23, 18. [Google Scholar] [CrossRef]
- Beccari, C.; Casciola, G.; Romani, L. An interpolating 4-point C2 ternary non-stationary subdivision scheme with tension control. Comput. Aided Geom. Des. 2007, 24, 210–219. [Google Scholar] [CrossRef]
- Cai, Z. Convergence, error estimation and some properties of four-point interpolation subdivision scheme. Comput. Aided Geom. Des. 1995, 12, 459–468. [Google Scholar]
- Conti, C.; Jetter, K. Concerning order of convergence for subdivision. Numer. Algorithms 2004, 36, 345–363. [Google Scholar] [CrossRef]
- Huning, S.; Wallner, J. Convergence of subdivision schemes on Riemannian manifolds with nonpositive sectional curvature. Adv. Comput. Math. 2019, 45, 1689–1709. [Google Scholar] [CrossRef]
- Mustafa, G.; Chen, F.; Deng, J. Estimating error bounds for binary subdivision curves/surfaces. J. Comput. Appl. Math. 2006, 193, 596–613. [Google Scholar] [CrossRef][Green Version]
- Mustafa, G.; Deng, J. Estimating error bounds for ternary subdivision curve/surfaces. J. Comput. Math. 2007, 25, 473–484. [Google Scholar]
- Mustafa, G.; Hashmi, S.; Noshi, N.A. Estimating error bounds for tensor product binary subdivision volumetric model. Int. J. Comput. Math. 2006, 83, 879–903. [Google Scholar] [CrossRef]
- Mustafa, G.; Hashmi, S.; Faheem, K. Estimating error bounds for non-stationary binary subdivision curves/surfaces. J. Inf. Comput. Sci. 2007, 2, 179–190. [Google Scholar]
- Moncayo, M.; Amat, S. Error bounds for a class of subdivision schemes based on the two-scale refinement equation. J. Comput. Appl. Math. 2011, 236, 265–278. [Google Scholar] [CrossRef][Green Version]
- Deng, C.; Jin, W.; Li, Y.; Xu, H. A formula for estimating the deviation of a binary interpolatory subdivision curve from its polygon. Appl. Math. Comput. 2017, 304, 10–19. [Google Scholar] [CrossRef]
- Mustafa, G.; Hashmi, S. Subdivision depth computation for n-ary subdivision curves/surfaces. Vis. Comput. 2010, 26, 841–851. [Google Scholar] [CrossRef]
- Mustafa, G. Subdivision depth computation for tensor product ternary volumetric model. In Proceedings of the 2009 International Conference on Scientific Computing, CSC 2009, Las Vegas, NV, USA, 13–16 July 2009; pp. 151–158. [Google Scholar]
- Mustafa, G.; Hashmi, S.; Faheem, K. Subdivision depth for triangular surfaces. Alex. Eng. J. 2016, 55, 1647–1653. [Google Scholar] [CrossRef]
- Shahzad, A.; Faheem, K.; Ghaffar, A.; Mustafa, G.; Nisar, K.S.; Baleanu, D. A novel numerical algorithm to estimate the subdivision depth of binary subdivision schemes. Symmetry 2020, 12, 66. [Google Scholar] [CrossRef]
- Hassan, M.F.; Dodgson, N.A. Ternary and 3-Point Univariate Subdivision Scheme; Cohen, A., Marrien, J.L., Schumaker, L.L., Eds.; Curve and Surface fitting: Sant-Malo 2002; Nashboro Press: Brentwood, UK, 2003; pp. 199–208. [Google Scholar]
© 2020 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 (http://creativecommons.org/licenses/by/4.0/).