• No results found

Subdivision Matrices and Iterated Function Systems for Parametric Interval Bezier Curves

N/A
N/A
Protected

Academic year: 2020

Share "Subdivision Matrices and Iterated Function Systems for Parametric Interval Bezier Curves"

Copied!
6
0
0

Loading.... (view fulltext now)

Full text

(1)

170602-9494-IJVIPNS-IJENS ยฉ April 2017 IJENS

Subdivision Matrices and Iterated Function

Systems for Parametric Interval Bezier Curves

O. Ismail, Senior Member, IEEE

Abstractโ€” Fractals are famous both for their strange appearance and for their odd geometric properties. The problem of modeling is very simple when one has mathematical description of the fractal he wants to model. A set of transformations that generates a fractal by iteration is called an iterated function systems (IFS). An iterated function system maps the corresponding fractal onto itself as a collection of smaller self-similar copies. Fractals are often de๏ฌned as ๏ฌxed points of iterated function systems because when applied to the fractal the transformations that generate a fractal do not alter the fractal. In this paper we are going to show that the parametric interval Bezier curves are indeed fractals if the four fixed Kharitonov's polynomials (four fixed Bezier curves) associated with the original interval Bezier curves are fractals. The four fixed Kharitonov's polynomials (four fixed Bezier curves) associated with the original parametric interval Bezier curve are obtained. Iterated function systems (IFS) for the four fixed Kharitonov's polynomials (four fixed Bezier curves) are constructed so that starting with any compact set, not just the four fixed Kharitonov's polynomials (four fixed Bezier curves) control polygons, and iterating the transformations, the resulting sets converge in the limit to the given four fixed Kharitonov's polynomials (four fixed Bezier curves) curves. The transformation matrices in the iterated function systems are constructed to mimic the subdivision procedure, so there is indeed a deep connection between subdivision algorithms and fractal procedures. The fixed control points that subdivide the four fixed Kharitonov's polynomials (four fixed Bezier curves) curves into two four fixed Kharitonov's polynomials (four fixed Bezier curves) curves are af๏ฌne combinations of the original four fixed Kharitonov's polynomials (four fixed Bezier curves) control points. Thus we can represent the four fixed Kharitonov's polynomials (four fixed Bezier curves) subdivision by two square matrices whose entries are the coef๏ฌcients in these af๏ฌne combinations. A numerical example is included in order to demonstrate the effectiveness of the proposed method.

Index Termsโ€” Subdivision matrices, iterated function systems, interval Bezier curve, CAGD.

I. INTRODUCTION

Parametric representations are widely used since they allow considerable flexibility for shaping and design. In computer aided design and geometric modeling, there are considerable interests in approximating curves and surfaces with simpler forms of curves and surfaces. Parametric Bezier curves are interactive. It is possible to control the shape of the Bezier curve by moving the control points and by smoothly connecting individual segments.

The Bezier curve possesses a characteristic intuitiveness in expressing the desired shape through property of convexity of control polygon. Interestingly during the same time, de Casteljau too adopted Bernstein Basis for his work which was

The author is with Department of Computer Engineering, Faculty of Electrical and Electronic Engineering, University of Aleppo, Aleppo, (e-mail:[email protected]).

focused on the property of non-negativity and partition of unity of the basis function associated with the control points. Subdivision of the Bezier curve is required to break the curve into number of small segments for various applications like curve fitting, segmentation, interpolation, and so. Besides some key Bernstein basis properties that constraints the behavior of Bezier curve like symmetry, recursion, non-negativity, unity of partition, unimodality, relation to monomial basis, lower and upper bounds, variation diminishing property, derivatives and integrals there are some algorithms based properties like degree elevation, degree reduction and composition that have consistently been evaluated and analyzed over a period of decades in order to broaden its applications.

There are several kinds of polynomial curves in CAGD, e.g., Bezier [1], [2], [3], [4] Said-Ball [5], Wang-Ball [6], [7], [8], B-spline curves [9] and DP curves [10], [11]. These curves have some common and different properties. All of them are defined in terms of the sum of product of their blending functions and control points. They are just different in their own basis polynomials. In order to compare these curves, we need to consider these properties. The common properties of these curves are control points, weights, and their number of degrees. Control points are the points that affect to the shape of the curve. Weights can be treated as the indicators to control how much each control point influences to the curve. Number of degree determines the maximum degree of polynomials. In different curves, these properties are not computed by the same method. To compare different kinds of curves we need to convert these curves into an intermediate form.

A parametric interval Bezier curve [12-18] is a Bezier curve whose control points are rectangles (the sides of which are parallel to coordinate axis) in a plane.

The control points that subdivide a Bezier curve into two Bezier curves are af๏ฌne combinations of the original Bezier control points. Thus we can represent Bezier subdivision by two square matrices whose entries are the coef๏ฌcients in these af๏ฌne combinations.

(2)

170602-9494-IJVIPNS-IJENS ยฉ April 2017 IJENS used in image coding. Fractals are attractors-fixed points of

iterated function systems (๐ผ๐น๐‘†) [19], [20], [21]. The fractal methods became very important tools in many disciplines and found very wide practical applications e.g., image compression, generating shore lines, mountains, clouds, pattern recognition, image processing, computer graphics or in medicine and economy. In computer graphics, there is a need for succinct description of a complex objectโ€™s geometry and an efficient way to vary the geometry of an object to make movies.

In this paper it has been shown that if the four fixed Kharitonov's polynomials (four fixed Bezier curves) associated with the original parametric interval Bezier curve are fractals; then the given parametric interval Bezier curve is fractal.

This paper is organized as follows. Section II contains the basic results, whereas section III shows a numerical example, and the final section offers conclusions.

II.THEBASICRESULTS

Parametric interval Bezier curves are segments of parametric interval polynomial curves. Each piece of a parametric interval polynomial curve is just like any other piece of a parametric interval polynomial curve, so each segment of a parametric interval Bezier curve is itself a parametric interval Bezier curve. Thus, parametric interval Bezier curves are self-similar. Therefore, even though the parametric interval Bezier curves are infinitely differentiable, the interval Bezier curves are also fractal interval curves.

