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

Home » Public Forums » archive » Re: Store images into an array of 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: Store images into an array of images [message #52757] Thu, 01 March 2007 08:30 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
aleks.franca@gmail.com wrote:
> Hy!
> I need to store Images into an array of images. How do I do that in
> IDL programming? Is it possible? Please someone help me.
>
If your images have different sizes or types, you would have to use an
array of pointers

arr_img = ptrarr(NbOfImages)

arr_img[0] = ptr_new(image0)
arr_img[1] = ptr_new(image1) etc

If there are all of the same size and type, then there is no problem at
all...

arr_image = intarr(Xsize, Ysize, nbOfImages) ;change intarr for the
proper type
arr_image[0] = image0
etc

Jean
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDL support for international characters (unicode)
Next Topic: How can I multi-plot in IDL with the coordinates set by myself?

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

Current Time: Sat Oct 11 04:01:11 PDT 2025

Total time taken to generate the page: 0.80342 seconds