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

Home » Public Forums » archive » Re: objects ROIS
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: objects ROIS [message #16086] Tue, 29 June 1999 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
gabriel rodriguez ibeas (gabriel@gbt.tfo.upm.es) writes:

> I would like to know if anybody has ever worked with ROIS and
> Graphics Objects. What I would like to do is define a ROI trough user
> interaction in a DRAW_WIDGET, (object type) and get all the index of a
> IDLgrImage data that lie within the roi (I thick the procedure DEFROY
> does something similar, but with direct graphics)
>
> I would appreciate some basic tips to start playing arount, but I
> would not mind at all a closed program that did something similar.

A draw widget is a draw widget, whether you are putting direct
graphics into or object graphics. The most you can get out of
a draw widget when you are moving the cursor inside it are
a series of *locations* in the draw widget window, usually in
device coordinates.

It is up to you as a programmer to turn those locations
into something meaningful. This is as true in direct graphics
as it is in object graphics. Making meaningful inferences
about locations is made infinitely easier if there is a one
to one correlation between the location in the window and
the same location in the image. But, again, this has
absolutely nothing whatsoever to do with what kind of
graphic system you choose to use.

I would have to think a good long time, however, for
a reason to use object graphics images over direct
graphics images. (Any application that required
alpha channel capability would be one.)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@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: EVENT_FUNCS
Next Topic: objects ROIS

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

Current Time: Wed Oct 08 19:36:27 PDT 2025

Total time taken to generate the page: 0.00498 seconds