Abstract

We present an explicit formula for the mask of odd points -ary, for any odd , interpolating subdivision schemes. This formula provides the mask of lower and higher arity schemes. The 3-point and 5-point -ary schemes introduced by Lian, 2008, and ()-point -ary schemes introduced by, Lian, 2009, are special cases of our explicit formula. Moreover, other well-known existing odd point -ary schemes including the schemes introduced by Zheng et al., 2009, can easily be generated by our formula. In addition, error bounds between subdivision curves and control polygons of schemes are computed. It has been noticed that error bounds decrease when the complexity of the scheme decreases and vice versa. Also, as we increase arity of the schemes the error bounds decrease. Furthermore, we present brief comparison of total absolute curvature of subdivision schemes having different arity with different complexity. Convexity preservation property of scheme is also presented.

1. Introduction

Subdivision is an algorithmic technique to generate smooth curves and surfaces as a sequence of successively refined control polygons. We can survey subdivision as a process of taking a coarse shape and refining it to produce another shape that is more visually nice looking and smooth. Subdivision schemes are performed such that we take initial control polygon and make some iterations on it to make another shape. The resulting shape is then fed back into the subdivision scheme again and again until we get a reasonable level of detail. Beauty of this iterative process lies in elegant mathematical formulation and simple implementation.

A general form of univariate -ary subdivision scheme which maps a polygon to a refined polygon is defined by where the set of coefficients is called mask of the subdivision scheme and , stands for binary, ternary, and so on.

Higher arity schemes are taking more attention now a days because of their useful and valuable properties. Higher arity schemes give a variety of different behaviors than lower arity schemes. It is noticed that higher arity schemes have higher smoothness and approximation order while their support is smaller compared to lower arity schemes. It is also observed that lower arity schemes have higher computational cost than higher arity schemes. Similarly increasing the number of points (complexity of the scheme) has also valuable upshots on smoothness of subdivision scheme.

There are many even-point -ary subdivision schemes [15] in the literature for any . Mustafa and Rehman [6] generalized and unified existing even-point -ary subdivision schemes for any .

There are also odd-point -ary interpolating subdivision schemes [3, 79] in the literature for any odd . So it is natural to look for a general formula which not only generalize and unify existing odd-point -ary subdivision schemes but also provide the mask of higher arity schemes in a simple and efficient way. In this paper, we introduce an explicit formula which generalizes and unifies all existing odd-point -ary interpolating subdivision schemes.

Subdivision scheme offers a well-defined and competent way to represent smooth curves but question arises: How well control polygon of subdivision scheme approximates the limiting curve? To answer this question error bounds of subdivision schemes are to be computed. In [10], Mustafa and Hashmi presented an algorithm to calculate error bounds of -ary subdivision schemes. By making use of this algorithm we present a brief comparison of the error bounds of some of our schemes. The result shows that as we increase arity of subdivision scheme the error bound decreases.

A very frequent criterion to assess the worth of a subdivision scheme is its shape preserving properties. Convexity preservation is one of such properties. It is considered to be a geometrical property of subdivision scheme. So keeping this in mind, we describe convexity preserving property of one of the schemes. Moreover, some other important properties of subdivision like total absolute curvature and measure of deviation from convexity are also analyzed. Curvature is a geometrical criteria which truly describe the shape of objects. A brief comparison of our proposed family of schemes with other existing schemes is given. Some geometrical examples to show visual performance of scheme are also given.

The paper is organized as follows: in Section 2, some preliminary concepts are given, which are useful in the next sections. In Section 3, mask of odd-point -ary scheme and some important results are given. In Section 4, comparison, application, error bounds, and total curvature of proposed family of schemes are presented. In Section 5, convexity preserving conditions of 5-point ternary scheme are derived. In the end of the paper, Section 6 which illustrates results and findings of the paper.

2. Preliminary Results

Here, we present some preliminary identities which play an important role in the construction of explicit formula for the mask of odd-points -ary interpolating schemes for any odd .

Let be the space of all polynomials of degree ⩽, where is a nonnegative integer. If is fundamental Lagrange polynomial corresponding to the nodes is defined by for which where is Kronecker delta, defined as follows: Then one can easily derive the following identities for each ,

