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

Home » Public Forums » archive » BOX_CURSOR
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: BOX_CURSOR [message #35837 is a reply to message #7397] Thu, 31 July 2003 19:11 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
michela writes:

> I am using box_cursor to select a box in a larger image. The problem
> is that if the image I displayed shows large pixel-to-pixel variation
> (like for example ima=randomu(seed,500,500))
> the box that box_cursor plots on the image is invisible.
> I tried to change the color of the box by changing the color table,
> but it does not work
> Someone can give me a suggestion?

Don't use Box_Cursor. :-)

Box_Cursor uses an "XOR" technique. What you
want is a "Device Copy" technique. Look, for
example, at how this is done in ZIMAGE, which
allows you to draw a box (of a particular color)
in a image to create a zoom region.

http://www.dfanning.com/zimage.pro

And here is an article that describes the
"Device Copy" technique in some detail:

http://www.dfanning.com/widget_tips/rubberband_widget.html

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
Previous Topic: BOX_CURSOR
Next Topic: Re: String Data file

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

Current Time: Mon Dec 01 16:00:26 PST 2025

Total time taken to generate the page: 2.16980 seconds