Next Article in Journal
Chaos on Fuzzy Dynamical Systems
Next Article in Special Issue
Weighted Quasi-Interpolant Spline Approximations of Planar Curvilinear Profiles in Digital Images
Previous Article in Journal
An Intelligent Metaheuristic Binary Pigeon Optimization-Based Feature Selection and Big Data Classification in a MapReduce Environment
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Reverse Non-Stationary Generalized B-Splines Subdivision Scheme

1
Laboratoire MISI, Faculty of Science and Technology, Hassan First University of Settat, Settat 26000, Morocco
2
Laboratoire De Génie Informatique, de Production et de Maintenance, Université Lorraine, 10628 Metz, France
*
Author to whom correspondence should be addressed.
Mathematics 2021, 9(20), 2628; https://doi.org/10.3390/math9202628
Submission received: 3 August 2021 / Revised: 5 September 2021 / Accepted: 9 September 2021 / Published: 18 October 2021
(This article belongs to the Special Issue Spline Functions and Applications)

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 { 1 , cos ( x ) , sin ( x ) } . 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 k 3 , 4 and gave their interesting properties, for more details see [5,33]. To do this, we need the following notations:
For a given positive integer > 0 , let h = b a 2 and ω R + i R + such that 0 < | w | h < π . Let,
τ = { t k = = t 0 , t 1 , , t 2 1 , t 2 = = t 2 + k } = { a , , a ( k + 1 ) equal knots , a + h , , a + ( 2 1 ) h ( 2 1 ) internal knots , b , , b ( k + 1 ) equal knots }
the uniform partition of I = [ a , b ] , with meshlength h and S k I , τ the space of generalized splines of order k defined by:
S k I , τ = s C k 2 ( [ a , b ] ) , s [ t i , t i + 1 ] Γ k
where Γ k = span { 1 , t k 3 , cos ( ω t ) , sin ( ω t ) } .
The dimension of S k I , τ is ( 2 + k 1 ) and the k-order generalized B-splines are given by:
  • For k = 3 :
    N 1 , 3 ( t ) : = cos ( ω ( t 1 x ) ) 1 cos ( h ω ) 1 , t [ t 0 , t 1 ] 0 , otherwise N 2 , 3 ( t ) : = 2 cos ( ω ( t 1 t ) ) + 2 cos ( h ω ) cos ( ω t ) + 1 2 cos ( h ω ) 2 , t [ t 0 , t 1 ] 1 2 csc 2 h ω 2 sin 2 ω ( t 1 t 2 ) , t [ t 1 , t 2 ] 0 , otherwise N 2 + 1 , 3 ( t ) : = cos ( ω ( t t m 2 ) 1 ) 2 ( cosh ( ω h ) 1 ) , t [ t 2 2 , t 2 1 ] cos ( ω ( t t ) ) 2 cos ( ω ( t t 2 1 ) ) + 2 cos ( h ω ) + 1 2 cos ( h ω ) 2 , t [ t 2 1 , t 2 ] 0 , otherwise N 2 + 2 , 3 ( t ) : = cos ( ω ( t t 2 1 ) ) 1 cos ( h ω ) 1 , t [ t 2 1 , t 2 ] 0 , otherwise
    and
    N i , 3 ( t ) : = N 3 t t i 2 , 3 i 2
    where
    N 3 ( t ) : = cos ( w ( t t 0 ) ) 1 2 ( cos ( h w ) 1 ) , t [ t 0 , t 1 ] cos ( w ( t 2 x ) ) cos ( w ( x t 1 ) ) + 2 cos ( h w ) 2 ( cos ( h w ) 1 ) , t [ t 1 , t 2 ] cos ( w ( t 3 t ) ) 1 2 ( cos ( h w ) 1 ) , t [ t 2 , t 3 ] 0 , otherwise
  • For k = 4 :
    N 1 , 4 ( t ) : = ω ( t t 1 ) + sin ( ω ( t 1 t ) ) sin ( h ω ) h ω , t [ t 0 , t 1 ] 0 , otherwise N 2 + 3 , 4 ( t ) : = sin ( ω ( t t 2 1 ) ) + ω ( t + t 2 1 ) sin ( h ω ) h ω , t [ t 2 1 , t 2 ] 0 , otherwise N 2 , 4 ( t ) : = sin ( ω ( t 1 t ) ) sin ( h ω ) + ω ( t t 0 ) h ω sin ( h ω ) + 2 sin ( ω ( t 1 t ) ) 2 ω ( t t 0 ) cos ( h ω ) + 2 sin ( h ω ) ω ( t t 0 ) + sin ( ω ( t t 0 ) ) 2 h ω cos ( h ω ) 2 sin ( h ω ) , t [ t 0 , t 1 ] ω ( t t 2 ) + sin ( ω ( t 2 t ) ) 2 h ω cos ( h ω ) 2 sin ( h ω ) , t [ t 1 , t 2 ] 0 , otherwise . N 2 + 2 , 4 ( t ) : = sin ( ω ( t t 2 2 ) + ω ( t 2 2 t ) 2 h ω cos ( h ω ) 2 sin ( h ω ) , t [ t 2 2 , t 2 1 ] ω ( ( t 2 1 t ) sin ( 2 h ω ) + h ( 2 sin ( ω ( t t 2 1 ) ) + sin ( ω ( t t 2 2 ) ) 2 ( sin ( h ω ) h ω w ) ( h ω cos ( h ω ) sin ( h ω ) ) ω ( t t 2 ) sin ( h ω ) ( sin ( ω ( t 2 t ) ) + ω ( t 2 2 t ) 2 ( sin ( h ω ) h ω w ) ( h ω cos ( h ω ) sin ( h ω ) ) , t [ t 2 1 , t 2 ] 0 , otherwise . N 3 , 4 ( t ) : = ω ( t t 0 ) sin ( ω ( t t 0 ) ) 2 h ω cos ( h ω ) 2 h ω + 2 sin ( ω ( t 1 t ) ) + 2 ω ( t t 0 ) cos ( h ω ) 2 sin ( h ω ) + ω ( t t 0 ) sin ( ω ( t t 0 ) ) 2 h ω cos ( h ω ) 2 sin ( h ω ) , t [ t 0 , t 1 ] 2 h ω 2 ( t 2 t ) cos 2 ( h ω ) ω ( t 2 t ) ( h ω + sin ( 2 h ω ) ) + h ω sin ( ω ( t 2 t ) ) + sin ( h ω ) ( sin ( ω ( t 1 t ) ) 2 h ω ( cos ( h ω ) 1 ) ( h ω cos ( h ω ) sin ( h ω ) ) + sin ( ω ( t 2 t ) ) + h ω ) h ω cos ( h ω ) ( sin ( ω ( t 1 t ) ) + 2 sin ( ω ( t 2 t ) ) + ω ( t t 1 ) ) 2 h ω ( cos ( h ω ) 1 ) ( h ω cos ( h ω ) sin ( h ω ) ) , t [ t 1 , t 2 ] sin ( ω ( t 3 t ) ) + ω ( t t 3 ) 2 h ω cos ( h ω ) 2 h w t [ t 2 , t 3 ] 0 , otherwise .
    N 2 + 1 , 4 ( t ) : = ω ( t t 2 3 ) + sin ( ω ( t 2 3 t ) ) 2 h ω ( cos ( h ω ) 1 ) , t [ t 2 3 , t 2 2 ] ω ( t t 2 2 ) + sin ( ω ( t 2 2 t ) ) 2 h ω cos ( h ω ) 2 sin ( h ω ) + sin ( h ω ) h ω 2 h ω cos ( h ω ) 2 h ω sin ( ω ( t t 2 1 ) ) + sin ( ω ( t t 2 2 ) ) + 2 ω ( t 2 2 t ) cos ( h ω ) + sin ( h ω ) 2 h ω ( cos ( h ω ) 1 ) , t [ t 2 2 , t 2 1 ] h ω 2 ( t 2 t ) cos ( 2 h ω ) h ω ( sin ( ω ( t 2 1 t ) ) + sin ( ω ( t t 2 1 ) ) sin ( ω ( t t 2 2 ) ) 2 h ω ( cos ( h ω ) 1 ) ( h ω cos ( h ω ) sin ( h ω ) ) + sin ( 2 h ω ) ) + sin ( h ω ) ( ω ( t t 2 2 ) + sin ( ω ( t 2 t ) ) ) 2 h ω ( cos ( h ω ) 1 ) ( h ω cos ( h ω ) sin ( h ω ) ) , t [ t 2 1 , t 2 ] 0 , otherwise .
    and
    N i , 4 ( t ) : = N 4 t t i 2 , 4 i 2
    where
    N 4 ( t ) = sin ( ω ( t t 0 ) ) ω ( t t 0 ) 2 h ω cos ( h ω ) 2 h ω , t [ t 0 , t 1 ] 2 sin ( ω ( t 1 t ) ) + sin ( ω ( t 2 t ) ) + 2 ω ( t t 1 ) cos ( h ω ) + ω ( t t 2 ) 2 h ω ( cos ( h ω ) 1 ) , t [ t 1 , t 2 ] sin ( ω ( t 2 t ) ) 2 sin ( ω ( t 3 t ) ) 2 ω ( t t 0 ) cos ( h ω ) + 2 h ω + 6 h ω cos ( h ω ) ω x 2 h ω ( cos ( h ω ) 1 ) , t [ t 2 , t 3 ] sin ( ω ( t 4 t ) ) + ω ( t t 4 ) 2 h ω cos ( h ω ) 2 h ω , t [ t 3 , t 4 ] 0 , otherwise
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: N i , k ( t ) = 0 for t [ t i , t i + k ] .
  • Positivity: N i , k ( t ) > 0 for t t i , t i + k [ .
  • Partition of unity: i = 1 2 + k 1 N i , k ( t ) = 1 , for all t [ a , b ] .
  • Linear independence: N 1 , k , , N 2 + k 1 , k 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 C 0 = c 2 0 , , c n 0 T be the vector of initial data and u 0 be a tension parameter satisfying u 0 > 0 . The generalized subdivision scheme of order k at level can be written in matrix form:
C + 1 = P k C , 0 .
where P k is the matrix of the generalized subdivision scheme of order k at level , its expression for k = 3 is   
P 3 = 1 0 0 0 0 0 0 1 1 + u u 1 + u 0 0 0 0 0 0 1 + 2 u 2 ( 1 + u ) 1 2 ( 1 + u ) 0 0 0 0 0 1 2 ( 1 + u ) 1 + 2 u 2 ( 1 + u ) 0 0 0 0 0 0 1 + 2 u 2 ( 1 + u ) 1 2 ( 1 + u ) 0 0 0 0 0 1 2 ( 1 + u ) 1 + 2 u 2 ( 1 + u ) 0 0 0 0 0 0 0 1 + 2 u 2 ( 1 + u ) 1 2 ( 1 + u ) 0 0 0 0 0 1 2 ( 1 + u ) 1 + 2 u 2 ( 1 + u ) 0 0 0 0 0 0 u 1 + u 1 1 + u 0 0 0 0 0 1 ,
and for k = 4 it is
P 4 = 1 0 0 0 0 0 0 0 1 1 + u u 1 + u 0 0 0 0 0 0 0 1 + 2 u 2 ( 1 + u ) 1 2 ( 1 + u ) 0 0 0 0 0 0 1 + 2 u 8 ( 1 + u ) 5 + 6 u 8 ( 1 + u ) 1 4 ( 1 + u ) 0 0 0 0 0 0 1 2 1 2 0 0 0 0 0 0 1 4 ( 1 + u ) 1 + 2 u 2 ( 1 + u ) 1 4 ( 1 + u ) 0 0 0 0 0 0 1 2 1 2 0 0 0 0 0 0 0 1 2 1 2 0 0 0 0 0 0 1 4 ( 1 + u ) 5 + 6 u 8 ( 1 + u ) 1 + 2 u 8 ( 1 + u ) 0 0 0 0 0 0 1 2 ( 1 + u ) 1 + 2 u 2 ( 1 + u ) 0 0 0 0 0 0 0 u 1 + u 1 1 + u 0 0 0 0 0 0 1 .
u is the tension parameter at level , it was updated from one level to another by the following expression:
u = 1 + u 1 2 , > 0
and as proved in [5] when + then u 1 .
Remark 1.
As described in [5]:
  • When 0 < u 0 < 1 the scheme (1) is called an Algebraic trigonometric scheme and it can generate a trigonometric limit curve like a circle…
  • When u 0 = 1 the scheme (1) is called a Polynomial scheme.
  • When 1 < u 0 the scheme (1) called a hyperbolic scheme and it can generate a hyperbolic limit curve like a helix.
Theorem 1.
The generalized subdivision scheme of order k generates C k 2 -continuous limit curves for any choice of the initial tension parameter u 0 .
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 u 0 = cos ( π / 4 ) , respectively, u 0 = cosh ( π / 4 ) . 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 u 0 = cosh ( π / 4 ) .

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 C from C + 1 . When we find this reverse scheme, we can apply it times to easily return to the first control polygon C 0 . 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,
c 2 + 1 = c 2 c 1 + 1 = 1 1 + u c 2 + u 1 + u c 1 c 2 i + 1 = 1 + 2 u 2 ( 1 + u ) c i 1 + 1 2 ( 1 + u ) c i , i = 0 , , 2 2 c 2 i + 1 + 1 = 1 2 ( 1 + u ) c i 1 + 1 + 2 u 2 ( 1 + u ) c i , i = 0 , , 2 2 c 2 + 1 2 + 1 = u 1 + u c 2 2 + 1 1 + u c 2 1 c 2 + 1 1 + 1 = c 2 1
The components of vector C are determined from the system (4), as follows:
c 2 = c 2 + 1 c 1 = 1 u c 2 + 1 + 1 + u u c 1 + 1 c 2 2 = 1 + u u c 2 + 1 2 + 1 1 u c 2 + 1 1 + 1 c 2 1 = c 2 + 1 1 + 1
and for i = 0 , , 2 1 2 we have
c i 1 = 1 + 2 u 2 u c 2 i + 1 1 2 u c 2 i + 1 + 1 c i = 1 2 u c 2 i + 1 + 1 + 2 u 2 u c 2 i + 1 + 1 .
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 i = 0 , , 2 1 3 ,
c i = 1 4 u c 2 i + 1 + 1 + 2 u 4 u c 2 i + 1 + 1 + 1 + 2 u 4 u c 2 i + 2 + 1 1 4 u c 2 i + 3 + 1 d i = 1 4 u c 2 i + 1 1 + 2 u 4 u c 2 i + 1 + 1 + 1 + 2 u 4 u c 2 i + 2 + 1 1 4 u c 2 i + 3 + 1
where d i is the detail values that can be used to reconstruct the data c + 1 . The vector that gathers these values denoted by D and is called the detail vector.
Moreover,
c 2 = c 2 + 1 d 2 = 0 c 1 = 1 2 u c 2 + 1 + 1 + u 2 u c 1 + 1 + 1 + 2 u 4 u c 0 + 1 1 4 u c 1 + 1 d 1 = 1 2 u c 2 + 1 1 + u 2 u c 1 + 1 + 1 + 2 u 4 u c 0 + 1 1 4 u c 1 + 1 c 2 2 = 1 4 u c 2 + 1 4 + 1 + 1 + 2 u 4 u c 2 + 1 3 + 1 + 1 + u 2 u c 2 + 1 2 + 1 1 2 u c 2 + 1 1 + 1 d 2 2 = 1 4 u c 2 + 1 4 + 1 + 1 + 2 u 4 u c 2 + 1 3 + 1 1 + u 2 u c 2 + 1 2 + 1 + 1 2 u c 2 + 1 1 + 1 c 2 1 = c 2 + 1 1 + 1 d 2 1 = 0 ,
Consequently, for i = 0 , , 2 3
c 2 + 1 = c 2 c 1 + 1 = 1 1 + u c 2 + u 1 + u ( c 1 d 1 ) c 2 i + 1 = 1 + 2 u 2 ( 1 + u ) c i 1 d i 1 + 1 2 ( 1 + u ) c i + d i c 2 i + 1 + 1 = 1 2 ( 1 + u ) c i 1 d i 1 + 1 + 2 u 2 ( 1 + u ) c i + d i c 2 + 1 2 + 1 = u 1 + u ( c 2 2 d 2 2 ) + 1 1 + u c 2 1 c 2 + 1 1 + 1 = c 2 1 .
Remark 2.
  • When u = 1 this reverse generalized scheme becomes the reverse of the Chaikin scheme proposed in [29].
  • In the reverse step from level + 1 to level ℓ, the tension parameter is updated as follows:
    u = 2 ( u + 1 ) 2 1 .

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 1.2 . 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 0.9 and 1.12 .
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 F be a set of fine points. The multi-resolution decomposition of F and given by:
C = A 3 F and D = B 3 F ,
where
  • C is a set of coarse points;
  • D is a set of detailed points;
  • A 3 and B 3 are the filters matrix of size 2 + 2 × 2 + 1 + 2 .
According to (6) it is easy to find that:
A 3 = 1 0 0 0 0 0 0 0 0 1 2 u 1 + u 2 u 1 + 2 u 4 u 1 4 u 0 0 0 0 0 0 0 1 4 u 1 + 2 u 2 u 1 + 2 u 2 u 1 4 u 0 0 0 0 0 1 4 u 1 + 2 u 2 u 1 + 2 u 2 u 1 4 u 0 0 0 0 1 4 u 1 + 2 u 4 u 1 + u 2 u 1 2 u 0 0 0 0 0 0 0 0 0 1 ,
B 3 = 0 0 0 0 0 0 0 0 0 1 2 u 1 + u 2 u 1 + 2 u 4 u 1 4 u 0 0 0 0 0 0 0 1 4 u 1 + 2 u 2 u 1 + 2 u 2 u 1 4 u 0 0 0 0 0 1 4 u 1 + 2 u 2 u 1 + 2 u 2 u 1 4 u 0 0 0 0 1 4 u 1 + 2 u 4 u 1 + u 2 u 1 2 u 0 0 0 0 0 0 0 0 0 0 ,
The reconstruction can be obtained by using the synthesis filters P 3 and Q 3 such that F = P 3 C + Q 3 D . From the Formula (8), the matrix Q 3 is defined as follow
Q 3 = 1 0 0 0 0 0 0 1 1 + u u 1 + u 0 0 0 0 0 1 + 2 u 2 ( 1 + u ) 1 2 ( 1 + u ) 0 0 0 0 0 1 2 ( 1 + u ) 1 + 2 u 2 ( 1 + u ) 0 0 0 0 0 0 1 + 2 u 2 ( 1 + u ) 1 2 ( 1 + u ) 0 0 0 0 0 1 2 ( 1 + u ) 1 + 2 u 2 ( 1 + u ) 0 0 0 0 0 0 0 1 + 2 u 2 ( 1 + u ) 1 2 ( 1 + u ) 0 0 0 0 0 1 2 ( 1 + u ) 1 + 2 u 2 ( 1 + u ) 0 0 0 0 0 0 u 1 + u 1 1 + u 0 0 0 0 0 1 ,
where dim Q 3 = 2 + 1 + 2 × 2 + 2 .
Consequently, using the matrix Q 3 , the generalized B-wavelets ψ i , 1 are given by:
ψ 2 , 1 = N 2 , 3 ϕ , ψ 1 , 1 = 1 1 + u N 2 , 3 ϕ u 1 + u N 1 , 3 ϕ + u 1 + u N 0 , 3 ϕ ,
ψ i , 1 = 1 2 ( 1 + u ) N 2 i , 3 ϕ N 2 i + 3 , 3 ϕ + 1 + 2 u 2 ( 1 + u ) N 2 i + 2 , 3 ϕ N 2 i + 1 , 3 ϕ , i = 0 , , 2 1 3 ,
ψ 2 1 2 , 1 = u 1 + u N 2 3 , 3 ϕ u 1 + u N 2 2 , 3 ϕ + 1 1 + u N 2 1 , 3 ϕ ψ 2 1 1 , 1 = N 2 1 , 3 ϕ .
In Figure 5, we give an example of the generalized B-wavelettes ψ i , 1 of order 3, for u 0 = 0.7 (Blue line), u 0 = 1 (Magenta line), u 0 = 1.32 (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 P 4 is not a square matrix then ( P 4 ) 1 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    
A ˜ 4 = 1 0 0 0 0 0 0 0 1 u 1 + u u 0 0 0 0 0 0 0 1 2 u 1 + u u 1 2 u 0 0 0 0 0 0 0 0 1 2 u 1 + u u 1 2 u 0 0 0 0 0 0 0 1 + u u 1 u 0 0 0 0 0 0 1 ,
Q ˜ 4 = 0 0 0 0 0 0 0 0 1 0 0 0 1 2 ( 1 + u ) 1 2 ( 1 + u ) 0 0 0 0 1 2 ( 1 + u ) 1 2 ( 1 + u ) 0 0 0 1 0 0 0 0 0 0 0 ,
B ˜ 4 = 1 + 2 u 4 u 1 + 2 u 2 u 1 + 8 u 8 u 1 2 u 1 8 u 0 0 0 0 0 1 4 u 1 + u u 1 + 2 u u 1 + u u 1 4 u 0 0 0 0 0 0 1 4 u 1 + u u 1 + 2 u u 1 + u u 1 4 u 0 0 0 0 0 1 8 u 1 2 u 1 + 8 u 8 u 1 + 2 u 2 u 1 + 2 u 4 u .
Secondly, as described in [32], these three matrices cannot allow us to return to the original mesh C , and the error denoted by Δ 4 between the original point C and what is given by application of these matrices denoted by C ˜ 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 Δ 4 can be calculated by determination of matrix L 4 such that Δ = L 4 D ˜ . The values of the matrix L 4 is
L 4 = 0 0 0 0 0 0 0 0 μ μ 0 0 0 μ μ 0 0 μ μ 0 0 0 μ μ 0 0 0 0 0 0
with μ = ( 1 + 2 u ) ( 1 + 6 u + 2 ( u ) 2 ) 2 ( 1 + u ) ( 3 + 8 u + 6 ( u ) 2 ) .
Remark 3.
  • The matrices A ˜ 4 , Q ˜ 4 , B ˜ 4 and L 4 above are calculated by using the same steps for calculating matrices A ˜ , Q ˜ , B ˜ and L in [32].
  • When u = 1 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 Δ 4 but this time as a function of P 4 . In fact, this method starts from a subdivision matrix P 4 . The concept is to use the given subdivision scheme P 4 to obtain the better A 4 that produces coarse points with minimal subdivision error. The coefficients of the weak resolution C are obtained by minimizing the distance between P 4 C and F . This leads to:
E ( C ) = P 4 C F 2 2 .
Thus,
E ( C ) = ( P 4 C F ) T ( P 4 C F ) = ( F ) T F 2 ( C ) T ( P 4 ) T F + ( C ) T ( P 4 ) T P 4 C .
The first derivative of Equation (10) is
E ( C ) = 2 ( P 4 ) T F + 2 ( P 4 ) T P 4 C
and the second derivative is
2 E ( C ) = 2 ( P 4 ) T P 4 .
As the 2nd derivative is symmetrically positive definite, the solution of Equation (9) is a local minimum. Thus, for E ( C ) = 0 , we obtain
( P 4 ) T P 4 C = ( P 4 ) T F ,
since C = A 4 F , solving normal Equation (11) for C provides
A 4 = ( P 4 ) T P 4 1 ( P 4 ) T ,
E ( C ˜ + Δ 4 ) = F P 4 ( C ˜ + Δ 4 ) 2 2 .
It yields with (11),
( P 4 ) T P 4 ( C ˜ + Δ 4 ) = ( P 4 ) T F .
Replacing F by P 4 C ˜ + Q ˜ 4 D ˜ and simplifying shows that equality (12) is equivalent to
( P 4 ) T P 4 Δ 4 = ( P 4 ) T Q ˜ 4 D ˜ .
Then Δ 4 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 0.9 where the one chosen for the head is 1.1 .
The Algorithm 1 summarizes the decomposition process of F .
Algorithm 1: Decomposition
Mathematics 09 02628 i001

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

  1. De Rham, G. Sur une courbe plane. J. Math. Pures Appl. 1956, 35, 25–42. [Google Scholar]
  2. 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]
  3. Daniel, S.; Shunmugaraj, P. An approximating C2 non-stationary subdivision scheme. Comput. Aided Geom. Des. 2009, 26, 810–821. [Google Scholar] [CrossRef]
  4. 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]
  5. 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]
  6. Dyn, N.; Levin, D. Subdivision schemes in geometric modelling. Acta Numer. 2002, 11, 73–144. [Google Scholar] [CrossRef]
  7. Salomon, D. Curves and Surfaces for Computer Graphics; Springer: New York, NY, USA, 2006. [Google Scholar]
  8. Warren, J.; Weimer, H. Subdivision Methods for Geometric Design—A Constructive Approach; Morgan-Kaufmann Publishers: San Francisco, CA, USA, 2002. [Google Scholar]
  9. Lipovetsky, E. Subdivision of point-normal pairs with application to smoothing feasible robot path. Vis. Comput. 2021. [Google Scholar] [CrossRef]
  10. Badoual, A.; Schmitter, D.; Uhlmann, V.; Unser, M. Multiresolution subdivision snakes. IEEE Trans. Image Process. 2016, 26, 1188–1201. [Google Scholar] [CrossRef] [Green Version]
  11. Conti, C.; Romani, L.; Unser, M. Ellipse-preserving Hermite interpolation and subdivision. J. Math. Anal. Appl. 2015, 426, 211–227. [Google Scholar] [CrossRef]
  12. 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] [Green Version]
  13. 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]
  14. 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]
  15. Bartels, R.; Samavati, F. Multiresolutions numerically from subdivisions. Comput. Graph. 2011, 35, 185–197. [Google Scholar] [CrossRef]
  16. 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]
  17. Charina, M.; Conti, C. Polynomial reproduction of multivariate scalar subdivision schemes. J. Comput. Appl. Math. 2013, 240, 51–61. [Google Scholar] [CrossRef]
  18. 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] [Green Version]
  19. 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]
  20. 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] [Green Version]
  21. 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]
  22. 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]
  23. Fakhar, R.; Lamnii, A.; Nour, M.-Y.; Zidina, A. Mixed hyperbolic/trigonometric non-stationary subdivision scheme. Math. Sci. 2021. [Google Scholar] [CrossRef]
  24. 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]
  25. 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]
  26. 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]
  27. 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]
  28. Sadeghi, J.; Samavati, F.F. Smooth reverse Loop and Catmull-Clark subdivision. Graph. Models 2011, 73, 202–217. [Google Scholar] [CrossRef]
  29. 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]
  30. 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]
  31. 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]
  32. 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]
  33. Xu, G.; Wang, G. AHT Bézier Curves and NUAHT B-Spline Curves. J. Comput. Sci. Technol. 2007, 22, 597–607. [Google Scholar] [CrossRef]
  34. 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]
  35. 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] [Green Version]
