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

Home » Public Forums » archive » Re: reading in images
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: reading in images [message #54019] Mon, 14 May 2007 08:26 Go to previous message
grubab is currently offline  grubab
Messages: 2
Registered: May 2007
Junior Member
On May 14, 3:48 pm, David Fanning <d...@dfanning.com> wrote:
> Ingo von Borstel writes:
>> newimage = dblarr(xsize,ysize)
>> newimage[(xsize-imageSize[0])/2:(xsize-imageSize[0])/2+image Size[0],(ysize-imageSize[1])/2:(ysize-imageSize[1])/2+imageS ize[1]]
>> = image
>> tv, newimage
>>> end
>
>> Create a new image that is the size of your window. Place the old image
>> within the centre of the newly created image and then display it. I hope
>> I didn't do any mistake within the implementation above; you might need
>> to adjust the indices slightly, I haven't tested it.
>
> Oh, for heaven's sake. Download TVIMAGE and use that.
>
> http://www.dfanning.com/programs/tvimage.pro
>
> Then,
>
> IDL> TVImage, image
>
> It will be big enough for you to see it. :-)
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/

thanks alot, i already found your tvimage program.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: reading in images
Next Topic: Max number of elements in an array

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

Current Time: Fri Oct 10 14:27:46 PDT 2025

Total time taken to generate the page: 1.76043 seconds