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 #37802 is a reply to message #37801] Sat, 24 January 2004 10:15 Go to previous messageGo to previous message
gauravjn123 is currently offline  gauravjn123
Messages: 7
Registered: July 2003
Junior Member
Thanks for the help....first i tried the method suggested by Mr. Ben
Tupper....but it dint work out (i tried it with dim(1) & dim (2) also
) ....it was just displaying a blank window.

Then i tried to work with TVIMAGE.pro & it is working fine. Yet
there is this problem of the window size...whatever be the true size
of the image, it is always displayed in a 512 x 512 window

Cheers
Gaurav

Ben Tupper <btupper@bigelow.org> wrote in message news:<bus02h$km9tr$1@ID-189398.news.uni-berlin.de>...
> 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: Fri Oct 10 23:13:32 PDT 2025

Total time taken to generate the page: 0.64047 seconds