Figure 1. An example of analytic curves produced by application of a generalized subdivision scheme of order 3; (a) circle, (b) helix.
Figure 1. An example of analytic curves produced by application of a generalized subdivision scheme of order 3; (a) circle, (b) helix.
Mathematics 09 02628 g001
Figure 2. Tree steps of subdivision curves by application of a generalized subdivision scheme of order 3 (black) and 4 (red).
Figure 2. Tree steps of subdivision curves by application of a generalized subdivision scheme of order 3 (black) and 4 (red).
Mathematics 09 02628 g002
Figure 3. An open curve and their three levels of generalized B-spline reverse subdivision of order 3.
Figure 3. An open curve and their three levels of generalized B-spline reverse subdivision of order 3.
Mathematics 09 02628 g003
Figure 4. The generalized reverse scheme of order 3.
Figure 4. The generalized reverse scheme of order 3.
Mathematics 09 02628 g004
Figure 5. Graphs of Generalized B-spline wavelets for u 0 = 0.7 (Blue line), u 0 = 1 (Magenta line) and u 0 = 1.32 (Red line).
Figure 5. Graphs of Generalized B-spline wavelets for u 0 = 0.7 (Blue line), u 0 = 1 (Magenta line) and u 0 = 1.32 (Red line).
Mathematics 09 02628 g005
Figure 6. The generalized reverse scheme of order 4.
Figure 6. The generalized reverse scheme of order 4.
Mathematics 09 02628 g006
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Lamnii, A.; Nour, M.Y.; Zidna, A. A Reverse Non-Stationary Generalized B-Splines Subdivision Scheme. Mathematics 2021, 9, 2628. https://doi.org/10.3390/math9202628

AMA Style

Lamnii A, Nour MY, Zidna A. A Reverse Non-Stationary Generalized B-Splines Subdivision Scheme. Mathematics. 2021; 9(20):2628. https://doi.org/10.3390/math9202628

Chicago/Turabian Style

Lamnii, Abdellah, Mohamed Yassir Nour, and Ahmed Zidna. 2021. "A Reverse Non-Stationary Generalized B-Splines Subdivision Scheme" Mathematics 9, no. 20: 2628. https://doi.org/10.3390/math9202628

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