CALIBRATION OF AN ELLIPSE S ALGEBRAIC EQUATION AND DIRECT DETERMINATION OF ITS PARAMETERS

Similar documents
arxiv: v1 [math.ho] 27 May 2017

Linear Algebra. Chapter 8: Eigenvalues: Further Applications and Computations Section 8.2. Applications to Geometry Proofs of Theorems.

Introduction to conic sections. Author: Eduard Ortega

Rotation of Axes. By: OpenStaxCollege

Pure Math 30: Explained! 81

Section 7.3: SYMMETRIC MATRICES AND ORTHOGONAL DIAGONALIZATION

Conic Sections and Polar Graphing Lab Part 1 - Circles

SKILL BUILDER TEN. Graphs of Linear Equations with Two Variables. If x = 2 then y = = = 7 and (2, 7) is a solution.

1. Projective geometry

8.6 Translate and Classify Conic Sections

Some Highlights along a Path to Elliptic Curves

Precalculus Table of Contents Unit 1 : Algebra Review Lesson 1: (For worksheet #1) Factoring Review Factoring Using the Distributive Laws Factoring

Chapter 1 Analytic geometry in the plane

Linear Algebra: Matrix Eigenvalue Problems

x = x y and y = x + y.

Circles. Example 2: Write an equation for a circle if the enpoints of a diameter are at ( 4,5) and (6, 3).

Distance and Midpoint Formula 7.1

y d y b x a x b Fundamentals of Engineering Review Fundamentals of Engineering Review 1 d x y Introduction - Algebra Cartesian Coordinates

Isometric Invariants of Conics in the Isotropic Plane Classification of Conics

APPENDIX D Rotation and the General Second-Degree Equation

A. Correct! These are the corresponding rectangular coordinates.

Homework 2. Solutions T =

TEKS Clarification Document. Mathematics Algebra

3.4 Conic sections. Such type of curves are called conics, because they arise from different slices through a cone

complex dot product x, y =

Some examples of two-dimensional regular rings

Honors Precalculus Chapter 8 Summary Conic Sections- Parabola

SESSION CLASS-XI SUBJECT : MATHEMATICS FIRST TERM

Geometric meanings of the parameters on rational conic segments

Fundamentals of Engineering (FE) Exam Mathematics Review

Linear Algebra, Summer 2011, pt. 3

49. Green s Theorem. The following table will help you plan your calculation accordingly. C is a simple closed loop 0 Use Green s Theorem

Standard Form of Conics

Quadratics. Shawn Godin. Cairine Wilson S.S Orleans, ON October 14, 2017

Classification of cubics up to affine transformations

MATH10000 Mathematical Workshop Project 2 Part 1 Conic Sections

American Computer Science League

FFTs in Graphics and Vision. Homogenous Polynomials and Irreducible Representations

Recall, to graph a conic function, you want it in the form parabola: (x x 0 ) 2 =4p(y y 0 ) or (y y 0 ) 2 =4p(x x 0 ), x x. a 2 x x 0.

Precalculus Conic Sections Unit 6. Parabolas. Label the parts: Focus Vertex Axis of symmetry Focal Diameter Directrix

A A x i x j i j (i, j) (j, i) Let. Compute the value of for and

Calculus III. George Voutsadakis 1. LSSU Math 251. Lake Superior State University. 1 Mathematics and Computer Science

On the Normal Parameterization of Curves and Surfaces

Things You Should Know Coming Into Calc I

Classification of algebraic surfaces up to fourth degree. Vinogradova Anna

Multiple View Geometry in Computer Vision

Additivity Of Jordan (Triple) Derivations On Rings

CITY UNIVERSITY LONDON. BEng (Hons) in Electrical and Electronic Engineering PART 2 EXAMINATION. ENGINEERING MATHEMATICS 2 (resit) EX2003

Conic Sections. Geometry - Conics ~1~ NJCTL.org. Write the following equations in standard form.

Uncertainties & Error Analysis Tutorial

ELLIPTIC CURVES BJORN POONEN

ax 2 + bx + c = 0 where

Prentice Hall Mathematics, Algebra Correlated to: Achieve American Diploma Project Algebra II End-of-Course Exam Content Standards

Institutionen för matematik, KTH.

Acta Mathematica Academiae Paedagogicae Nyíregyháziensis 26 (2010), ISSN

A VERY BRIEF LINEAR ALGEBRA REVIEW for MAP 5485 Introduction to Mathematical Biophysics Fall 2010

Alg Review/Eq & Ineq (50 topics, due on 01/19/2016)

To Be (a Circle) or Not to Be?

On the number of representations of n by ax 2 + by(y 1)/2, ax 2 + by(3y 1)/2 and ax(x 1)/2 + by(3y 1)/2

1 Geometry of R Conic Sections Parametric Equations More Parametric Equations Polar Coordinates...

Introduction. Chapter Points, Vectors and Coordinate Systems

On The Generalized Hohmann Transfer with Plane Change Using Energy Concepts Part I

Chapter 8. Orbits. 8.1 Conics

Matrices A brief introduction

av 1 x 2 + 4y 2 + xy + 4z 2 = 16.

Homework. Basic properties of real numbers. Adding, subtracting, multiplying and dividing real numbers. Solve one step inequalities with integers.

Infinite Matrices and Almost Convergence

Kepler s Quartic Curve as a Model of Planetary Orbits

A Diophantine System Concerning Sums of Cubes

ALGEBRAIC LONG DIVISION

(1) Recap of Differential Calculus and Integral Calculus (2) Preview of Calculus in three dimensional space (3) Tools for Calculus 3

Section 6.5. Least Squares Problems

Acta Mathematica Academiae Paedagogicae Nyíregyháziensis 18 (2002),

Aldine I.S.D. Benchmark Targets/ Algebra 2 SUMMER 2004

ME 301 THEORY OFD MACHİNES I SOLVED PROBLEM SET 2

A Study of Kruppa s Equation for Camera Self-calibration

Hi AP AB Calculus Class of :

Bilinear and quadratic forms

ORTHONORMAL SAMPLING FUNCTIONS

Video 15: PDE Classification: Elliptic, Parabolic and Hyperbolic March Equations 11, / 20

Introduction to Computer Graphics (Lecture No 07) Ellipse and Other Curves

MATHEMATICS SYLLABUS SECONDARY 4th YEAR

FACTORISING ALL TYPES. Junior Cert Revision

Notes from the Marking Centre - Mathematics Extension 2

[3] (b) Find a reduced row-echelon matrix row-equivalent to ,1 2 2

Varsity Meet 3 January 8, 2014 Round 1: Similarity and Pythagorean Theorem

Problem Set (T) If A is an m n matrix, B is an n p matrix and D is a p s matrix, then show

Chapter 11 Parametric Equations, Polar Curves, and Conic Sections

Applied Linear Algebra

MATH 1020 WORKSHEET 12.1 & 12.2 Vectors in the Plane

Algebra I Fall 2007

Algebra II Final Exam Semester II Practice Test

AS PURE MATHS REVISION NOTES

Chapter 2. First-Order Differential Equations

Edexcel GCE Further Pure Mathematics (FP1) Required Knowledge Information Sheet. Daniel Hammocks

Senior Math Circles February 11, 2009 Conics II

9.1 Circles and Parabolas. Copyright Cengage Learning. All rights reserved.

Lecture 17. Implicit differentiation. Making y the subject: If xy =1,y= x 1 & dy. changed to the subject of y. Note: Example 1.

Econ Slides from Lecture 8

Week Quadratic forms. Principal axes theorem. Text reference: this material corresponds to parts of sections 5.5, 8.2,

Transcription:

Acta Mathematica Academiae Paedagogicae Nyíregyháziensis 19 (003), 1 5 www.emis.de/journals CALIBRATION OF AN ELLIPSE S ALGEBRAIC EQUATION AND DIRECT DETERMINATION OF ITS PARAMETERS MOHAMED ALI SAID Abstract. The coefficients of an ellipse s algebraic equation are not unique. Multiplying these coefficients by a number δ 0 does not affect the ellipse s shape. In this paper it is shown that at a certain δ, called calibration number, direct relations between the coefficients and the parameters of the ellipse are found. This value of δ is found and is shown to be invariant. Useful results concerning invariants of an ellipse s equation are found using calibration. 1. Introduction 1.1. Motivation and Statement of the problem. Ellipses are of the most commonly used primitive models in applications fields like pattern recognition. Several aspects of ellipses still in active research see for example 3, 4,. The algebraic equation of an ellipse is given by (1) Ax + Bxy + Cy + Dx + Ey + F 0, B 4AC < 0 The coefficients A, B, C, D, E, and F provide little direct insight into the ellipse s shape. Moreover, these coefficients are not unique since they can be multiplied by a number δ 0 and still describe the same ellipse. So, extracting the parameters of an ellipse from the coefficients of its algebraic equation is an important issue. The five ellipse parameters are: the coordinates of its center x 0 and y 0, the lengths of the semi-major axis a and of the semi-minor axis b, and the angle θ between the x-axis and the major-axis. The ellipse s parametric equation 7 is: () x y x0 y 0 + cos θ sin θ sin θ cos θ So, the problems to be considered here are a cos t b sin t 0 t π i. To find an ellipse s parameters in terms of its algebraic equation coefficients, ii. To investigate the invariants of the ellipse s algebraic equation. 1.. Previous Work. In 5 the parameters are determined as follow: Find the ellipse s center (x 0, y 0 ) by solving the two equations: Ax 0 + (B/)y 0 D/ and (B/)x 0 + Cy 0 E/. Translate the coordinate system xy to x y so that the origin (0, 0) is translated to the center (x 0, y 0 ). The equation of the ellipse takes the form: Ax + Bx y + Cy + F 0. Find the angle θ using cot θ (A C)/B. Rotate the system x y to x y through the angle θ. The equation of the ellipse 000 Mathematics Subject Classification. 51M04. Key words and phrases. Calibration, Ellipse s parameters. 1

MOHAMED ALI SAID takes the form: A x + C y + F 0. Find the invariants of the ellipse s equation: (3) I 1 A + C, I A B/ B/ C, I A B/ D/ 3 B/ C E/ D/ E/ F the semi axes lengths are determined from: a I 3 /(I A ) and b I 3 /(I C ). In 6, the parameters are determined as follows: The angle θ is determined from cot θ (A C)/B. Rotate the coordinates system xy to x y through the angle θ. The algebraic equation of the ellipse takes the form A x + C y + D x + E y + F 0. Then, x 0 D /(A ), y 0 E /(C ), a G/A, and b G/C, where G F + G /(4A ) + E /(4C ). In 1 the parameters are determined as follows: Find the eigenvalues λ 1 and λ for the matrix A B/. B/ C Let ϕ(x, y) Ax +Bxy+Cy +Dx+Ey+F. Find the center (x 0, y 0 ) by solving the two equations ( ϕ/ x) x0,y 0 0 and ( ϕ/ y) x0,y 0 0. Find d ϕ(x 0, y 0 ). The lengths of the semi axes are a d/λ 1 and b d/λ. The angle θ is obtained by comparing the orthonormalized modal matrix with the standard rotation matrix. In the next section an alternative to the above methods is introduced and several useful subsidiary results are also provided.. The proposed method The following theorem introduces the calibration number δ and the calibrated algebraic equation of the ellipse, hence the ellipse s parameters are determined. Theorem. Let the algebraic equation of an ellipse be Ax + Bxy + Cy + Dx + Ey + F 0, where B 4AC < 0, then the parameters of that ellipse are obtained as follows: 1. Calibrate the equation by multiplying it by the calibration number δ, where then the calibrated equation will be and and δ 4 (CD + AE BDE) F (4AC B ) (4AC B ), Āx + Bxy + Cy + Dx + Ēy + F 0.. The lengths of the semi-major axis a and the semi-minor axis b are given by a Ā + C + (Ā C) + B b Ā + C (Ā C) + B. 3. The center (x 0, y 0 ) of the ellipse is given by x 0 y 0 BE CD 4AC B BD AE 4AC B BĒ C D 4Ā C B B D ĀĒ 4Ā C B.

CALIBRATION OF AN ELLIPSE S ALGEBRAIC EQUATION... 3 4. The angle θ between the x-axis and the major-axis of the ellipse is given by θ cot 1 (A C)/B cot 1 (Ā C)/ B. Proof. Eliminate the parameter t from equation () of the ellipse, the result is (x x0 ) cos θ + (y y 0 ) sin θ (x x0 )( sin θ) + (y y 0 ) cos θ (4) + 1 a b On expanding equation (4) and comparing the result with equation (1) we get (5) A a sin θ + b cos θ, B (b a ) sin θ cos θ, C a cos θ + b sin θ (6) (7) D x 0 A y 0 B, E y 0 C x 0 B F Ax 0 + Bx 0y 0 + Cy 0 a b solving equations (6) simultaneously for x 0 and y 0, then BE CD (8) x 0 4AC B, y BD AE 0 4AC B Replacing x 0 and y 0 in equation (7) by their values in equations (8), then (9) F CD + AE BDE 4AC B a b Using equations (5), the following is obtained (10) (11) 4AC B 4a b, A + C a + b A + B / + C a 4 + b 4, (A C) + B (a b ) (1) cot θ A C B Now, replace a b in equation (9) by its value in the first of equations (10), then (13) (4AC B ) + 4F (4AC B ) 4(CD + AE BDE) 0 Equation (13) is an important equation since it depends only on the coefficients of equation (1), the algebraic equation of the ellipse. If the coefficients of equation (1) satisfy equation (13), then equations (5 1) are valid. But if the coefficients of equation (1) do not satisfy equation (13) then equation (1) should be multiplied by a number δ 0 to force their coefficients to satisfy equation (13). This process is called calibration of the algebraic equation of the ellipse. Thus, to define the calibration number δ replace A, B, C, D, E, and F in equation (13) by δa, δb, δc, δd, δe, and δf respectively and solve for δ excluding δ 0, then: (14) δ 4 CD + AE BDE) F (4AC B ) (4AC B ) Now, let the calibrated equation be Āx + Bxy + Cy + Dx + Ēy + F 0, then in equations (5 1) the coefficients of the algebraic equation are replaced by the coefficients of the calibrated algebraic equation. Thus, the center (x 0, y 0 ) is obtained as in equations (8): BE CD BĒ C D (15) x 0 4AC B 4Ā C B, y BD AE 0 4AC B B D ĀĒ 4Ā C B Solving simultaneously equations (10) calibrated, the lengths of the semi-axes are: (16) a Ā + C + (Ā C) + B, b Ā + C (Ā C) + B