Let {[๐‘๐‘–โˆ’, ๐‘

๐‘–+]}๐‘–=0๐‘› be a given set of interval control points which defines the interval Bezier curve:

๐‘ƒ๐‘›๐ผ(๐‘ข) = โˆ‘[๐‘๐‘–โˆ’, ๐‘๐‘–+] ๐‘›

๐‘–=0

๐ต๐‘–๐‘›(๐‘ข)

= โˆ‘([๐‘ฅ๐‘–โˆ’, ๐‘ฅ๐‘–+], [๐‘ฆ๐‘–โˆ’, ๐‘ฆ๐‘–+]) ๐‘›

๐‘–=0

๐ต๐‘–๐‘›(๐‘ข)

0 โ‰ค ๐‘ข โ‰ค 1

(1) of degree ๐‘› where {๐ต๐‘˜๐‘›(๐‘ข)}๐‘˜=0๐‘› are Bernstein polynomials formed by:

๐ต๐‘˜๐‘—(๐‘ข) = (๐‘—

๐‘˜) (1 โˆ’ ๐‘ข)(๐‘—โˆ’๐‘˜)๐‘ข๐‘˜ , (๐‘˜ = 0, 1, โ‹ฏ , ๐‘—) (2)

and

(๐‘— ๐‘˜) =

๐‘—! ๐‘˜! (๐‘— โˆ’ ๐‘˜)!

is a binomial coefficient.

The sufficient condition for the given parametric interval Bezier curves to be fractals is that the four fixed Kharitonov's polynomials (four fixed Bezier curves) associated with the parametric interval Bezier curve should be fractals. Now the interval Bezier curve ๐‘ƒ๐‘›๐ผ(๐‘ข) for ๐‘ข โˆˆ [0,1] is fractal, if the four fixed Kharitonov's polynomials (four fixed Bezier curves) ๐‘ƒ๐‘›๐‘—(๐‘ข) for ๐‘ข โˆˆ [0,1] and ๐‘— = 1,2,3,4 are fractals. The four

fixed Kharitonov's polynomials (four fixed Bezier curves) [22] associated with the original parametric interval Bezier curve are:

๐‘ƒ๐‘›1(๐‘ข) = ๐‘0โˆ’๐ต0๐‘›(๐‘ข) + ๐‘1โˆ’๐ต1๐‘›(๐‘ข) + ๐‘2+๐ต2๐‘›(๐‘ข) + ๐‘3+๐ต3๐‘›(๐‘ข) + ๐‘4โˆ’๐ต4๐‘›(๐‘ข) + ๐‘5โˆ’๐ต5๐‘›(๐‘ข) + โ‹ฏ

โ‰ก ๐›ผ0,๐‘›1 ๐ต0๐‘›(๐‘ข) + ๐›ผ1,๐‘›1 ๐ต1๐‘›(๐‘ข) + ๐›ผ2,๐‘›1 ๐ต2๐‘›(๐‘ข) + โ‹ฏ + ๐›ผ๐‘›,๐‘›1 ๐ต๐‘›๐‘›(๐‘ข)

๐‘ƒ๐‘›2(๐‘ข) = ๐‘0โˆ’๐ต0๐‘›(๐‘ข) + ๐‘1+๐ต1๐‘›(๐‘ข) + ๐‘2+๐ต2๐‘›(๐‘ข) + ๐‘3โˆ’๐ต3๐‘›(๐‘ข) + ๐‘4โˆ’๐ต4๐‘›(๐‘ข) + ๐‘5+๐ต5๐‘›(๐‘ข) + โ‹ฏ

โ‰ก ๐›ผ0,๐‘›2 ๐ต0๐‘›(๐‘ข) + ๐›ผ1,๐‘›2 ๐ต1๐‘›(๐‘ข) + ๐›ผ2,๐‘›2 ๐ต2๐‘›(๐‘ข) + โ‹ฏ + ๐›ผ๐‘›,๐‘›2 ๐ต๐‘›๐‘›(๐‘ข)

๐‘ƒ๐‘›3(๐‘ข) = ๐‘0+๐ต0๐‘›(๐‘ข) + ๐‘1+๐ต1๐‘›(๐‘ข) + ๐‘2โˆ’๐ต2๐‘›(๐‘ข) + ๐‘3โˆ’๐ต3๐‘›(๐‘ข) + ๐‘4+๐ต4๐‘›(๐‘ข) + ๐‘5+๐ต5๐‘›(๐‘ข) + โ‹ฏ

โ‰ก ๐›ผ0,๐‘›3 ๐ต0๐‘›(๐‘ข) + ๐›ผ1,๐‘›3 ๐ต1๐‘›(๐‘ข) + ๐›ผ2,๐‘›3 ๐ต2๐‘›(๐‘ข) + โ‹ฏ + ๐›ผ๐‘›,๐‘›3 ๐ต๐‘›๐‘›(๐‘ข)

๐‘ƒ๐‘›4(๐‘ข) = ๐‘0+๐ต0๐‘›(๐‘ข) + ๐‘1โˆ’๐ต1๐‘›(๐‘ข) + ๐‘2โˆ’๐ต2๐‘›(๐‘ข) + ๐‘3+๐ต3๐‘›(๐‘ข) + ๐‘4+๐ต4๐‘›(๐‘ข) + ๐‘5โˆ’๐ต5๐‘›(๐‘ข) + โ‹ฏ

โ‰ก ๐›ผ0,๐‘›4 ๐ต0๐‘›(๐‘ข) + ๐›ผ1,๐‘›4 ๐ต1๐‘›(๐‘ข) + ๐›ผ2,๐‘›4 ๐ต2๐‘›(๐‘ข) + โ‹ฏ + ๐›ผ๐‘›,๐‘›4 ๐ต๐‘›๐‘›(๐‘ข) (3) The four fixed Kharitonov's polynomials (four fixed Bezier curves) can be written as follows:

