Designing by a Quadratic Trigonometric Spline with Point and Interval Shape Control

Similar documents
Positivity Preserving Interpolation of Positive Data by Rational Quadratic Trigonometric Spline

CS 475 / CS Computer Graphics. Modelling Curves 3 - B-Splines

Bézier Splines. B-Splines. B-Splines. CS 475 / CS 675 Computer Graphics. Lecture 14 : Modelling Curves 3 B-Splines. n i t i 1 t n i. J n,i.

Research Article Data Visualization Using Rational Trigonometric Spline

A New Class of Quasi-Cubic Trigonometric Bezier Curve and Surfaces

Remark. Jacobs University Visualization and Computer Graphics Lab : ESM4A - Numerical Methods 331

A story about Non Uniform Rational B-Splines. E. Shcherbakov

Quasi-Quartic Trigonometric Bézier Curves and Surfaces with Shape Parameters

Constrained modification of the cubic trigonometric Bézier curve with two shape parameters

Developing an Approach to Redesign Freeform Surfaces Using B-Spline Technique

17. Hussain, M. Z. & Jamaludin (2006), Postivity-preserving piecewise rational cubic interpolation, Matematika, Vol. 22(2), Hussain, M.

CS130 : Computer Graphics Curves (cont.) Tamar Shinar Computer Science & Engineering UC Riverside

Computer Graphics Curves and Surfaces. Matthias Teschner

08 - Designing Approximating Curves

American International Journal of Research in Science, Technology, Engineering & Mathematics

COMPUTER AIDED GEOMETRIC DESIGN. Thomas W. Sederberg

Design considerations

OUTLINE. Quadratic Bezier Curves Cubic Bezier Curves

Knot Insertion and Reparametrization of Interval B-spline Curves

CSE 167: Introduction to Computer Graphics Lecture #11: Bezier Curves. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2016

(Spline, Bezier, B-Spline)

3D Modeling Parametric Curves & Surfaces. Shandong University Spring 2013

Parametric curves. Brian Curless CSE 457 Spring 2016

Circular Arc Approximation by Quartic H-Bézier Curve

On an approach for cubic Bézier interpolation

3D Modeling Parametric Curves & Surfaces

Lecture IV Bézier Curves

Isoparametric Curve of Quadratic F-Bézier Curve

The Free-form Surface Modelling System

Curves and Surfaces for Computer-Aided Geometric Design

Curves and Surfaces 1

Cubic spline interpolation

Need for Parametric Equations

Bezier Curves, B-Splines, NURBS

Curves. Computer Graphics CSE 167 Lecture 11

Reparametrization of Interval Curves on Rectangular Domain

Image Reconstruction Using Rational Ball Interpolant and Genetic Algorithm

Blending curves. Albert Wiltsche

Bezier Curves. An Introduction. Detlef Reimers

(Refer Slide Time: 00:02:24 min)

Parametric curves. Reading. Curves before computers. Mathematical curve representation. CSE 457 Winter Required:

CSE 167: Introduction to Computer Graphics Lecture 12: Bézier Curves. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2013

Intro to Curves Week 4, Lecture 7

CSE 167: Introduction to Computer Graphics Lecture #13: Curves. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2017

Almost Curvature Continuous Fitting of B-Spline Surfaces

Towards Automatic Recognition of Fonts using Genetic Approach

Fall CSCI 420: Computer Graphics. 4.2 Splines. Hao Li.

SPIRAL TRANSITION CURVES AND THEIR APPLICATIONS. Zulfiqar Habib and Manabu Sakai. Received August 21, 2003

Curve and Surface Basics

Rational Bezier Curves

Lecture 25: Bezier Subdivision. And he took unto him all these, and divided them in the midst, and laid each piece one against another: Genesis 15:10

LECTURE #6. Geometric Modelling for Engineering Applications. Geometric modeling for engineering applications

and the crooked shall be made straight, and the rough ways shall be made smooth; Luke 3:5

CS 536 Computer Graphics Intro to Curves Week 1, Lecture 2

Geometric Modeling of Curves

The Essentials of CAGD

Central issues in modelling

Properties of Blending Functions

Sung-Eui Yoon ( 윤성의 )

MA 323 Geometric Modelling Course Notes: Day 21 Three Dimensional Bezier Curves, Projections and Rational Bezier Curves

Know it. Control points. B Spline surfaces. Implicit surfaces