3. Mask of -Point -Ary Interpolating Scheme

In this section, we first find the mask of -point ternary and quinary interpolating schemes then by induction, we formulate a general formula for the mask of -point -ary interpolating symmetric subdivision scheme.

Lemma 3.1. An explicit formula for the mask of -point ternary interpolating scheme is defined by where , , , , , and are defined by (2.5)–(2.7), respectively.

Proof. To find the mask of -point ternary interpolating scheme, we consider the problem of finding a mask reproducing polynomial of degree ⩽ that is
Now by evaluating polynomial at and then by using (2.2) and (2.3), we get where .
By splitting left hand sides of (3.4)-(3.5) and then by (2.2), we get Now, by substituting right hand sides of above equations into (3.4)-(3.5) and by (3.3), we get the general formula for the mask of -point ternary interpolating subdivision scheme where and (symmetric condition, for ), , , ,   are defined by (2.5)–(2.7).
By reformulating the above symmetric condition and (3.7), we obtain (3.1). This completes the proof.

Lemma 3.2. An explicit formula for the mask of -point quinary interpolating scheme is defined by where  , , , , , and are defined by (2.5), (2.6) and (2.8), respectively.

Proof. Following the procedure of Lemma 3.1, one can easily derive the following explicit formula for the mask of -point quinary interpolating subdivision scheme where and (symmetric condition, for ), , , , , , are defined by (2.5), (2.6) and (2.8), respectively.
By reformulating the above symmetric condition and (3.9), we get (3.8). This completes the proof

By Lemmas 3.1 and 3.2 with change of notations and by induction, we get the following theorem.

Theorem 3.3. If stands for -ary subdivision scheme for any odd , , ,   and , an explicit formula for the mask of -point -ary interpolating scheme is defined by where and the free parameter can be explicitly defined as

Remark 3.4. (i) It is to be noted that the scheme (3.10)–(3.12) has free parameters for -point -ary interpolating scheme. By introducing free parameters we offer more flexibility for curve designing.
(ii) It is also clear that the scheme (3.10)–(3.14) has no free parameters for -point -ary interpolating scheme.
(iii) We can see that the scheme generated by the mask (3.10)–(3.12) satisfies the polynomial reproducing property up to degree , because this property is the starting point of the construction of the mask as formulated in (3.2).

Remark 3.5. Following are some lower and higher arity schemes generated by (3.10)–(3.14) with and without free parameters.
(i) If then by (3.10)–(3.14), we get 3-point 13-ary interpolating scheme:
(ii) If then by (3.10)–(3.14), we get 3-point undenary (i.e., 11-ary) interpolating scheme:
(iii) If then by (3.10)–(3.14), we get 3-point nonary (i.e., 9-ary) interpolating scheme:
(iv) If then by (3.10)–(3.14), we get 3-point septenary (i.e., 7-ary) interpolating scheme:
(v) By setting and then by (3.10)–(3.14), we get the following mask of new 3-point quinary (i.e., 5-ary) interpolating scheme:
(vi) For , in (3.10)–(3.14), we get the following 5-point ternary (i.e., 3-ary) interpolating schemes with two parameters:
(vii) For , in (3.10)–(3.12), we get the following 3-point ternary (i.e., 3-ary) interpolating schemes with two parameters

Remark 3.6. Here, we see that existing schemes are either special cases of our scheme or can be generated by our explicit formula. (i) By setting in (3.10)–(3.14), we get mask of Lian ([9], Equation (22)) 3-point ternary interpolating scheme. (ii) If in (3.10)–(3.14), we get mask of Lian ([9], Equation (23)) 5-point ternary interpolating scheme. (iii) We can easily build mask of 3-point -ary interpolating scheme ([9], Equations (12)–(14)), by setting in (3.10)–(3.14). (iv) Similarly, we can generate mask of 5-point -ary interpolating scheme ([9], Equations (15) – (17)), by taking in (3.10)–(3.14). (v) If then by (3.10)–(3.14), we can build 7-point ternary scheme of ([3], Equations (42)–(44)). (vi) The -point -ary schemes ([3], Equations (11)-(12)) can easily be generated from our scheme listed in (3.10)–(3.14) by setting . (vii) By taking , and , in (3.20), we get mask of 5-point ternary interpolating scheme of Zheng et al. ([8], Equation (7)). (viii) If , and , in (3.21), we obtain mask of 3-point ternary interpolating scheme of Zheng et al. ([8], Equation (5)). Similarly one can easily derive the mask of -point ternary interpolating scheme of [8] from (3.10)–(3.12). (ix) In case , in (3.21), we get Hassan and Dodgson's 3-point ternary interpolating scheme [7].

