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

Home » Public Forums » archive » Re: How to scale image in idl?
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: How to scale image in idl? [message #6233 is a reply to message #6231] Wed, 15 May 1996 00:00 Go to previous messageGo to previous message
David Foster is currently offline  David Foster
Messages: 341
Registered: January 1996
Senior Member
peter@hpl.hp.com (Peter Webb) wrote:
>
> Watcher (dliu@cs.tufts.edu) wrote:
> : I've used tv and tvscl to display the image, however it is too honest to
> : the size of the image itself. Is there a way to scale the image so that
> : it fits the display window?
>
> Use CONGRID to interpolate the image matrix to the window size.

You can also use EXPAND to change the size of an image. It's similar
to CONGRID and I don't know which one is faster. They have slightly
different options available.

If the window size is an integer multiple of the image size
then use the REBIN function as it is significantly faster,
especially for large images.

Dave Foster
UCSD Brain Image Analysis Lab
foster@bial1.ucsd.edu
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem when using polyfill with maps
Next Topic: (no subject)

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

Current Time: Fri Oct 10 13:37:06 PDT 2025

Total time taken to generate the page: 0.15964 seconds