๐‘ƒ๐‘›๐‘—(๐‘ข) = โˆ‘ ๐›ผ๐‘–,๐‘›๐‘— ๐‘›

๐‘–=0

๐ต๐‘–๐‘›(๐‘ข)

(4)๐‘“๐‘œ๐‘Ÿ ๐‘Ž๐‘™๐‘™ ๐‘ข โˆˆ [0,1] ๐‘Ž๐‘›๐‘‘ (๐‘— = 1,2,3,4)

The de Casteljau evaluation algorithm for the four fixed Kharitonov's polynomials (four fixed Bezier curves) is also a subdivision procedure, if we run the de Casteljau evaluation algorithm at the midpoint of the parameter interval [๐‘Ž, ๐‘], then the fixed control points of the four fixed Kharitonov's polynomials (four fixed Bezier curves) that subdivide the four fixed Kharitonov's polynomials (four fixed Bezier curves) at ๐‘ข = (๐‘Ž + ๐‘) 2โ„ emerge along the left and right lateral edges of the de Casteljau triangle as shown below in Figure 1 . Moreover, the labels along each edge in this triangle are 1 2โ„ , independent of the choice of the parameter interval. Our initial goal is to develop explicit expressions for the fixed control points ๐‘ž0๐‘—, ๐‘ž1๐‘—, โ‹ฏ , ๐‘ž๐‘›๐‘— and ๐‘Ÿ0๐‘—, ๐‘Ÿ1๐‘—, โ‹ฏ , ๐‘Ÿ๐‘›๐‘— of the four fixed Kharitonov's polynomials (four fixed Bezier curves) that subdivide the four fixed Kharitonov's polynomials (four fixed Bezier curves) of degree ๐‘› in terms of the original control points ๐›ผ0๐‘—, ๐›ผ1๐‘—, โ‹ฏ , ๐›ผ๐‘›๐‘— of the four fixed Kharitonov's polynomials (four fixed Bezier curves). Such formulas are easy to ๏ฌnd.

j j q0๏€ฝ๏ก0

2

1 12

j q1

2 1 2 1

j q2

j j

r q3๏€ฝ 0

2 1

2

1

๏€ช

2 1

j r1

j r2

2 1

2 1

2 1

j j

r3 3๏€ฝ ๏ก

j 2 ๏ก

j 1 ๏ก

Fig. 1: The de Casteljau subdivision algorithm for the four fixed Kharitonov's polynomials (four fixed Bezier curves) for j=1,2,3,4.

2

1 12

(3)

170602-9494-IJVIPNS-IJENS ยฉ April 2017 IJENS {

๐‘ž๐‘™๐‘—= 1

2๐‘™โˆ‘ ๐‘(๐‘™, ๐‘š)๐›ผ๐‘š๐‘— ๐‘™

๐‘š=0

๐‘Ÿ๐‘›โˆ’๐‘™๐‘— = 1

2๐‘™ โˆ‘ ๐‘(๐‘™, ๐‘š)๐›ผ๐‘›โˆ’๐‘š๐‘— ๐‘™

๐‘š=0 }

(๐‘— = 1,2,3,4)

(5)

where ๐‘(๐‘™, ๐‘š) is the number of paths from ๐›ผ๐‘š๐‘— to ๐‘ž๐‘™๐‘— or equivalently from ๐›ผ๐‘›โˆ’๐‘š๐‘— to ๐‘Ÿ๐‘›โˆ’๐‘™๐‘— . But the number of paths from the ๐‘š๐‘กโ„Ž position at the base to the apex of a triangle is the same as the number of paths from the apex to the ๐‘š๐‘กโ„Ž position at the base of a triangle. The number of paths from the apex to any node in a triangle is given by the values in the nodes of Pascalโ€™s triangle that is, by binomial coef๏ฌcients.

Therefore, ๐‘(๐‘™, ๐‘š) = ( ๐‘™๐‘š), so

{ ๐‘ž๐‘™๐‘—= 1

2๐‘™โˆ‘ ( ๐‘™๐‘š) ๐›ผ๐‘š๐‘— ๐‘™

๐‘š=0

, ๐‘™ = 0,1, โ‹ฏ , ๐‘›

๐‘Ÿ๐‘›โˆ’๐‘™๐‘— = 1

2๐‘™โˆ‘ ( ๐‘™๐‘š) ๐›ผ๐‘›โˆ’๐‘š๐‘— ๐‘™

๐‘š=0

, ๐‘™ = 0,1, โ‹ฏ , ๐‘› }

(๐‘— = 1,2,3,4)

(6)

Using Equation (6), we can represent the fixed points ๐‘ž0๐‘—, ๐‘ž1๐‘—, โ‹ฏ , ๐‘ž๐‘›๐‘— and ๐‘Ÿ0๐‘—, ๐‘Ÿ1๐‘—, โ‹ฏ , ๐‘Ÿ๐‘›๐‘— that subdivide the four fixed Kharitonov's polynomials (four fixed Bezier curves) using matrix multiplication. Let ๐ป(๐‘›) be the (2๐‘› + 1) ร— (๐‘› + 1) matrix de๏ฌned by:

๐ป(๐‘›) =

[

1 0 โ‹ฏ โ‹ฏ 0

1 2

1

2 โ‹ฏ โ‹ฏ 0

โ‹ฎ โ‹ฎ โ‹ฎ โ‹ฎ

โ‹ฎ โ‹ฎ โ‹ฎ โ‹ฎ

1 2๐‘›

๐‘› 2๐‘› โ‹ฏ โ‹ฏ

1 2๐‘›

0 1

2๐‘› โ‹ฏ โ‹ฏ 1 2๐‘›

โ‹ฎ โ‹ฎ โ‹ฏ โ‹ฏ โ‹ฎ

โ‹ฎ โ‹ฎ โ‹ฏ โ‹ฏ โ‹ฎ

0 0 โ‹ฏ โ‹ฏ 1 ]

