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

Home » Public Forums » archive » Re: Full Image Display
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: Full Image Display [message #37810 is a reply to message #37802] Fri, 23 January 2004 12:26 Go to previous messageGo to previous message
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
Gaurav wrote:
> Hello everybudy!
> Could anyone please tell me...how do we display a image in IDL?
> Right now i am using the 'TV' function but it is not displaying the
> full image. It is actually displaying only a 512*512 portion of the
> image (irrespective of the actual size of the image provided it is
> more than 512*512). Can anyone tell me why does it happen so & also
> suggest a better alternative for the 'TV' function.
>

Hello,

The TV command is drawing the entire image, but I expect you window size
is not matched to the image size. Any portion of you image that isn't
displayed is drawn 'off-canvas' so to speak. Try the following...

dim = SIZE(image, /DIM)
Window, /FREE, xsize = dim[0], ysize = dim[1]
TV, image

If you have a very large image, you should consider spending time at
www.gumley.com and www.dfanning.com where you can find more robust image
display software for IDL. Come to think of it, you should spend some
time at those sites just for general IDL know-how.

Cheers,
Ben
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Extracting ROI without IDL objects is it possible
Next Topic: Virtual Machine in Windows

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

Current Time: Thu Oct 09 23:04:45 PDT 2025

Total time taken to generate the page: 1.28160 seconds