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 #58876] Tue, 26 February 2008 12:44 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
plim.dreaming@gmail.com writes:

> I finally got the polyfillv to work (after converting my data to
> device coordinates) but it won't plot because of memory (unable to
> allocate memory to make array). I imagine this may be related to the
> fact that the !d.x_size is 17780. Am I wrong in thinking this?

Wow! Where do you work that they bought you a monitor
as big as a city block!?

What, exactly, did you try to "plot", and what
commands did you use to do it?

> I generally see the device size as being 512.
> And I am new to IDLanROI so I have been reading through
> http://www.physics.nyu.edu/grierlab/idl_html_help/objects_an 3.html
> and am still at a loss as to how I can convert the contour plot into a
> ROI and fit an ellipse to it... any links to tutorial pages would be
> stellar! I think I am at a similar stage of confusion as this one guy
> whose post I found and paste below:

You see! These are so easy *anyone* can learn to use them. ;-)

When I was learning to use them, I was still intimidated
by people throwing big words around (polymorphism, inheritance, etc.).
Once I learned they were talking about IDL procedures and functions,
I was fine. Basically, I just load the polygon (the output from your
contour plot) into them in the INIT method, and then I use the method
ComputeMask in place of POLYFILLV and the method ComputeGeometry for
everything else I need to know. It really is very, very simple.

If you can't figure it out in five minutes, let me know, and I'll
see if I can scare up an example.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming (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 Oct 12 08:01:24 PDT 2025

Total time taken to generate the page: 1.76309 seconds