(๐‘— = 1,2,3,4)

(7)

Then, using equation (6), we can write:

๐ป(๐‘›) โˆ™

[ ๐›ผ0๐‘—

๐›ผ1๐‘— โ‹ฎ โ‹ฎ ๐›ผ๐‘›๐‘—]

=

[ ๐‘ž0๐‘—

๐‘ž1๐‘— โ‹ฎ โ‹ฎ ๐‘ž๐‘›๐‘— = ๐‘Ÿ0๐‘—

๐‘Ÿ1๐‘— โ‹ฎ โ‹ฎ ๐‘Ÿ๐‘›๐‘— ]

(๐‘— = 1,2,3,4)

(8)

We can split ๐ป(๐‘›) into two square (๐‘› + 1) ร— (๐‘› + 1) matrices ๐ฟ(๐‘›) and ๐‘…(๐‘›), where ๐ฟ(๐‘›) consists of the ๏ฌrst (๐‘› + 1) rows and ๐‘…(๐‘›) the last (๐‘› + 1) rows of ๐ป(๐‘›). Thus,

๐ฟ(๐‘›) =

[

1 0 โ‹ฏ โ‹ฏ 0

1 2

1

2 โ‹ฏ โ‹ฏ 0

โ‹ฎ โ‹ฎ โ‹ฏ โ‹ฏ โ‹ฎ

โ‹ฎ โ‹ฎ โ‹ฏ โ‹ฏ โ‹ฎ

1 2๐‘›

๐‘› 2๐‘› โ‹ฏ โ‹ฏ

1 2๐‘›]

=( ๐‘™๐‘š) 2๐‘™

(๐‘™, ๐‘š = 0,1, โ‹ฏ , ๐‘›) (๐‘— = 1,2,3,4)

(9)

and

๐‘…(๐‘›) =

[ 1 2๐‘›

๐‘›

2๐‘› โ‹ฏ โ‹ฏ

1 2๐‘›

0 1

2๐‘›โˆ’1 โ‹ฏ โ‹ฏ 1 2๐‘›โˆ’1

โ‹ฎ โ‹ฎ โ‹ฏ โ‹ฏ โ‹ฎ

โ‹ฎ โ‹ฎ โ‹ฏ โ‹ฏ โ‹ฎ

0 0 โ‹ฏ โ‹ฏ 1 ]

=( ๐‘› โˆ’ ๐‘™๐‘› โˆ’ ๐‘š) 2๐‘›โˆ’๐‘™

(๐‘™, ๐‘š = 0,1, โ‹ฏ , ๐‘›) (๐‘— = 1,2,3,4)

(10)

where, the matrices ๐ฟ(๐‘›) and ๐‘…(๐‘›), represent left and right subdivision for the four fixed Kharitonov's polynomials (four fixed Bezier curves).

Therefore, we can write:

๐ฟ(๐‘›) โˆ™

[ ๐›ผ0๐‘—

๐›ผ1๐‘— โ‹ฎ โ‹ฎ ๐›ผ๐‘›๐‘—]

=

[

1 0 โ‹ฏ โ‹ฏ 0

1 2

1

2 โ‹ฏ โ‹ฏ 0

โ‹ฎ โ‹ฎ โ‹ฏ โ‹ฏ โ‹ฎ

โ‹ฎ โ‹ฎ โ‹ฏ โ‹ฏ โ‹ฎ

1 2๐‘›

๐‘› 2๐‘› โ‹ฏ โ‹ฏ

1 2๐‘›]

โˆ™

[ ๐›ผ0๐‘—

๐›ผ1๐‘— โ‹ฎ โ‹ฎ ๐›ผ๐‘›๐‘—]

=

[ ๐‘ž0๐‘—

๐‘ž1๐‘— โ‹ฎ โ‹ฎ ๐‘ž๐‘›๐‘—]

(๐‘— = 1,2,3,4)

(11)

and

๐‘…(๐‘›) โˆ™

[ ๐›ผ0๐‘—

๐›ผ1๐‘— โ‹ฎ โ‹ฎ ๐›ผ๐‘›๐‘—]

=

[ 1 2๐‘›

๐‘›

2๐‘› โ‹ฏ โ‹ฏ

1 2๐‘›

0 1

2๐‘›โˆ’1 โ‹ฏ โ‹ฏ 1 2๐‘›โˆ’1

โ‹ฎ โ‹ฎ โ‹ฏ โ‹ฏ โ‹ฎ

โ‹ฎ โ‹ฎ โ‹ฏ โ‹ฏ โ‹ฎ

0 0 โ‹ฏ โ‹ฏ 1 ]

โˆ™

[ ๐›ผ0๐‘—

๐›ผ1๐‘— โ‹ฎ โ‹ฎ ๐›ผ๐‘›๐‘—]

=

[ ๐‘Ÿ0๐‘—

๐‘Ÿ1๐‘— โ‹ฎ โ‹ฎ ๐‘Ÿ๐‘›๐‘—]

(๐‘— = 1,2,3,4)

(12)

(4)

170602-9494-IJVIPNS-IJENS ยฉ April 2017 IJENS row of ๐ฟ(๐‘›) is the same as the ๏ฌrst row of ๐‘…(๐‘›) because ๐‘ž๐‘›๐‘— =

๐‘Ÿ๐‘›๐‘—.

Starting with the original four fixed Kharitonov's polynomials (four fixed Bezier curves) control points and applying these matrices repeatedly generates a sequence of fixed control polygons that converge to the original four fixed Kharitonov's polynomials (four fixed Bezier curves) [23], [24].

Suppose, however, that the matrices ๐›ผ๐‘—= [๐›ผ0๐‘— ๐›ผ1๐‘— โ‹ฏ โ‹ฏ ๐›ผ๐‘›๐‘—]

๐‘‡

are invertible. Let

