Google Answers Logo
View Question
Q: Convert Ellipse fitting algorithm to C++ code ( No Answer,   0 Comments )
Subject: Convert Ellipse fitting algorithm to C++ code
Category: Computers > Algorithms
Asked by: dw31-ga
List Price: $20.00
Posted: 14 Oct 2006 05:54 PDT
Expires: 15 Oct 2006 21:26 PDT
Question ID: 773388
I need a C++ code that can take a set of (x,y) coordinates and fit an
ellipse to them. You can find a JAVA version and a MATLAB version of
the algorithm here:

There will be 3 items in the input, an array of shorts of x
coodinates, an array of shorts of y coordinates, and the number of
points (ie. length of the x and y coordinate arrays, which should be
the same). The output should return the following parameters of the
fitted ellipse: x and y coordinates of the center, length of major and
minor axis, and angle of the ellipse. The MATLAB version of the code
does this exactly, but the JAVA version will require a little bit of
There is no answer at this time.

There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  

Google Home - Answers FAQ - Terms of Service - Privacy Policy