4 MOHAMED ALI SAID The angle θ between the major-axis and the x-axis is determined as in equation (1): (17) cot θ A C B The proof of the theorem is completed Ā C B It can be seen from equations (15 17) that only two parameters of the five parameters of the ellipse, namely the lengths of the semi axes, need the calibration of the equation. However, the calibration of the algebraic equation of the ellipse helps in deducing many useful relations like those in equations (10 1). Some variants of such relations are used as constraints in ellipse fitting method. For example in 4 the constraint used is 4AC B 1, also in other papers A+C 1, and A + B / + C 1 are used. The goodness of such constraints can now be seen in the light of the calibration process. Lemma 1. The invariants of the calibrated algebraic equation of an ellipse are: I 1 a + b, I a b, and I 3 a 4 b 4. Thus, the invariants are functions of the lengths of the semi axes and only two of them are independent, namely I 1 and I. Proof. I 1 Ā + C a + b, where use is made for the second in equations (10) calibrated. For I take account of equation (3) and the first of equations (10) calibrated, then I Ā C B /4 (4a b )/4 a b as required. For I 3 make use of equations (3), (5), and (6 7) calibrated, then I 3 F (4Ā C B ) (ĀĒ + C D B DĒ) a 4 b 4 (I ) 4 as required. This lemma agrees with the intuition that an ellipse s shape is completely determined by lengths of its semi axes regardless of its position in the plane. Lemma. For an ellipse s algebraic equation, the calibration number δ I 3 /(I ) and thus is invariant. Proof. Since I (4AC B )/4, and then δ 4 (CD + AE BDE) F (4AC B ) (4AC B ), I 3 F (4AC B ) (AE + CD BDE), 4 δ 4 4I 3 (4I ) I 3 I. Since I and I 3 are invariants then δ is invariant under the same coordinates transformations. Lemma 3. For the calibrated equation of an ellipse: i. Ā + B /+ C a 4 +b 4, and (Ā C) + B (a b ) both are invariants. ii. The eigenvalues of the matrix Ā B/ B/ C are λ 1 a and λ b. iii. a I 1 + (I 1 ) 4I / and b I 1 (I 1 ) 4I /.

