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

Home » Public Forums » archive » Can the underlying algorithm used in CONTOUR be accessed somehow?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Can the underlying algorithm used in CONTOUR be accessed somehow? [message #90845] Mon, 27 April 2015 22:18 Go to next message
Matt Francis is currently offline  Matt Francis
Messages: 94
Registered: May 2010
Member
I need a quick and dirty contour finding algorithm, but I actually need the contour paths as data (i.e. rather than just plotting them on an image). The algorithm that CONTOUR uses would be fine, but I can't see that this can be called independently to return some data describing the contour path.

Is there some other contour finding implementation out there?
Re: Can the underlying algorithm used in CONTOUR be accessed somehow? [message #90846 is a reply to message #90845] Mon, 27 April 2015 22:48 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Bogdanovist writes:

> I need a quick and dirty contour finding algorithm, but I actually need the contour paths as data (i.e. rather than just plotting them on an image). The algorithm that CONTOUR uses would be fine, but I can't see that this can be called independently to return some data describing the contour path.
>
> Is there some other contour finding implementation out there?

Try the IsoContour procedure.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
Re: Can the underlying algorithm used in CONTOUR be accessed somehow? [message #90847 is a reply to message #90845] Mon, 27 April 2015 23:22 Go to previous message
Fabzi is currently offline  Fabzi
Messages: 305
Registered: July 2010
Senior Member
On 04/28/2015 07:18 AM, Bogdanovist wrote:
> but I can't see that this can be called independently to return some data describing the contour path.

Isn't that what you want?

Contour, data, PATH_INFO=info, PATH_XY=xy, XSTYLE=1, $
YSTYLE=1, /PATH_DATA_COORDS
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Duplicating an array help
Next Topic: Excessive Messages When Building Project

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

Current Time: Wed Oct 08 13:39:58 PDT 2025

Total time taken to generate the page: 0.00494 seconds