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

Home » Public Forums » archive » Re: One ellipse to rule them all
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: One ellipse to rule them all [message #58622] Mon, 11 February 2008 15:06 Go to previous message
ianpaul.freeley is currently offline  ianpaul.freeley
Messages: 18
Registered: March 2007
Junior Member
On Feb 11, 4:51 pm, David Fanning <n...@dfanning.com> wrote:
> ianpaul.free...@gmail.com writes:
>> I'm hoping someone has done this before and can help me out.
>
>> I have a bunch of x,y points, and I'd like to find the ellipse (with
>> minimum area) that encompasses all of them. Any thoughts?
>
> I can show you how to find an ellipse:
>
> http://www.dfanning.com/ip_tips/fit_ellipse.html
>
> To enclose all the points I would, uh, expand it
> slowly. :-)
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming (www.dfanning.com)
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

My gut tells me I should be able to do it analytically. I *think* the
two points that have the largest separation should define the major
axis and position angle. Then I just need to fit for the minor axis
from the rest of the points, and the largest one is the winner.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL batchfile as a linux script?
Next Topic: mpfit: what's different

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

Current Time: Fri Oct 10 01:36:15 PDT 2025

Total time taken to generate the page: 2.40128 seconds