{

๐ฟ๐‘๐‘—(๐‘›) = [๐›ผ๐‘—]โˆ’1โˆ™ ๐ฟ(๐‘›) โˆ™ ๐›ผ๐‘— ๐‘…๐‘๐‘—(๐‘›) = [๐›ผ๐‘—]โˆ’1โˆ™ ๐‘…(๐‘›) โˆ™ ๐›ผ๐‘— (๐‘— = 1,2,3,4)

} (13)

Then,

{ ๐›ผ๐‘—โˆ™ ๐ฟ

๐‘

๐‘—(๐‘›) = ๐›ผ๐‘—โˆ™ ([๐›ผ๐‘—]โˆ’1โˆ™ ๐ฟ(๐‘›) โˆ™ ๐›ผ๐‘—) = ๐ฟ(๐‘›) โˆ™ ๐›ผ๐‘—

๐›ผ๐‘—โˆ™ ๐‘…

๐‘๐‘—(๐‘›) = ๐›ผ๐‘—โˆ™ ([๐›ผ๐‘—]โˆ’1โˆ™ ๐‘…(๐‘›) โˆ™ ๐›ผ๐‘—) = ๐‘…(๐‘›) โˆ™ ๐›ผ๐‘— (๐‘— = 1,2,3,4)

}

(14) Moreover, iterating the transformations ๐ฟ๐‘—๐‘(๐‘›) and ๐‘…๐‘๐‘—(๐‘›) multiplying now on the right instead of on the left generates the same sequence of four fixed Kharitonov's polynomials (four fixed Bezier curves) control polygons as iterating the matrices ๐ฟ(๐‘›) and ๐‘…(๐‘›) on the control polygons ๐›ผ๐‘— for (๐‘— = 1,2,3,4). But, and this is the key point, it is easy to show that the matrices ๐ฟ๐‘๐‘—(๐‘›) and ๐‘…๐‘๐‘—(๐‘›), represent contractive maps. Therefore {๐ฟ๐‘๐‘—(๐‘›), ๐‘…๐‘๐‘—(๐‘›)} for (๐‘— = 1,2,3,4) are iterated function systems, so we can start with any compact set and the iteration will still converge to the four fixed Kharitonov's polynomials (four fixed Bezier curves) with fixed control points ๐›ผ0๐‘—, ๐›ผ1๐‘—, โ‹ฏ , ๐›ผ๐‘›๐‘— for (๐‘— = 1,2,3,4).

For the four fixed Kharitonov's polynomials (four fixed Bezier curves) of degree ๐‘› , the subdivision matrices ๐ฟ(๐‘›) and ๐‘…(๐‘›), are (๐‘› + 1) ร— (๐‘› + 1) matrices. To form the matrices ๐ฟ๐‘—๐‘(๐‘›) and ๐‘…๐‘๐‘—(๐‘›) for (๐‘— = 1,2,3,4) the coordinates of the four fixed Kharitonov's polynomials (four fixed Bezier curves) control points ๐›ผ๐‘—= [๐›ผ0๐‘— ๐›ผ1๐‘— โ‹ฏ โ‹ฏ ๐›ผ๐‘›๐‘—]๐‘‡ must constitute invertible (๐‘› + 1) ร— (๐‘› + 1) matrices. If the fixed points ๐›ผ0๐‘—, ๐›ผ1๐‘—, โ‹ฏ , ๐›ผ๐‘›๐‘— lie in an ๐‘› โˆ’ ๐‘‘๐‘–๐‘š๐‘’๐‘›๐‘ ๐‘–๐‘œ๐‘›๐‘Ž๐‘™ affine space, then we can use homogeneous coordinates to form (๐‘› + 1) ร— (๐‘› + 1) matrices.

๐›ผ๐‘—= [๐›ผ0๐‘— ๐›ผ1๐‘— โ‹ฏ โ‹ฏ ๐›ผ๐‘›๐‘—

1 1 โ‹ฏ โ‹ฏ 1]

๐‘‡

(๐‘— = 1,2,3,4)

(15) The matrices ๐›ผ๐‘— for (๐‘— = 1,2,3,4) are then invertible precisely when the fixed points ๐›ผ0๐‘—, ๐›ผ1๐‘—, โ‹ฏ , ๐›ผ๐‘›๐‘— are affinely independent. Typically, however, the degree n of the four fixed Kharitonov's polynomials (four fixed Bezier curves) is larger than the dimension ๐‘‘ of the ambient space of the fixed control points. For example, for planar cubic curves,

๐‘› = 3 but ๐‘‘ = 2 . Nevertheless, in general, we can still form the matrices ๐ฟ๐‘—๐‘(๐‘›) and ๐‘…๐‘๐‘—(๐‘›), by lifting the fixed control points ๐›ผ๐‘—= [๐›ผ0๐‘— ๐›ผ1๐‘— โ‹ฏ โ‹ฏ ๐›ผ๐‘›๐‘—]๐‘‡ to higher dimensions.

For planar four fixed Kharitonov's polynomials (four fixed Bezier curves), we can proceed in the following fashion. Let (๐‘ฅ๐‘˜๐‘—, ๐‘ฆ๐‘˜๐‘—) for (๐‘— = 1,2,3,4) be the rectangular coordinates of ๐›ผ๐‘˜๐‘—, for ๐‘˜ = 0,1, โ‹ฏ , ๐‘›. Then we can lift ๐›ผ๐‘—to higher dimensions by introducing homogeneous coordinates and lifting each four fixed Kharitonov's polynomials (four fixed Bezier curves) control point ๐›ผ๐‘˜๐‘—to dimension ๐‘˜, 3 โ‰ค

๐‘˜ โ‰ค ๐‘›, by annexing zeroes and ones to the coordinates of ๐›ผ๐‘˜๐‘—

for (๐‘— = 1,2,3,4) and ๐‘˜ = 0,1, โ‹ฏ , ๐‘›. For example, for cubics we introduce one additional coordinate and set:

๐›ผ๐‘—=

[

๐›ผ0๐‘— 1 0 ๐›ผ1๐‘— 1 0 ๐›ผ2๐‘— 1 0 ๐›ผ3๐‘— 1 1]