4. Comparison, Applications, Error Bounds, and Total Absolute Curvature

In this section, first we present comparison of our proposed explicit formula with the existing explicit formula/algorithms for generating the masks of schemes. After that, we give visual performance among lower and higher arity schemes. Then we give a brief overview of error bounds of schemes. At the end, we give a comparison of total curvature of subdivision schemes for different arity with different complexity.

4.1. Comparison

Here is the comparison of our proposed explicit formula with the existing explicit formula/algorithms. (i) All the well-known odd-points -ary for any odd interpolating existing schemes are either special cases or can be easily generated by our proposed explicit formula while existing explicit formula/algorithms [3, 79] do not have this characteristic. (ii) Lian’s explicit formulae [3, 9] generate the masks of only nonparametric schemes while our proposed explicit formula generate the masks of parametric as well as nonparametric schemes.(iii) Zheng et al. [8] introduced an algorithm to generate only -point ternary interpolating subdivision schemes while we suggested explicit formula for any odd-points -ary interpolating schemes for any odd . (iv) Hassan and Dodgson [7] 3-point ternary interpolating scheme is special case of our proposed explicit formula for mask of the schemes.

4.2. Applications

In Figure 1, we give comparison among different arity schemes generated in this paper to show their performance. Refined polygons generated by different arity schemes after first subdivision level are shown and compared in this figure. This figure indicates that higher arity schemes converge to limit curve faster than lower arity schemes.

4.3. Error Bounds

Subdivision is considered to be a very important tool in geometric modeling and shape designing. This approach is included in the control polygon paradigm. There arises an important question in the application of this type of procedure. How to estimate the error (distance) between limit curve and its control polygon? To respond this question, here we present a collection of expressions, inequalities, and results described in [10].

Given a control polygon composed of a sequence of control points , , . An -ary subdivision curve (1.1) is re-defined by where and

The set of coefficients is called subdivision mask. Given initial values  , . Then in the limit , the process (4.1) defines an infinite set of points in . The sequence of control points is related, in a natural way, with the diadic mesh points , . The process then defines a scheme whereby and replace the values and at the mesh points and , respectively, while is inserted at the new mesh points for .

Given initial control polygon , , let the values , be defined recursively by subdivision process (4.1) together with (4.2). Suppose is the piecewise linear interpolant to the values and is the limit curve of the process (4.1). If then the error bound between limit curve and its control polygon after -fold subdivision is where where also where

Rest of the section is devoted to the computation of error bounds between limit curve and their control polygon after -fold subdivision of ()-point -ary interpolating scheme for different values of , , and  , by using (4.3) with .

Error bounds of proposed odd-point -ary subdivision scheme at different subdivision levels are shown in Figure 2. From this figure, we have the following conclusions: Error bounds decrease with the increase of subdivision levels. Error bounds are directly proportional to the number of points involved (complexity of the scheme) to insert a point at next subdivision level. It is also observed that error bounds decrease with the increase of arity of the schemes.

4.4. Total Absolute Curvature

Here is the brief comparison of total absolute curvature (TAC) of interpolating subdivision schemes of different arity and complexity of the scheme. TAC of 3-point, 5-point, and 7-point interpolating scheme is computed by keeping arity 3. Also TAC is calculated for 3-point, 5-point, and 7-point interpolating scheme by keeping arity 5. Figure 3 shows graphical representation of TAC of subdivision schemes. Same initial polygon is taken for all subdivision schemes to compute TAC. From Figure 3, it is clear that as we increase the arity TAC is also increased and as we increase the complexity of the scheme TAC is decreased. Figure 4 presents comparison of TAC among different values of parameter of 3-point ternary interpolating scheme (3.21), here we set and range of is . From Figure 4, it is clear that as we increase value of parameter from left to right in the parametric interval , TAC of 3-point ternary interpolating scheme (3.21) is decreased.

