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

Home » Public Forums » archive » 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: Images [message #91955 is a reply to message #91954] Tue, 22 September 2015 15:42 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Tuesday, September 22, 2015 at 7:10:50 PM UTC-3, Joyrles Fernandes wrote:
> I have many images of dimensions [512,512], 320 images.
> I want to take a piece of each([1,512] and I want to join the images' pieces in a only array, for example [320,512].

The answer depends on what you mean by "having images". Are the images in files? One file per image? Guessing the answer to both questions is yes, and that you have an array with the 320 file names (let's call it filenames), one possible way might be something like

compound_image=dblarr(320,512) ;guessing that your image data are doubles
for i=0,319 do compound_image[i,*]=(read_image(filenames[i]))[1,*]
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Can't read responses to my comment!
Next Topic: Legend object without border

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

Current Time: Sat Oct 11 09:05:44 PDT 2025

Total time taken to generate the page: 2.95950 seconds