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

Home » Public Forums » archive » Re: MIP from BMP 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: MIP from BMP Images [message #76820 is a reply to message #76817] Wed, 06 July 2011 16:04 Go to previous messageGo to previous message
R.G.Stockwell is currently offline  R.G.Stockwell
Messages: 163
Registered: October 2004
Senior Member
"M R" wrote in message
news:86356112-451a-4e39-bbee-f6a652440655@5g2000yqb.googlegr oups.com...
...
> arm=bytarr(2216,1254,255,/nozero)
> for i=0,254 do begin
> file=file_search('filepath.bmp')
> image=read_image(file[i])
> arm=image[i]
> end
> TV,MAX(arm,dimension=3)
> end

do not call file_search inside the loop. Also, one often uses file_search
with wildcards.


> % Attempt to subscript FILE with I is out of range.

how could file_search possible return more than one file here, you have an
explicit full filename. To quote the Highlander, there can be only one.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Aw: Re: Aw: Re: TOTAL gives totally different result on identical array
Next Topic: Variable is undefined: Actually a function

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

Current Time: Sun Oct 12 03:44:51 PDT 2025

Total time taken to generate the page: 0.24273 seconds