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 #69338] Tue, 05 January 2010 07:55 Go to previous message
fburton is currently offline  fburton
Messages: 19
Registered: June 2003
Junior Member
In article <MPG.25ace65126e824569896c7@news.giganews.com>,
David Fanning <news@dfanning.com> wrote:
> Alas, the problem with the contours that come from
> the contour command is that some of the time they
> are NOT "well spaced". In fact, they are vectors.
> So, if a contour segment is straight (say along an edge)
> there will be no points at all between the ends
> of the straight segment.

Good point - but for a complete set of edge points to fit
an ellipse well would require it to be exceedingly eccentric.
A likely alternative is that part of the ellipse lies outside
the contoured area, in which case not having any points along
the straight edge would give a better fit.

> It was to get around this problem (among others) that
> I wrote ArcSample, which samples a closed curve at
> approximately equal intervals. It essentially
> digitizes a contour line so you can do something
> useful with it later. (I used it in my ActiveContour
> program.)
>
> http://www.dfanning.com/programs/arcsample.pro

That's neat!

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: Wed Oct 08 20:01:43 PDT 2025

Total time taken to generate the page: 0.03025 seconds