Further Graphics. Bezier Curves and Surfaces. Alex Benton, University of Cambridge Supported in part by Google UK, Ltd

Free-form curve design by knot alteration

Intro to Curves Week 1, Lecture 2

CAGD PACKAGE FOR MATHEMATICA AND ITS USAGE IN THE TEACHING

BS-Patch: Constrained Bezier Parametric Patch

Approximation of 3D-Parametric Functions by Bicubic B-spline Functions

Spline Curves. Spline Curves. Prof. Dr. Hans Hagen Algorithmic Geometry WS 2013/2014 1

Derivative. Bernstein polynomials: Jacobs University Visualization and Computer Graphics Lab : ESM4A - Numerical Methods 313

Important Properties of B-spline Basis Functions

Parametric Curves. University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell

Flank Millable Surface Design with Conical and Barrel Tools

Surfaces for CAGD. FSP Tutorial. FSP-Seminar, Graz, November

Splines. Connecting the Dots

Splines. Parameterization of a Curve. Curve Representations. Roller coaster. What Do We Need From Curves in Computer Graphics? Modeling Complex Shapes

Information Coding / Computer Graphics, ISY, LiTH. Splines

Spline Notes. Marc Olano University of Maryland, Baltimore County. February 20, 2004

A MATRIX FORMULATION OF THE CUBIC BÉZIER CURVE

Representing Curves Part II. Foley & Van Dam, Chapter 11

Rational Bezier Surface

A Practical Review of Uniform B-Splines

An Introduction to B-Spline Curves

Parametric Curves. University of Texas at Austin CS384G - Computer Graphics

MA 323 Geometric Modelling Course Notes: Day 14 Properties of Bezier Curves

Connected Minimal Acceleration Trigonometric Curves

Advanced Graphics. Beziers, B-splines, and NURBS. Alex Benton, University of Cambridge Supported in part by Google UK, Ltd

Dgp _ lecture 2. Curves

An introduction to interpolation and splines

Roadmap for tonight. What are Bezier curves (mathematically)? Programming Bezier curves (very high level view).

More Accurate Representation of Conics by NURBS. One of the argument usually given to explain the popularity of NURBS is the fact that they

Until now we have worked with flat entities such as lines and flat polygons. Fit well with graphics hardware Mathematically simple

Interactive Graphics. Lecture 9: Introduction to Spline Curves. Interactive Graphics Lecture 9: Slide 1

ABSTRACT. Keywords: Continuity; interpolation; monotonicity; rational Bernstein-Bézier ABSTRAK

15.10 Curve Interpolation using Uniform Cubic B-Spline Curves. CS Dept, UK

2D Spline Curves. CS 4620 Lecture 13

G 2 Interpolation for Polar Surfaces

Discrete Coons patches

Second Triangular Hermite Spline Curves and Its Application

Shape Control of Cubic H-Bézier Curve by Moving Control Point

BEZIER-CURVES WITH CURVATURE AND TORSION CONTINUITY

Transcription:

