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

Home » Public Forums » archive » Re: Regarding the Fit_Ellipse Program
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: Regarding the Fit_Ellipse Program [message #58902 is a reply to message #58888] Tue, 26 February 2008 06:46 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
plim.dreaming@gmail.com writes:

> The last time I posted here I got awesome help and I have what I
> believe is a smaller problem this time.
> I am trying to use the fit_ellipse program (http://www.dfanning.com/
> ip_tips/fit_ellipse.html) and having some difficulty in that my ROI is
> a contour defined by a 2-D array and not a 1-D array of pixels.
> My 2-D array contains the x and y positions of all the points along
> that contour (or ROI) so I am trying to translate this fit_ellipse
> program to something I can use.

Use your contour with POLYFILLV to get the indices inside
the contour. (Or, put your contour into an IDLanROI object
and use the inherit methods there to do the same, with
slightly different results.) Then, you can create the
"blob" that works with FIT_ELLIPSE. I personally feel
a bit more secure with the IDLarROI method, but I've
used both. I've convinced myself that both methods are
"accurate," whatever that means. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Labeling the x-axis with a non standard time string
Next Topic: Re: Create an ENVI .img file

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

Current Time: Sun Nov 30 21:17:12 PST 2025

Total time taken to generate the page: 0.72568 seconds