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

Home » Public Forums » archive » ellipse fitting?
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: Ellipse fitting? [message #66404 is a reply to message #30371] Tue, 12 May 2009 15:10 Go to previous messageGo to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article
<36e1b1d7-1a57-4da6-afa4-d4925ed150ea@g20g2000vba.googlegroups.com>,
robparker23@googlemail.com wrote:

> Hi,
>
> I was hoping that someone could help with this.
>
> I have a satellite footprint which is more or less elliptical. I have
> the 4 coordinates of the top, bottom, left and right-most points and
> want to fit an ellipse to these 4 coordinates.
>
> I've put a diagram here to explain: http://img217.imageshack.us/img217/5048/ellipse.png
>
> I've googled this quite a bit and there seem to be lots of ways to fit
> ellipses to complicated data sets using techniques like optimal
> estimation but I can't find an easy/quick way of doing it. To do this
> manually I think I could just take the equation for an ellipse and
> adjust it to fit but I need to do this automatically for a large
> number of points where the shape of the ellipse will change depending
> on the location.
>
> This gets slightly more complicated (doesn't it always) as the shape
> may not quite be an ellipse due to the geometry of the satellite (it
> might have one side slightly "fatter" than the other) and it might be
> titled at an angle (so not horizontal).
>
> Does IDL have any ellipse fitting capabilities built in or is anyone
> familar with a solution that might work?
>
> Cheers

If you know those four point, then you can find the center of the ellipse,
the semi-major axis a, and the semi-minor axis b, which are all of the parameters
of an ellipse (except for an arbitrary rotation).

Look up the definition of an ellipse in your analytical geometry text
or the fount of all wisdom

http://en.wikipedia.org/wiki/Ellipse


Ken Bowman
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL 7.0 (Windows version) - widget_table does not generate expected event
Next Topic: JPEG2000 compression

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

Current Time: Wed Oct 08 16:51:43 PDT 2025

Total time taken to generate the page: 0.00348 seconds