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 #66394 is a reply to message #30371] Wed, 13 May 2009 06:18 Go to previous messageGo to previous message
David Gell is currently offline  David Gell
Messages: 29
Registered: January 2009
Junior Member
On May 12, 3:36 pm, robparke...@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

For what purpose do you want to fit the four points to an elipse? If
it is to plot the foot print, you might be better off computing the
location of a number of points around the foot print and plot them.
For reference see Wertz,J.R and W.J. Larson(eds), Space Mission
Analysis and Design, Kluwer Academic Publishers, 1999 ISBN
1-881883-10-8. In particular Chapter 7 Section 2, "Earth Coverage"
[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: Fri Nov 28 21:50:09 PST 2025

Total time taken to generate the page: 0.00855 seconds