CALIBRATION OF AN ELLIPSE S ALGEBRAIC EQUATION... 5 Proof. i. a 4 + b 4 (I 1 ) I and (a b ) a 4 + b 4 a b (I 1 ) I I ii. Simple. iii. Use the definition of I 1 and I in lemma 1 and solve for a and b. Special Cases. As mentioned before δ I 3 /(I ). If δ < 0 then I 3 > 0 and the ellipse is imaginary. While if δ 0, the ellipse degenerates to a point since I 3 0. Conclusion. The concept of calibration introduced here allows a deeper insight to ellipses and helps in solving some problems related to them. The concept of calibration can be extended directly to hyperbolas and almost the same results can be obtained. References 1 M. Afwat. Algebra and Analytic Geometry. Zagazig University, 1999. N. Bennet et al. A method to detect and characterize ellipses using hough transform. IEEE Trans. Pattern Anal. & Machine Intel., (4), April 000. 3 G. Farin. From conics to NURBS: A tutorial and survey. IEEE Computer Graphics & Applications, September 199. 4 A. Fitzgibbon et al. Direct least squares fitting of ellipses. IEEE Trans. Pattern Analysis & Machine Intelligence, 1(5), May 1999. 5 V. A. Ilyin and E. G. Poznyak. Analytic Geometry. Mir Pub., 1984. pp. 176 190. 6 D. F. Rogers. Mathematical Elements For Computer Graphics. McGraw-Hill, 1976. pp. 94 115. 7 I. Zeid. CAD/CAM Theory and Practice. McGraw-Hill, 1991. pp. 187 1. Received September 0, 00.; in revised form April 7, 003. Dept, Faculty of Engineering, Zagazig University, Zagazig, Egypt E-mail address: mmamsaid@hotmail.com