comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Minimum area ellipse - quadratic optimisation?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Minimum area ellipse - quadratic optimisation? [message #47559 is a reply to message #47558] Thu, 16 February 2006 07:15 Go to previous messageGo to previous message
Paolo Grigis is currently offline  Paolo Grigis
Messages: 171
Registered: December 2003
Senior Member
well, since you said that the center is fixed:

find the minimum area circle (which has the radius equal the distance
from the farthest point to the center, very easy) and squeeze it progressively
(along the direction perpendicular to the line connecting the center
to the farthest point) until you get a point outside the ellipse.
Trace one step back, and you're done!

Ciao,
Paolo

Olivia wrote:
> Dear All,
>
> My aim is to fit an ellipse with a known center onto a distribution of
> points, where all points have to be inside or on the ellipse, and the
> ellipse chosen is of the minimum area.
>
> I thought a brute force and not very clever way of doing this would be
> to calculate the area taking each set of 3 points to solve the 3
> remaining unknowns, (a, b, and orientation angle), in the ellipse
> equation, and finding which one had the smallest area. But this
> wouldn't work obviously as there would be no condition that all the
> other points have to be inside the ellipse. I have read up on quadratic
> optimization but have to admit I do not really understand the maths.
>
> I posted on this topic before, but it is important that my ellipse
> fitting method does not rely on convex hulls. I wrote a program which
> does fit ellipses to the point distributions, but not the ellipses with
> the minimum area.
>
> I am sure the problem can't be as hard as I am finding it, and I am
> feeling right now like drawing the 600 or so ellipses my program needs
> myself! Any suggestions really would be very helpful. Thanks,
>
> Olivia
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Another file_search problem
Next Topic: Re: IDLWAVE 6.0 -- idlwave.org

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:32:30 PDT 2025

Total time taken to generate the page: 0.00178 seconds