=

[

๐‘ฅ0๐‘— ๐‘ฆ0๐‘— 1 0 ๐‘ฅ1๐‘— ๐‘ฆ1๐‘— 1 0 ๐‘ฅ2๐‘— ๐‘ฆ2๐‘— 1 0 ๐‘ฅ3๐‘— ๐‘ฆ3๐‘— 1 1] (๐‘— = 1,2,3,4)

(16)

and for quartics we introduce two additional coordinates and set:

๐›ผ๐‘—=

[

๐›ผ0๐‘— 1 0 0 ๐›ผ1๐‘— 1 0 0 ๐›ผ2๐‘— 1 0 0 ๐›ผ3๐‘— 1 1 0 ๐›ผ4๐‘— 1 1 1]

=

[

๐‘ฅ0๐‘— ๐‘ฆ0๐‘— 1 0 0 ๐‘ฅ1๐‘— ๐‘ฆ1๐‘— 1 0 0 ๐‘ฅ2๐‘— ๐‘ฆ2๐‘— 1 0 0 ๐‘ฅ3๐‘— ๐‘ฆ3๐‘— 1 1 0 ๐‘ฅ4๐‘— ๐‘ฆ4๐‘— 1 1 1] (๐‘— = 1,2,3,4)

(17)

and so on. We notice that in each case, the matrix ๐›ผ๐‘— is invertible if:

๐‘‘๐‘’๐‘ก [ ๐›ผ0๐‘— 1 ๐›ผ1๐‘— 1 ๐›ผ2๐‘— 1

] โ‰  0

(๐‘— = 1,2,3,4)

(18) Thus, ๐›ผ๐‘—is invertible if the points ๐›ผ

0๐‘—, ๐›ผ1๐‘— , ๐›ผ2๐‘—, are affinely independent; that is, if the points ๐›ผ0๐‘—, ๐›ผ1๐‘— , ๐›ผ2๐‘—, are not collinear. Of course, we could choose any other three non collinear fixed control points and this lifting technique would work equally well.

(5)

170602-9494-IJVIPNS-IJENS ยฉ April 2017 IJENS (๐‘–๐‘–๐‘–) project the resulting ๐‘› โˆ’ ๐‘‘๐‘–๐‘š๐‘’๐‘›๐‘ ๐‘–๐‘œ๐‘›๐‘Ž๐‘™ four fixed

Kharitonov's polynomials (four fixed Bezier curves) orthogonally back down to the original dimension ๐‘‘.

III.NUMERICALEXAMPLE

Consider the case of quadratic parametric interval Bezier curve ๐‘ƒ2๐ผ(๐‘ข) for 0 โ‰ค ๐‘ข โ‰ค 1.

๐‘ƒ2๐ผ(๐‘ข) = โˆ‘[๐‘๐‘–โˆ’, ๐‘๐‘–+] 2

๐‘–=0

๐ต๐‘–2(๐‘ข)

= โˆ‘([๐‘ฅ๐‘–โˆ’, ๐‘ฅ๐‘–+], [๐‘ฆ๐‘–โˆ’, ๐‘ฆ๐‘–+]) 2

๐‘–=0

๐ต๐‘–2(๐‘ข)

0 โ‰ค ๐‘ข โ‰ค 1

Here, ๐‘› = 2, so the subdivision matrices ๐ฟ(2) and ๐‘…(2) are 3 ร— 3 matrices, which at least are the right size matrices for generating fractals in the plane. As explained in section II the matrices ๐ฟ(2) and ๐‘…(2) are obtained as follows:

๐ฟ(2) =

[

1 0 0 1 2

1

2 0

1 4

2 4

1 4]

, ๐‘…(2) =

[ 1 4

2 4

1 4

0 1

2 1 2 0 0 1]

Unfortunately, it is not clear what happens to an arbitrary point when we multiply by these matrices on the right. But suppose that instead of the matrices ๐ฟ(2) and ๐‘…(2), we let:

๐›ผ๐‘—= [ ๐›ผ0๐‘— 1 ๐›ผ1๐‘— 1 ๐›ผ2๐‘— 1

] = [

๐‘ฅ0๐‘— ๐‘ฆ0๐‘— 1 ๐‘ฅ1๐‘— ๐‘ฆ1๐‘— 1 ๐‘ฅ2๐‘— ๐‘ฆ2๐‘— 1 ]

(๐‘— = 1,2,3,4)

be the matrices of the four fixed Kharitonov's polynomials (four fixed Bezier curves) control points and we consider the matrices:

{

๐ฟ๐‘๐‘—(2) = [๐›ผ๐‘—]โˆ’1โˆ™ ๐ฟ๐‘—(2) โˆ™ ๐›ผ๐‘— ๐‘…๐‘๐‘—(2) = [๐›ผ๐‘—]โˆ’1โˆ™ ๐‘…๐‘—(2) โˆ™ ๐›ผ๐‘— (๐‘— = 1,2,3,4)

}

Applying these matrices to the four fixed Kharitonov's polynomials (four fixed Bezier curves) control points ๐›ผ๐‘— on the right yields:

{ ๐›ผ๐‘—โˆ™ ๐ฟ

๐‘

๐‘—(2) = ๐›ผ๐‘—โˆ™ ([๐›ผ๐‘—]โˆ’1โˆ™ ๐ฟ(2) โˆ™ ๐›ผ๐‘—) = ๐ฟ(2) โˆ™ ๐›ผ๐‘—

๐›ผ๐‘—โˆ™ ๐‘…

๐‘๐‘—(2) = ๐›ผ๐‘—โˆ™ ([๐›ผ๐‘—]โˆ’1โˆ™ ๐ฟ(2) โˆ™ ๐›ผ๐‘—) = ๐‘…(2) โˆ™ ๐›ผ๐‘— (๐‘— = 1,2,3,4)

}

