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

Home » Public Forums » archive » Re: fitting contours with ellipse
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: fitting contours with ellipse [message #69343 is a reply to message #69341] Tue, 05 January 2010 03:22 Go to previous messageGo to previous message
fburton is currently offline  fburton
Messages: 19
Registered: June 2003
Junior Member
In article <2219a304-4c24-4d4d-ab33-4e8c2dce92de@m25g2000yqc.googlegroups.com>,
collinritzinger <b0burk02@gmail.com> wrote:
> I have several contour maps and I'd like to have a more quantitative
> way of describing how 'peaked' or 'boxy/circular' they are. I was
> thinking of doing this by fitting an ellipse to the contours and
> examining best fit parameters. People have done this for blobs before
> (see http://www.dfanning.com/ip_tips/fit_ellipse.html) but I'm not so
> sure how to go about it for contours. Do you all have any ideas?
> Thanks!

One requirement for a 'good fit' in this case is to have as
much of the ellipse represented by data points as possible
(i.e. no big gaps). The set of coordinates returned by CONTOUR
using the PATH_INFO keyword should be well-spaced at least;
whether there are enough coordinates will depend on the size
of the contour path in relation to the grid spacing. I would
simply feed the coordinates to the ellipse-fitting routine
and see if it produces sensible results for your data.

Francis
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: How to get IDL 6.3 to create TIFF file using signed 16-bit integers.
Next Topic: Re: envi_title_bar.ico missing and null pointer dereferenced error when using .sav file in ENVI

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

Current Time: Thu Oct 09 22:40:51 PDT 2025

Total time taken to generate the page: 0.47961 seconds