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

Home » Public Forums » archive » Re: Putting bands together
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: Putting bands together [message #42787 is a reply to message #42785] Thu, 24 February 2005 02:55 Go to previous messageGo to previous message
julio is currently offline  julio
Messages: 31
Registered: December 2003
Member
Hello there,

The images are small... The problem is I don't know the number of
images to put together. The final multiband image can contain any
number of bands (2 up to 20)...

How can I read one by one and put them into an array?

Here goes what I'm tring:

; pick the files
ARQ = DIALOG_PICKFILE(/READ, Title=['Selecione Arquivos de Entrada'],$
FILTER = ['*.mvc'],path=dir,/MULTIPLE_FILES)
n = N_ELEMENTS(arq)

; open each file and put into temp array
for i=0,n-1 do begin
OPENR, cab, arq[i],/GET_LUN
temp = fltarr(nc,nl,nb)
READU, cab, temp
endfor
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Singular jacobian in broyden
Next Topic: ENVI Error: Negative position argument not allowed

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

Current Time: Thu Oct 23 00:23:52 PDT 2025

Total time taken to generate the page: 0.00261 seconds