Int'l Conf. Scientific Computing CSC'18 195 Designing by a Quadratic Trigonometric Spline with Point and Interval Shape Control Shamaila Samreen Department of Mathematics University of Engineering & Technology, Lahore, Pakistan shamailasamreen16@gmail.com Muhammad Sarfraz Dept. of Information Science Kuwait University Safat 13060, Kuwait prof.m.sarfraz@gmail.com Malik Zawwar Hussain Department of Mathematics University of The Punjab Lahore, Pakistan malikzawwar.math@pu.edu.pk Abstract A proficient technique is adopted to construct a spline with quadratic trigonometric functions. The methods is not only endowed with the ability of shape model, also it is accountable for appropriate estimation of the control points. The curve models put up through the developed method; possess the most suitable geometric properties like partition of unity, convex hull, variation diminishing and affine invariance. The graphical depiction of the scheme is ready to lend a hand for various shape influences, like global tension, interval tension or point tension. The developed spline technique is geometrically smooth. Keywords Computer Graphics; Bézier form; trigonometric functions; spline; shape parameters I. INTRODUCTION Designing of curves, specifically vigorous curves, which are straightforwardly puzzle out and manageable shows an exceptional play in CAD/CAM. Numerous applications of these curves in font design, designing objects, fingers print recognition and medical imaging are the enthusiasms in the direction of curve designing. A reasonable amount of work, in the current literature, has been done in the direction of curve designing. For conciseness, the readers are suggested to [1-29]. To be a part of a constructive way out of many challenges at a single platform, it is desired to have a vigorous scheme. Deliberation of a stable trigonometric spline composed with a support of certain added shape parameters and accompanied by piecewise depictions may be a best selection for this paper. It is advisable to put forward a method for a set of trigonometric-splines using the added shape parameters. Foley [11], established a weighted B-spline for cubic function. Nu splines [4, 10] were discovered by cubic spline scheme. In 2004, Sarfraz [21], built weighted Nu splines which was one step ahead to the weighted splines [11] and Nu spline [4]. In 2016, Sarfraz et al. developed the weighted quadratic trigonometric splines to model the objects. Later in 2017 Sarfraz et al. also fabricated the nu spline for trigonometric function having well meticulous shape effects of parameters. An imperious technique has been developed in the paper to build a weighted nu-spline with a quadratic trigonometric function which was richen with the well-meticulous shape effects of the parameters. The developed scheme has subsequent attributes and advantages: It retains appropriate aspects of trigonometric splines. The scheme is talented with fascinated shape modeling features. It sustains the finest appropriate geometric properties of splines. It accomplishes the smoothness geometrically. As a special consideration the scheme recuperates the trigonometric spline. It has two families of shape parameters, which play a part for numerous shape influences, like global tension, interval tension or point tension. For the different choice of parameters, the proposed scheme recovers weighted spline [11] and Nu-spline [4]. In this paper a quadratic trigonometric weighted nu spline (QTWNS) in its interpolation form is presented by inserting weighted nu continuity constraints into the quadratic trigonometric spline. The illustration of the proposed spline is taken into consideration. Furthermore, a proof of affine invariance property for proposed spline curve is produced from Bernstein Bézier form. The graphical depiction of proposed spline subsidizes various shape parameters which can be suitable and specifically supportive for different shape influences, like global tension, interval tension and point tension. The paper has been organized as follows. Section II proposes, describes and analyses the quadratic trigonometric spline in its interpolation form. Section III describes and discusses various geometric properties of the proposed spline.

196 Int'l Conf. Scientific Computing CSC'18 The illustration of the offered spline has been depicted in Section IV. Whereas Section V concludes the paper. II. A QUADRATIC TRIGONOMETRIC FORM Let et be the given data points at the knot vectors where. Also let for. The quadratic trigonometric is described for by (1) where,. Rewrite equation (1) as: where, (2) are trigonometric functions with. (3) Furthermore, these functions are Bernstein Bézier weight functions. Also, (4) (5) The function in (1) accomplishes the following properties of interpolation; (6) Thus the interpolation of piecewise function in (1) acts like Hermite interpolation. Hence, by using the subsequent constraints, spline characteristics are incorporated with quadratic trigonometric spline: (7) In this way geometric continuity of 2 nd order at different joins of the curve pieces is achieved to attain a smooth spline. The matrix form of the continuity constraints can be expressed as: (8) To compute the parameters, it is prerequisite to determine the following derivatives, which are given by Since, and (9) (10) (11) the above equations (10) and (11) yield, Also, (12) (13) (14) (15) By using the value of and from (4) and (5), (7) and (8) together with (13), (14) and (15) leads to a tri-diagonal system of consistency equations: (16) which is diagonally dominant for suitable end. It also has unique solutions for To determine the solution of the tridiagonal system for, it is efficient to obtain the LUdecomposition. Thus we conclude the following: Theorem: For the system of equations (16), the quadratic trigonometric spline (QTS) accomplishes a unique solution. III. PROPERTIES The QTS curve satisfies important geometric and shape properties. A. Geometric Properties The QTS curve satisfies the subsequent geometric properties: Proposition 1: The quadratic trigonometric basis functions, have the following properties:

