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

Home » Public Forums » archive » map_image in IDL
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
map_image in IDL [message #5920] Wed, 13 March 1996 00:00 Go to next message
linda_peco is currently offline  linda_peco
Messages: 1
Registered: March 1996
Junior Member
I am trying to map an image to a map in IDL. I use map_set to establish
the type of map I am creating, then I use map_image to create the image I
will be using. The image is an integer array of the size (2048,1024). When
map_image is used, the result is an array about half the size.
Unfortunately, the image is no longer smooth. Is there any way to force
map_image to give me an output array equal in size to my input array?



Any assistance would be appreciated.

Linda M. Peco
linda_peco@jhuapl.edu
Johns Hopkins University Applied Physics Laboratory
Re: map_image in IDL [message #5992 is a reply to message #5920] Fri, 15 March 1996 00:00 Go to previous message
Liam Gumley is currently offline  Liam Gumley
Messages: 473
Registered: November 1994
Senior Member
Linda M. Peco wrote:
> I am trying to map an image to a map in IDL. I use map_set to establish
> the type of map I am creating, then I use map_image to create the image I
> will be using. The image is an integer array of the size (2048,1024). When
> map_image is used, the result is an array about half the size.
> Unfortunately, the image is no longer smooth. Is there any way to force
> map_image to give me an output array equal in size to my input array?

Linda,

MAP_IMAGE is going to resize the image to fit the area defined by the
map edges - there is no way around it. If the you don't like the way the
image looks, then add the keywords (BILINEAR=1, COMPRESS=1): the image should
look somewhat better. The only way to increase the size of the image produced
by MAP_IMAGE is to use a bigger display window in the first place, before you
run MAP_SET (Note that these comments apply only to video display devices
with fixed pixel sizes. If you are using the Postscript device, then the
MAP_IMAGE keyword SCALE may be useful).

Cheers,
Liam.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Lift the "ban" :-)
Next Topic: Widgets - 3.6 -> 4.0 Aaarrrggghhh!!

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

Current Time: Wed Oct 08 18:40:08 PDT 2025

Total time taken to generate the page: 0.00722 seconds