Furthermore, if we iterate this procedure by continuing to apply the matrices ๐ฟ๐‘—๐‘(2) and ๐‘…๐‘๐‘—(2) on the right, then we get exactly the same points that are generated by applying the matrices ๐ฟ(2) and ๐‘…(2) to the four fixed Kharitonov's polynomials (four fixed Bezier curves) control polygons ๐›ผ๐‘— on the left. Thus the fixed points generated by applying the

matrices ๐ฟ๐‘๐‘—(2) and ๐‘…๐‘๐‘—(2) on the right to the four fixed Kharitonov's polynomials (four fixed Bezier curves) control points ๐›ผ๐‘— converge to the four fixed Kharitonov's polynomials (four fixed Bezier curves) for the control points ๐›ผ๐‘— . The matrices ๐ฟ

๐‘ ๐‘—(2)

and ๐‘…๐‘๐‘—(2) represent af๏ฌne transformations, since the third column in both matrices is [0 0 1]๐‘‡. and because [1 1 1]๐‘‡ is the last column of ๐›ผ๐‘—, it follows that:

[๐›ผ๐‘—]โˆ’1โˆ™ [11 1

] = [00 1 ]

(๐‘— = 1,2,3,4)

and

{

๐ฟ(2) โˆ™ [11 1] = [

1 1 1]

๐‘…(2) โˆ™ [11 1] = [

1 1 1]}

Therefore, the last column of both ๐ฟ๐‘—๐‘(2) and ๐‘…๐‘๐‘—(2) is [0 0 1]๐‘‡ because:

{

[๐›ผ๐‘—]โˆ’1โˆ™ ๐ฟ(2) โˆ™ [11 1] = [๐›ผ

๐‘—]โˆ’1โˆ™ [11 1] = [

0 0 1]

[๐›ผ๐‘—]โˆ’1โˆ™ ๐‘…(2) โˆ™ [11 1] = [๐›ผ

๐‘—]โˆ’1โˆ™ [11 1] = [

0 0 1]

(๐‘— = 1,2,3,4) }

The matrices {๐ฟ๐‘๐‘—(2), ๐‘…๐‘๐‘—(2)}for(๐‘— = 1,2,3,4) form an iterated function systems. The eigenvalues of ๐ฟ(2) and ๐‘…(2) are 1.00, 0.50, 0.25, so the matrices ๐ฟ๐‘๐‘—(2) and ๐‘…๐‘๐‘—(2), which are similar to ๐ฟ(2) and ๐‘…(2) and therefore have the same eigenvalues. (The eigenvalue 1 corresponds to translation-that is, to the column [0 0 1]๐‘‡, so it is only necessary to consider the other two eigenvalues; that is, the eigenvalues of the upper 2 ร— 2 submatrices of ๐ฟ๐‘๐‘—(2) and ๐‘…๐‘๐‘—(2)). The limit curve in this case the quadratic four fixed Kharitonov's polynomials (four fixed Bezier curves) are fractals! Using the iterated function systems, we can start with any compact set and still converge to the same ๏ฌxed points. Thus we are no longer constrained to start the iteration with the four fixed Kharitonov's polynomials (four fixed Bezier curves) control polygons. Since the quadratic four fixed Kharitonov's polynomials (four fixed Bezier curves) are fractals; the given quadratic parametric interval Bezier curve is fractal.

IV.CONCLUSIONS

(6)

170602-9494-IJVIPNS-IJENS ยฉ April 2017 IJENS fixed Kharitonov's polynomials (four fixed Bezier curves)

associated with the original parametric interval Bezier curve are fractals; then the given parametric interval Bezier curve is fractal. The four fixed Kharitonov's polynomials (four fixed Bezier curves) associated with the original parametric interval Bezier curve are obtained. The de Casteljau subdivision algorithm is used to show that the four fixed Kharitonov's polynomials (four fixed Bezier curves) associated with the original parametric interval Bezier curve are also attractors. Subdivision has the look and feel of a fractal procedure. In the standard fractal algorithm, we start with a compact set, iterate a collection of contractive transformations, and converge in the limit to a fractal shape. In the four fixed Kharitonov's polynomials (four fixed Bezier curves) subdivision, we start with the four fixed Kharitonov's polynomials (four fixed Bezier curves) control polygons, iterate the de Casteljau subdivision algorithm, and converge in the limit to the four fixed Kharitonov's polynomials (four fixed Bezier curves) curves. The four fixed Kharitonov's polynomials (four fixed Bezier curves) subdivision can be represented by two square matrices whose entries are the coef๏ฌcients in these af๏ฌne combinations. Iterated function systems are constructed to generate polynomial and piecewise polynomial curves built from these subdivision matrices. The proposed approach is based on projecting from higher dimensions, and the control points are lift to higher dimensions and then apply orthogonal projections. To construct the four fixed Kharitonov's polynomial (four fixed Bezier curves) curves using the iterated function systems {๐ฟ๐‘—๐‘(๐‘›), ๐‘…๐‘๐‘—(๐‘›)}, we start with any compact subset of ๐‘› โˆ’ ๐‘‘๐‘–๐‘š๐‘’๐‘›๐‘ ๐‘–๐‘œ๐‘›๐‘Ž๐‘™ af๏ฌne space and iterate these transformations. The result is projected orthogonally into two dimensions. Since the coordinates behave independently under recursive subdivision and since we do not change the ๐‘ฅ, ๐‘ฆ coordinates when we lift the control points to higher dimensions, these orthogonal projections converge to the four fixed Kharitonov's polynomials (four fixed Bezier curves). Thus, somewhat surprisingly, the four fixed Kharitonov's polynomials (four fixed Bezier curves). This means that the given parametric interval Bezier curve is fractal.

REFERENCES

[1] P. Bezier, "De๏ฌnition Numerique Des Courbes et ๐‘†๐‘ข๐‘Ÿ๐‘“๐‘Žฬ‚๐‘๐‘’๐‘  I", Automatisme, Vol. 11, pp. 625โ€“632, 1966.