Int'l Conf. Scientific Computing CSC'18 197 Partition of unity: (17) Positivity: (18) End point interpolation: and (19) Proof: The above properties result immediately from the formation of the basis function. Proposition 2 (Variation Diminishing Property): Consider a QTS curve for with control points. Then any plane of dimension N-1 will intersect the curve no more time it intersects the control polygon. A. Weighted Nu-Spline Let us have the shape parameters: and (20) Now, by applying the subsequent constraints, weighted nu spline characteristics are incorporated with QTS:, In this way the above geometric continuity of 1 st order at different joins of the curve parts is achieved to attain a weighted nu spline curve. The matrix form of the weighted nu-continuity constraints can be presented as: which is diagonally dominant for suitable end conditions. B. Shape Properties The proposed QTWNS is beneficial for numerous applications wherever a point tension and an interval property is required. By changing shape parameters, not only the desired results can be acquired in a specific portion but also whole shape of the object can be change using the QTWNS curve scheme according to one s desire. Figure 1. Variation diminishing property. Proposition 3 (Affine Invariance Property): Let for be QTS curve with control points It fulfills the affine invariance property. Proof: The proof is left as an exercise for the reader. 1. Point Tension Property If for a fixed, the equation (16) consequences as: (21) Thus a corner at will be appeared. 2. Interval Tension Property I In the similar way, if and, the equation (16) consequences as: (22) (23) Thus the curve approaching to the control polygon in the k th interval 3. Global Tension Property Similarly, if Figure 2. Affine invariance property with scaling, rotation and translation, with scaling, shearing and translation. then (24)

198 Int'l Conf. Scientific Computing CSC'18 Hence the curve is tightened globally in the interval 4. Interval Tension Property II One can observe that by increasing the value of, the kth segment of the curve is tightened in the k th interval This interval tension is different than the one explained in Interval Tension Property I. It keeps the smoothness of the curve without affecting the corners. Remark (Special Cases): By the uniqueness of shape parameters, elaborated in (17), the proposed spline is one step ahead to the following splines: 1. For and, the proposed spline covers a Quadratic trigonometric spline. 2. For, it is a quadratic trigonometric weighted spline. 3. If,and proposed spline leads to a quadratic trigonometric Nu-spline. IV. DEMONSTRATION The set of data points of different existing objects are interpolated by QTWNS curve. The local and global tension for QTWNS is depicted with the examples. In the graphical depiction, the default value of shape parameter, should be in use, if not then it is described. All over the illustration, the part of the Figures in this section, will be QTWNS interpolation curve with periodic end conditions. Figure 4. (b-d) The QTWNS interpolation with global tension, using and respectively, at all points of the vase. Figure 3. (b-d) The QTWNS interpolation with interval tension, using and respectively, at base intervals of the vase. Figure 5. (b-d) The QTWNS interpolation curve with point tension, using and respectively, at two opposite points of the vase.

Int'l Conf. Scientific Computing CSC'18 199 Figure 6. (b-d) The QTWNS interpolation curve with interval tension, using and respectively, at four points of neck of the vase. (c) Figure 7. (b-d) The QTWNS interpolation curve with interval tension, using respectively, at the base of the vase. Figures 3, (c) and (d) present interval tensions I at two opposite points of the base of vase with the rising values of as and respectively. In Figures 4(b-d), global tension (d) is provided, by varying as and, respectively, at all points of the vase. Figures 5(b-d) magnificently demonstrate the point tension property in the two opposite points of the vase by varying as and, respectively. In Figures 6, 6(c) and 6(d), interval tension I appears in the neck of the vase with the rising values of as and respectively, in the four points of neck of vase. In Figure 7, 7(c) and 7(d) interval tension II is shown by varying respectively. The difference of interval tension I and interval tension II are very obvious from Figures 3 and 7. V. CONCLUSION A QTWNS curve method has been assembled with the enthusiasm of curve designing towards interpolation of curves. This scheme not only has the proficiency of curve designing, but also it crops up with a suitable estimation to the control points. The proposed method has been explained with the view of its applications in CAGD, CAD/CAM, computer graphics and geometric modeling. A spline method has been developed, which recovers many existing spline methods. The proposed scheme is adequate and mostly supportive for various shape influences, like global tension, interval tension or point tension. In addition shape impacts of parameters are well meticulous for designing purposes. ACKNOWLEDGMENT The authors are grateful to anonymous referees for the helpful comments towards the improvement of the paper. This work has been supported by Kuwait University, Kuwait. REFERENCES [1] I. J. Schoenburg, Contributions to the problem of approximation of equidistant data by analytic functions, Applied Mathematics, 4 (1946) 45 99. [2] G. M. Nielson, Some piecewise polynomial alternatives to S- splines under tension, Computer Aided Geometric Design, (1974) 209-235. [3] A. Cline, Curve fitting in one and two dimensions using splines under tension, Communications of the ACM, 17 (1974) 218 223. [4] J. Lewis, B-spline bases for splines under tension, Nu splines, and fractional order splines, Presented at the SIAM-SIGNUM- Meeting, San Francisco, USA, (1975). [5] B. Barsky, The Beta-spline: A local representation based on shape parameters and fundamental geometric measure, Ph.D. Thesis, University of Utah, (1981). [6] B. Barsky and J. Beatty, Local control of bias and tension in Beta spline, Computer and Graphics, 17(3) (1983) 193-218. [7] R. Bartels and J. Beatty, Beta-splines with a difference, Technical Report CS-83-40, Computer Science Department, University of Waterloo, Waterloo, Canada, (1984). [8] W. Boehm, Curvature continuous curves and surfaces, Computer Aided Geometric Design, 2(2) (1985) 313 323. [9] T. N. T. Goodman and K. Unsworth, Generation of Beta spline curves using a recursive relation, Fundamental Algorithms for Computer Graphics, (1985) 326 357. [10] G. M. Nielson, Rectangular -splines, IEEE Computer Graphics Application, 6 (1986) 35 40.

