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

Home » Public Forums » archive » Image Object ROI selection
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: Image Object ROI selection [message #12726 is a reply to message #12578] Wed, 26 August 1998 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Randy Sloan (jrsloan@mrsc.ucsf.edu) writes:

> I'm trying to update an old MRI image analysis program that was written
> for pre-5.0 IDL. I'd like to use object graphics as much as possible,
> but can't figure out if there is a way to select ROI's of an image
> object. Data picking will give me one point, but I need the ability to
> select polygon, square, and circle ROI's of an image. The CW_DEFROI and
> DEFROI procedures don't like the draw widget since it seems to be
> treated as an object itself (with the graphics_level set to 2).

You are going to have to write you own. I recommend using
a PolyLine object in conjunction with widget events. This
would allow you to easily write an Object DEFROI for yourself.

As it happens I am getting together starting tomorrow with
two other hotshot IDL programmers. (Well, *they* are hotshot
IDL programmers. I try to come up with a few good ideas. :-) )
Three computers, three days of object graphics programming,
one room. The idea is to see if we can use some IDL synergy
to get a start on some programs for a shareware library.
This is a great idea for the kind of object functionality
we want to write. I'll let you know.

Cheers,

David

----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438, Toll-Free Book Orders: 1-888-461-0155
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Previous Topic: Re: MATLAB to IDL converter?
Next Topic: Re: What is going on with the minor ticks on log plots?????

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

Current Time: Wed Oct 15 23:12:10 PDT 2025

Total time taken to generate the page: 0.79855 seconds