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

Home » Public Forums » archive » Re: fast magnification routine needed
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: fast magnification routine needed [message #2268 is a reply to message #2263] Mon, 13 June 1994 09:34 Go to previous messageGo to previous message
peter is currently offline  peter
Messages: 80
Registered: February 1994
Member
Victor Shvetsky (vshvetsk@fourier.oac.uci.edu) wrote:

: I have a 20x20 array that I would like to magnify to 200x200
: It works like this- as my cursor moves around the picture, that part of the picture is magnified in real time in a second window by a facvtor of ten (20->200)
: Right now I am using the REBIN routine,, and I was wondering if there is anuything FASTER than that. Is it possible to STORE THE WHOLE image magnified into the memory and just display a part of it in the window- wouldiot be faster?
: If so, what is the command that SAVES the image into the memory, because
: I know to retrievce, I hhave to typre: tvrd
: Thanks in advance


Victor,

By far the fastest way to copy images around is to let the X server take
care of it. Assuming you have a displayed image, use TVRD to read
the screen, then magnify the whole image with REBIN and display it in a hidden
pixmap (see the /pixmap keyword to WINDOW). Then, use DEVICE, /COPY to
copy sections of the pixmap to your displayed window. You should get
real time performance this way.

Peter
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: undocumented IDL built-in TVRDC
Next Topic: Re: How to contact Visual Numerics?

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

Current Time: Sun Oct 12 04:37:42 PDT 2025

Total time taken to generate the page: 0.56120 seconds