200 Int'l Conf. Scientific Computing CSC'18 [11] T. A. Foley, Local control of interval tension using weighted splines, Computer Aided Geometric Design, 3 (1987) 281 294. [12] T. A. Foley, Interpolation with interval and point tension controls using cubic weighted -splines, ACM Transactions on Mathematical Software, 13 (1987) 68 96. [13] P. Dierckx and B. Tytgat, Generating the Bézier points of B- spline curve, Computer Aided Geometric Design, 6 (1989) 279 291. [14] M. Sarfraz, A C 2 rational cubic spline alternative to the NURBS, Computers and Graphics 16 (1) (1992) 69 78. [15] J. A. Gregory, M. Sarfraz and P. K. Yuen, Interactive curve design using C 2 rational splines, Computer and Graphics 18 (2), (1994) 153-159. [16] M. Sarfraz, Freeform rational bicubic spline surfaces with tension control, FACTA UNIVERSITATIS (NIS). Series of Mathematics and Informatics, 9 (1994) 83 93. [17] M. Sarfraz, Cubic spline curves with shape control, International Journal of Computers and Graphics, 18 (5) (1994) 707 713. [18] M. Sarfraz, curves, surfaces for CAD using C 2 rational cubic splines. Engineering with Computers, 11 (2) (1995) 94 102. [19] G. E. Farin, Curves and Surfaces for CAGD, Academic Press (1996). [20] M. Sarfraz, Advances in Geometric Modeling, John Wiley and Sons (2004). [21] M. Sarfraz, Weighted Nu splines with local support basis, Computers and Graphics, 28 (2004) 539-549. [22] M. Sarfraz, Designing objects with a spline, International Journal of Computer Mathematics, 87 (4) (2008) 797 817. [23] M. Z. Hussain, M. Hussain and B. Aqeel, Shape-preserving surfaces with constraints on tension parameters, Applied Mathematics and Computation, 247 (2014) 442-464. [24] X. Han, Shape preserving piecewise rational interpolant with quartic numerator and quadratic denominator, Applied mathematics and Computation, 251 (2015) 258-274. [25] M. Srafrz, M. Z. Hussain and F. Hussain, Shape preserving curves using quadratic trigonometric spline, Applied Mathematics and Computation, 265 (2015) 1126-1144. [26] M. Sarfraz, S. Samreen, M. Z. Hussain, (2016), Modeling of 2D objects with weighted-quadratic Trigonometric Spline, 13th International Conference on Computer Graphics, Imaging and Visualization, Benni Mellall, Morocco, March 29-April 01, 2016, pp. 29-34, ISSN: 978-1-5090-0811-7, IEEE. [27] M. Sarfraz, S. Samreen, M. Z. Hussain, (2017), A Quadratic Trigonometric Nu Spline with Shape Control, International Journal of Image and Graphics, Vol. 17(3), pp. 01 17, World Scientific. [28] M. Sarfraz, S. Samreen, M. Z. Hussain, (2017), A Quadratic Trigonometric Weighted Spline with Local Support Basis Functions, Alexandria Engineering Journal, Elsevier, https://doi.org/10.1016/j.aej.2017.02.016. [29] S. Samreen, M. Sarfraz, N. Jabeen, M. Z. Hussain, (2017), Computer Aided Design using a Rational Quadratic Trigonometric Spline with Interval Shape Control, International Conference on Computational Science and Computational Intelligence, Las Vegas, USA, Dec 14-16, 2017, pp. 246-251, ISSN: 978-1-5386-2652-8, IEEE.