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

Home » Public Forums » archive » Re: ROI with IDLanROI & IDLgrROI
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
Re: ROI with IDLanROI & IDLgrROI [message #35079] Wed, 14 May 2003 16:04
Pavel Romashkin is currently offline  Pavel Romashkin
Messages: 166
Registered: April 1999
Senior Member
Watch it! :-)
Pavel

David Fanning wrote:
>
>
> Don't worry about it. Pavel was posting just this morning,
> so we are used to the syntax. :-)
>
Re: ROI with IDLanROI & IDLgrROI [message #35111 is a reply to message #35079] Mon, 12 May 2003 16:14 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Sergey Koposov (astro@mccme.ru) writes:

> Can somebody help me? I have the following problem. I'm writing the
> program for ROI creating. I don't want to use the xroi program (because
> it is superfluous for my own purposes, and because I want to study the
> object-oriented writing in IDL).
> I need the progam to construct the ROI bounded by the the freehand drawn
> curve. The IDLanROI class allow to define a set of points as the path.
> But the mask constructed by the way of the path is the area near the
> curve, but I need to include in the mask all points placed inside the curve.
> In brief, I wanted to construct the ROI bounded by the the freehand
> drawn curve by means of the IDL ROI classes. Is it possible? If no, how
> to solve my problem without IDL ROI classes?

It is odd that you can't get the indices directly from
the IDLanROI object, but if that were the only thing odd
about IDL we would all be grateful. :-)

You *can* get the indices indirectly, via the POLYFILLV
function. Here is an article that explains the process:

http://www.dfanning.com/ip_tips/xroi.html

> PS Excuse me for the bad english :) , but I hope that my message was
> nevertheless understandable:)

Don't worry about it. Pavel was posting just this morning,
so we are used to the syntax. :-)

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: freehand ROI and mask with IDLanROI. Solution.
Next Topic: Re: file_search windows problem

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

Current Time: Fri Oct 10 12:47:39 PDT 2025

Total time taken to generate the page: 1.28238 seconds