1.
Introduction
Subdivision schemes (SSs) are systematic algorithms for producing smooth and pleasant curves or surfaces from the set of initial control points or control array. They are easy to use, simple to investigate, and highly flexible. With these and other attractive mathematical properties of SSs, their popularity is increasing in applications, such as in computer graphics, signal and image processing, computer animation and commercial industry. Generally, SSs can be categorized as approximating and interpolating schemes. Approximating schemes generate more smooth curves and surfaces as compared to interpolating ones.
Lane and Riesenfeld [16] introduced an algorithm for creating uniform B-spline curve of order k (k∈N). The algorithm executes on the set of initial control points in two steps. In the first step, initial data is refined by simply doubling the initial control points. This step is followed by successive smoothing stages by taking their mid-point averaging. Due to its simple and efficient execution, the Lane-Riesenfeld algorithm (LRA) became a celebrated algorithm to generate smooth curves and surfaces. Many researchers proposed diverse variants of LRA to satisfy different requirements. For instance, Schaefer et al. [18] applied binary non-linear averaging operator instead of binary linear smoothing operator to get SSs for exponential functions. Hormann and Sabin [9] constructed a family of SSs with cubic precision having a construction similar to that of uniform B-spline schemes.
Cashman et al. [5] provided another generalization of LRA in which the same operator was used for both the refinement and the smoothing stage. Ashraf et al. [1] offered a local quintic interpolant variant of LRA to develop a family of SSs which reproduce quintic polynomials. Mustafa et al. [12] presented their generalization of LRA by using an interpolating SS [6] as a refine operator and an approximating SS [9] as smoothing operator. Romani [15] presented a variant of LRA in which a perturbed version of Chaikin's scheme was used in the refining stage and smoothing stages remained unchanged. Mustafa and Rabia [10] used quartic B-spline based SS as a refining operator and mid-point averaging as a smoothing operator. Shi et al. [17] presented a parameter-dependent variant of LRA.
Generally speaking, C2 continuity is enough in industrial design, but the design of precision instruments in manufacturing industry requires higher continuous curves and surfaces, which motivated us to present a shape-preserving variant of LRA. The new variant is used in the refining stage and as well as in the smoothing stage and generates a family of shape-preserving SSs with high continuity. Shape-preserving SSs have remarkable significance in geometric shape design. They are widely used in the design of curves to predict and obtain their shape as per the shape of initial control points. Although there are many shape-preserving properties, monotonicity and convexity preservation are two foremost shape-preserving properties. For further insight into shape-preserving SSs, one may refer to [2,3,4,8].
The proposed family of SSs preserves both monotonicity and convexity, where different family members are obtained by setting one parameter in the expression of the refinement rule. Every family member has different properties compared to the others and so, by choosing the parameter, one can pick the best-suited scheme according to the context of the application. This paper is organized as follows: In Section 2, a new variant of LRA with the refine stage and the smoothing stage composed of a shape-preserving scheme is proposed. In Section 3, the analysis of some basic properties of the proposed schemes is presented. The shape-preserving properties of the variant are given in Section 4. In Section 5, the limit stencil and the artifact analysis of the proposed schemes are presented. In Section 6, we discuss some numerical examples. Conclusions are drawn in Section 7.
2.
Construction of the new variant
LRA executes by first applying a refine stage RL on the set of initial control points Y = {yi}i∈Z and then by applying p smoothing stages QL. Thus a refinement stage T can be considered as T=QpR, where in refining stage RL every control point is doubled such that
and smoothing stage QL is based on mid-point averaging rule, i.e.,
Now we propose a new variant of LRA which is based on a shape-preserving SS. [14] suggested a relaxed four-point SS preserving both monotonicity and convexity of initial data. This scheme offers a refine operator Rs as
and smoothing operator Qs as
By applying a single time refine stage followed by p-time smoothing stages, we have a family of shape-preserving SSs, named as Sp-scheme. The symbol (Laurent polynomial) of the Sp-scheme is
where Q(z) is the symbol of smoothing stage Qs
and R(z) is the symbol of refine stage Rs
The parameter p enumerates the number of applied smoothing stages. It also classifies family members. The family member with smoothing stage p=0 is the primary four-point scheme [14]. Table 1 presents the mask (set of non-zero coefficients of the scheme) of first four family members by substituting p=0,1,2 and 3 in (2.5)–(2.7).
3.
Basic properties of the Sp-scheme
In this section, we present smoothness analysis, Hölder continuity analysis, and the support of the basic limit function of the Sp-scheme.
3.1. Smoothness analysis
Smoothness analysis is a fundamental question for subdivision schemes. Dyn and Levin [7] presented an effective method to verify convergence by using the symbol Sp(z). Later this method became known as Laurent polynomial method. We adopt the main idea of this classical approach and further analyze the smoothness of the Sp-scheme.
Theorem 3.1. The Sp-scheme has Cp+3 continuity for p=0,1,2,….
Proof. The symbol of the Sp-scheme can be written as
with
Let Sξp be the subdivision scheme corresponding to the symbol ξp(z), defining
where ξ[l]i denote the coefficients of the symbol ξ[l]p(z), and ξ[l]p(z)=ξp(z)ξp(z2)…ξp(z2l−1).
For p=0, we have
where
Let Sξ0 be the scheme corresponding to the symbol ξ0(z) and ‖S2ξ0‖∞=34<1. Since Sξ0 is contractive, so by Dyn and Levin ([7], Corollary 4.14), S0-scheme has C3 continuity.
Similarly for other values of p, we can easily have if the subdivision scheme Sξp is contractive, i.e. ‖Slξp‖∞=max{∑j∈Z|ξ[l]i−2lj|:0≤i<2l}<1, then Sp-scheme has Cp+3 continuity.
3.2. Hölder continuity analysis
Hölder continuity can be considered as extended continuity. There are upper and lower bounds on it. First, we discuss the upper bound on the Hölder continuity of the Sp-scheme which is based on the idea presented in Rioul [13] and Dyn and Levin [7].
Theorem 3.2. The upper bound on Hölder continuity of the Sp-scheme is
where p=0,1,2,…, and ζp is the joint spectral radius of the matrices Q0 and Q1 where these matrices can be obtained by using symbol of the Sp-scheme.
Proof. By (2.4), symbol of the Sp-scheme is given by
where Qp(z)=(−z−1+18−z16)p(−z−1+4−z) and p=0,1,2,…. Let q0,q1,…,qd be the non-zero coefficients of Qp(z). Also let Q0 and Q1 be the matrices of order d×d. The entries of these matrices are given by
Let ζp be the joint spectral radius of the matrices Q0 and Q1, then by Rioul [13] and Dyn and Levin [7] upper bound on Hölder continuity of the Sp-scheme is p+6−log2(ζp).
The following theorem estimates the lower bound on the Hölder continuity of the Sp-scheme.
Theorem 3.3. The lower bound on the Hölder continuity of the Sp-scheme is
where p=0,1,2,….
Proof. The symbol of the Sp-scheme is given by
where U(z)=(g(z))ph(z), g(z)=−z−1+18−z16 and h(z)=−z−1+4−z. So Hölder continuity of Sp-scheme is bounded from below by
Since g(z) and h(z) both are alternating symbols, so their product U(z) is also alternating and
where U⋄ and U⋄ are sum of even and odd coefficients of U(z) respectively. In matrix-vector notation they can be written as
thus we have
By eigenvalue decomposition, we have
which implies that
thus we have
Therefore, lower bound on the Hölder continuity of the Sp-scheme is
where p=0,1,2,….
Upper and lower bounds on the Hölder continuity of the Sp-scheme for different values of p can be easily calculated by using Theorem 3.2 and Theorem 3.3 respectively. Table 2 summarizes the continuity analysis of the Sp-scheme. It is clear from Table 2 that as we increase value of p, levels of smoothness and Hölder continuity of the Sp-scheme go up steadily with p.
3.3. Support of basic limit function
Proposition 3.4. Support width of basic limit function of the Sp-scheme is 3p+8.
Proof. The basic limit function of a convergent subdivision scheme Sp is defined as the limit function S∞pδ, where δ be the Kronecker delta sequence. Since the number of non-zero entries in the masks of smoothing stage Qs and refine stage Rs are four and nine respectively, therefore by [11] support widths of basic limit functions for Qs and Rs are three and eight respectively. Since the mask of Sp-scheme is obtained by applying refine stage Rs on the initial data followed by p-smoothing stages Qs. Hence the support width of the basic limit function for the Sp-scheme is 3p+8.
4.
Shape-preserving properties of the Sp-scheme
Schemes holding shape-preserving properties are very useful in curve designing. Monotonicity and convexity preserving properties are two of the most important shape-preserving properties. The shape-preserving variant of LRA generates a family of shape-preserving SSs. For this, we show that S1-scheme produces monotonic and convex curves under certain conditions imposed on the initial data. Considering p=1 in (2.5), the S1-scheme is as follows:
4.1. Monotonicity
Monotonicity preserving property of a SS means that if we choose initial data monotone then the limit curve generated by using this data should also be monotone. To show that the S1-scheme holds monotonicity preserving property we consider its first-order divided difference (DD), i. e., nki=yki+1−yki. So the first order DD of the S1-scheme is given by:
and
In the following theorem, we discuss the monotonicity preserving property of the S1-scheme.
Theorem 4.1. Let the initial control points {y0i}i∈Z be strictly monotone increasing such that
and rki=nki+1nki, Rk=max{rki,1rki}, ∀ k∈N0,i∈Z. Also, let λ be such that λ∈(−∞,233−√12741766)∪(1,357+√14671386). If 1λ≤R0≤λ, and {yki}i∈Z is defined by the scheme (4.1) then,
i. e., the scheme (4.1) generates strictly monotone increasing limit curves.
Proof. We establish the result by using induction method. As we know that the initial control points {y0i}i∈Z are strictly monotone increasing so it is obvious that (4.2) is true for k=0.
Now let us suppose that (4.2) is true for k≥1 and show that it is also true for k+1.
Consider
and
So, we have nk+1i>0, ∀ i∈Z, which implies nki>0, ∀ k∈N0,i∈Z. Now, we show that 1λ≤Rk+1≤λ ∀ k∈N0.
Let
we have
where
and
It follows from (4.3), the denominator D1 is 2048nk+12inki−1>0, and the numerator C1 fulfils
which implies rk+12i≤λ, ∀ i∈Z.
Since
we have
where
and
It follows from (4.4), the denominator D2 is 2048nk+12i+1nki−1>0, and the numerator C2 fulfils
Therefore rk+12i+1≤λ, ∀ i∈Z.
In the same way, we can have 1rk+12i≤λ and 1rk+12i+1≤λ. By induction, we have Rk≤λ, ∀ k∈N0. Considering Rk=max{rki,1rki}, which leads to Rk≥1λ, ∀ k∈N0. This completes the proof.
4.2. Convexity
Convexity preserving property of a SS means that if we choose initial data convex then the limit curve generated by using this data should also be convex. To show that the S1-scheme holds convexity preserving property we consider the second-order DD, i. e., hk+1i=22k+1(yk+1i−1−2yk+1i+yk+1i+1). So the second-order DD of the S1-scheme is given by:
and
In the following theorem, we discuss convexity preserving property of the S1-scheme.
Theorem 4.2. Let the initial control points {y0i}i∈Z be convex, i.e., h0i>0, and mki=hki+1hki, Mk=max{mki,1mki}, ∀ k∈N0,i∈Z. Also, let μ be such that μ∈(1,233). If 1μ≤M0≤μ, and {yki}i∈Z is given by the scheme (4.1) then,
i. e., the scheme (4.1) generates convex limit curves.
Proof. We establish the result by using induction method. As we know that the initial control points {y0i}i∈Z are convex so it is obvious that (4.5) is true for k=0.
Now let us suppose that (4.5) is true for k≥1 and show that it is also true for k+1.
Consider
and
So, we have hk+1i>0, ∀ i∈Z, which implies hki>0, ∀ k∈N0,i∈Z. Now, we show that 1μ≤Mk+1≤μ ∀ k∈N0.
Let
we have
where
and
It follows from (4.6), the denominator D3 is 512hk+12ihki−1>0, and the numerator C3 satisfies,
Thus mk+12i≤μ, ∀ i∈Z.
Since
we have
where
and
It follows from (4.7), the denominator D4 is 512hk+12i+1hki−1>0, and the numerator C4 satisfies,
Therefore mk+12i+1≤μ, ∀ i∈Z.
In the same way, we can have 1mk+12i≤μ and 1mk+12i+1≤μ. By induction, we have Mk≤μ, ∀ k∈N0. Considering Mk=max{mki,1mki}, which leads to Mk≥1μ, ∀ k∈N0. This completes the proof.
In the same way, we can show that rest of the members of the family also hold monotonicity preserving and convexity preserving properties.
5.
Limit stencil and artifact analysis of the Sp-scheme
In this section limit stencil and artifact analysis of the Sp-scheme are presented.
5.1. Limit stencil analysis
Limit stencil is used to achieve a control point on the limit curve in the form of initial control points. By using limit stencil, it is very convenient to obtain point on limit curve with comparatively less number of computation. We obtain limit stencil by using
and
where K is diagonal matrix of eigenvalues of subdivision matrix of the Sp-scheme and eigenvectors corresponding to the eigenvalues are given in the form of matrix L. By using (5.1), we calculate limit stencil of the Sp-scheme for different values of p, which are given in Table 3.
5.2. Artifact analysis
We consider different data patterns to evaluate the diverse behavior of the subdivision schemes by analyzing how do they respond to these data patterns. For example, we use monotone and convex data for the analysis of shape-preserving properties. Polynomial data led us to determine the degree of polynomial generation and reproduction. Cardinal data, where all the control points have zero value except one control point which has unit value, is used to determine support and shape of basis function. Similarly, when we extract data from a sinusoidal function, we observe how the curvature of the limit curve changes along its arc length. The ripples in the curvature plot are called artifacts of the scheme. Magnitude of artifact G can be calculated from the stencil of the scheme and is well explained in [19]. We can calculate G as follows: Let Np(z) be the Laurent polynomial of the limit stencil and Sp(z) be the Laurent polynomial of the mask of the Sp-scheme. Considering g be the highest power of z in the product Np(z)Sp(z) and let ^Np(z)=Np(z)Sp(z)z−g/2. We express ^Np(z) as polynomial ^Qp(δ) in δ=(1+z)/2√z. Then the artifact magnitude can be obtained by considering sin(πκ/2) for δ in that polynomial, where κ is the spatial frequency leading to
The artifact magnitude in the limit curve produced by the Sp-scheme for different values of p is shown in Figure 1. Here we observe that as we increase the value of parameter p the number of artifacts decreases. It also decreases with the increase in the number of initial control points.
6.
Numerical examples
In this section, we observe the performance of the proposed Sp-scheme when we apply it on a different set of control points. First of all, we discuss the performance of the S0-scheme. In Figures 2 and 3, we consider two different initial control polygons. These control polygons are represented by dotted lines. We have applied the S0-scheme on these initial polygons up to three subdivision levels. Both figures draw a comparison of the curves, which are obtained by the S0-scheme, with the initial polygon. Sub-figures 2(a) and 3(a) show the curves which are generated by applying the S0-scheme one time on these initial polygon. Sub-figures 2(b) and 3(b) show the curves which are generated by applying the S0-scheme two times on these initial polygons. Finally, we have the limit curves presented in Sub-figures 2(c) and 3(c), which are obtained by applying the S0-scheme three times on these initial polygons.
Now we discuss the performance of the S1-scheme. In Figures 4 and 5, we consider two different initial control polygons. These control polygons are represented by dotted lines. We have applied the S1-scheme on these initial polygons up to three subdivision levels. Both figures draw a comparison of the curves, which are obtained by the S1-scheme, with the initial polygon. Sub-figures 4(a) and 5(a) show the curves which are generated by applying the S1-scheme one time on these initial polygon. Sub-figures 4(b) and 5(b) show the curves which are generated by applying the S1-scheme two times on these initial polygons. Finally, we have the limit curves presented in Sub-figures 4(c) and 5(c), which are obtained by applying the S1-scheme three times on these initial polygons. Similarly, Figures 6 and 7 show performance of the S2-scheme when applied on different polygons.
7.
Conclusions
Subdivision is a primary tool to describe smooth curves and surfaces in the field of computer aided geometric design. There are different variants of LRA in literature and we have presented a new variant of LRA which is based on a shape-preserving SS. We have shown that this shape-preserving variant of LRA generates a family of shape-preserving subdivision schemes. An integer parameter (p) is involved in the symbol of the proposed family and by changing this parameter we can get different SSs as per our requirement. We have also presented limit stencil and artifact analysis of the proposed schemes. We have proved that by increasing the value of the parameter p, SSs with higher smoothness, higher Hölder continuity, and less artifact magnitude can be obtained. We have also provided several examples to illustrate that the proposed schemes give great flexibility to geometric designers for the generation of smooth geometric models. In conclusion, we have a family of SSs generating high continuity limit curves and satisfying shape-preserving properties as a remarkable addition to the zoo of existing SSs.
Conflict of interest
The authors declare that they have no competing interests.