The total curvature and total absolute curvature are same for a closed convex polygonal curve and both are equal to . Hence for a nonconvex curve the measure of deviation (referred as ) from the convex curve can be calculated by subtracting TAC of nonconvex curve from TAC of convex curve that is . In Table 1, we have calculated measure of deviation of convexity of 3-point and 5-point ternary interpolating scheme at different subdivision level. Figure 5 presents graphical representation of measure of deviation of 3-point and 5-point ternary interpolating scheme.

5. Convexity Preservation of Subdivision Scheme

In this section, we discuss condition which guarantee convexity preservation of interpolating scheme. Here we derive conditions for convexity preservation of 5-point ternary interpolating scheme (3.20). Convexity of other schemes can be discussed analogously. We adopt the same procedure as described by [11].

5.1. Convexity Preservation of 5-Point Ternary Scheme

Let us suppose that the initial control points are strictly convex, that is,   (by [12]). For and , the scheme (3.20) for second-order divided differences is given by For simplicity, we put , , in above three equations, we get

The conditions which guarantee the convexity preservation are as follows.

Theorem 5.1. Denote , and let If the initial control points are all strictly convex, and then the 5-point ternary scheme (3.20), for   and preserves convexity.

Proof. For convexity preservation it is sufficient to show that and . We will use mathematical induction to prove and . As we know that for , and by (5.6). Let us suppose that and . Now we will prove it for . To show , we have to show that , and .
From (5.3), we have that This implies for From (5.3), we have that This implies for Similarly from (5.4), for we have that By combining (5.8), (5.10), and (5.11), we have .
Now we prove .
For , we get Now Since both the numerator and denominator of above expression are positive for , therefore This implies that for For , we get Now Since both the numerator and denominator of above expression are positive for , therefore This implies that for Similarly by taking and by using (5.3)–(5.6), we can easily show that for Through the same channel for , we have Similarly for and by using (5.2), (5.4)–(5.6) for Through the similar channel for , we have By combining (5.15)–(5.23), we have , . Thus . Since both conditions are satisfied so we concluded that 5-point ternary interpolating scheme (3.20) preserves convexity for and .

Finally, we give an example to illustrate our result. Figure 6 shows the result after two iteration with . In this figure, the initial control polygon is convex and represented by dotted line and limit curve after two times iterations is represented by solid line and is also convex.

6. Conclusion

In this paper, we offered an explicit general formula to generate the mask of odd-points -ary interpolating symmetric schemes for any odd . From this formula one can easily generate the mask of odd-points, lower and higher arity interpolating schemes with and without free parameters. Moreover, odd-point -ary schemes of Hassan and Dodgson [7], Zheng et al. [8], Lian [3, 9] are special cases of our proposed explicit formula. Moreover, we have concluded that error bounds between limit curve and control polygon of subdivision scheme at -th level decreases with the increase of arity of the scheme. We also noticed that error bound is directly proportional to the number of points involved to insert new point in the control polygon (i.e., complexity of the scheme). We also calculated total absolute curvature for subdivision schemes having different arity and different complexity. We have concluded that total absolute curvature is directly proportional to arity and inversely proportional to complexity of the scheme. Convexity preservation is an important geometrical property of subdivision scheme. Therefore we discussed the convexity of some of our scheme. Convexity of other schemes can be discussed analogously.

Acknowledgments

The authors are grateful to the anonymous referees for their valuable suggestions and constructive comments on this paper. First author was supported by Pakistan Program for Collaborative Research-foreign visit of local faculty member, Higher Education Commission (HEC) Pakistan; second author was supported by NSF of China (no. 61073108); third author was supported by Indigenous Ph.D. Scholarship Scheme of HEC Pakistan. Partial work of this paper, was done when the first author visited University of Science and Technology of China, Hefei Anhui, China, during the month of August 2010.