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

Home » Public Forums » archive » Re: Still getting trouble with ROI's
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: Still getting trouble with ROI's [message #37886 is a reply to message #37885] Tue, 03 February 2004 03:02 Go to previous messageGo to previous message
Nuno Oliveira is currently offline  Nuno Oliveira
Messages: 75
Registered: October 2003
Member
At this stage I'm trying to build an application that draw and manages ROI'
s, with some requirements but still trying to make it simple. My priorities
make that I'm trying to maximize the use of idl functions. And then when
finished, if I still have time for development then I make some functions of
my own. That was the reason why was making use of cw_defroi

(and I'm still trying)



Besides drawing, it should allow the user, to move and eventually resize,
and to save and load. I was thinking of making it through x and y indices.
I can "see" if the user presses the arrows and then affecting the indices.
For resizing, checking if the user clicks the border and then .



I haven't think in the solution for all options. But for now it is clear
that if I want to manipulate the roi I need to get the indices in the (x,y)
form.


"David Fanning" <david@dfanning.com> wrote in message
news:MPG.1a883b05b7f372e19897cd@news.frii.com...
>
> I presume you are trying to draw a polygon, right? And you
> want the coordinates of the polygon, *not* the indices of
> the points inside the polygon. Is that right? The requirement
> for my program is that the ROI points be drawn in a freehand
> way. Does that bother you?
>
> Give me a day or two. Perhaps late tonight, although--of course--
> that will mean a LOT more testing on your part. :-)
>
> 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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Using CALL_EXTERNAL with C++ Code
Next Topic: Virtual Machine Crashes :-(

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

Current Time: Fri Oct 10 08:58:44 PDT 2025

Total time taken to generate the page: 2.24181 seconds