[2] P. Bezier, "De๏ฌnition Numerique Des Courbes et ๐‘†๐‘ข๐‘Ÿ๐‘“๐‘Žฬ‚๐‘๐‘’๐‘  II", Automatisme, Vol. 12, pp. 17โ€“21, 1967.

[3] P. Bezier, Numerical control, Mathematics and Applications, New York: Wiley, 1972.

[4] P. Bezier, The Mathematical Basis of the UNISURF CAD System, Butterworth, London, 1986.

[5] H. B. Said, "A generalized Ball curve and its recursive algorithm", ACM. Transaction on Graphics, Vol. 8, No. 4, pp. 360โ€“371, 1989.

[6] A. A. Ball, โ€œCONSURF Part 1: Introduction to conic lofting tileโ€, Computer Aided Design, Vol. 6, No. 4, pp. 243โ€“249, 1974.

[7] A. A. Ball, โ€CONSURF Part 2: Description of the algorithmsโ€, Computer Aided Design, Vol. 7, No. 4, pp. 237โ€“242, 1975.

[8] A. A. Ball, โ€œCONSURF Part 3: How the program is usedโ€, Computer Aided Design, Vol. 9, No. 1, pp. 9โ€“12, 1977.

[9] G. J. Wang, "Ball curve of high degree and its geometric properties", Applied. Mathematics: A Journal of Chinese Universities Vol. 2, pp. 126-140, 1987.

[10] J. Delgado and J. M. Pena, โ€œA linear complexity algorithm for the Bernstein basisโ€, Proceedings of the 2003 International Conference on Geometric Modeling and Graphics (GMAGโ€™03), pp. 162โ€“167, 2003. [11] J. Delgado and J. M. Pena, "A shape preserving representation with an

evaluation algorithm of linear complexityโ€, Computer Aided Geometric Design, pp. 1-10, 2003.

[12] O. Ismail,"๐ฟ2 Degree Reduction of Interval Bezier Curves", International Journal of Research and Reviews in Computer Science (IJRRCS), Vol. 1, No. 2, pp. 42-46, 2010.

[13] O. Ismail, "Degree Elevation of Interval Bezier Curves Using Legendre-Bernstein Basis Transformations", International Journal of Video & Image Processing and Network Security (IJVIPNS), Vol. 10, No. 6, pp. 6-9, 2010.

[14] O. Ismail, "Degree Elevation of Interval Bezier Curves", International Journal of Video & Image Processing and Network Security (IJVIPNS), Vol. 13, No. 2, pp. 8-11, 2013.

[15] O. Ismail, "Reparametrization and Subdivision of Interval Bezier Curves", International Journal of Video & Image Processing and Network Security (IJVIPNS), Vol. 14, No. 4, pp. 1-6, 2014.

[16] O. Ismail, "A smooth Connection of Interval Bezier Curve Segments", International Journal of Video & Image Processing and Network Security (IJVIPNS), Vol. 15, No. 4, pp. 1-5, 2015.

[17] O. Ismail, "Regularity of Interval Bezier Curves", International Journal of Video & Image Processing and Network Security (IJVIPNS), Vol. 15, No. 6, pp. 1-4, 2015.

[18] O. Ismail, "Degree Reduction of Parametric Interval Bezier Curves", โ€˜Proc., International Conference on Sciences of Electronic, Technologies of Information and Telecommunications (SETIT 2016)โ€™, Hammamet, Tunisia, 2016.

[19] M. Barnsley, Fractals everywhere, (Second Edition), Academic Press, Boston, Mass., 1993.

[20] W. Kotarski and A. Lisowska, โ€œOn Bezier-fractal modeling of 2D shapesโ€, International Journal of Pure and Applied Mathematics, Vol. 24, No. 1, pp. 119-130, 2005.

[21] C. T. John, โ€œAll Bezier curves are attractors of iterated function systemsโ€, New York Journal of Mathematics, Vol. 13, pp. 107-115, 2007.

[22] V. L. Kharitonov, "Asymptotic stability of an equilibrium position of a family of system of linear differential equations", Differential 'nye Urauneniya, vol. 14, pp. 2086-2088, 1978.

[23] R. Goldman, Pyramid algorithms: A dynamic programming approach to curves and surfaces for geometric modeling, Morgan Kaufmann, San Francisco, 2002.

[24] J. Lane and R. Riesenfeld, โ€œA theoretical development for the computer generation and display of piecewise polynomial surfacesโ€, IEEE Trans. on Pattern Anal. and Mach. Intell., Vol. 2, pp. 35-46, 1980.

O. Ismail (Mโ€™97โ€“SMโ€™04) received the B. E. degree in electrical and

electronic engineering from the University of Aleppo, Syria in 1986. From 1987 to 1991, he was with the Faculty of Electrical and Electronic Engineering of that university. He has an M. Tech. (Master of Technology) and a Ph.D. both in modeling and simulation from the Indian Institute of Technology, Bombay, in 1993 and 1997, respectively. Dr. Ismail is a Senior Member of IEEE. Life Time Membership of International Journals of Engineering & Sciences (IJENS) andResearchers Promotion Group (RPG). He is an Academic Member of the Athens Institute for Education and Research, belonging to the Computer Research Unit and the Electrical Engineering Research Unit. His main fields of research include computer graphics, computer aided analysis and design (CAAD), computer simulation and modeling, digital image processing, pattern recognition, robust control, modeling and identification of systems with structured and unstructured uncertainties. He has published more than 74 refereed international journals and conferences papers on these subjects. In 1997 he joined the Department of Computer Engineering at the Faculty of Electrical and Electronic Engineering in University of Aleppo, Syria.

In 2004 he joined Department of Computer Science, Faculty of Computer Science and Engineering, Taibah University, K.S.A. as an associate professor for six years.

He has been chosen for inclusion in the special 25th Silver Anniversary Editions of Whoโ€™s Who in the World. Published in 2007 and 2010.

Figure

Fig. 1:  The de Casteljau subdivision algorithm for the four fixed

References

Related documents