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

Home » Public Forums » archive » adding subset image into larger one
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: adding subset image into larger one [message #70261 is a reply to message #70184] Wed, 24 March 2010 07:42 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Suguru Amakubo writes:

> Sorry just a small question regarding the matter. What do you all do
> when you run out of memory? After solving the issue of new_image I got
> a runtime error:
>
> Array subscript for POPULATION must have same size as source
> expression.
>
> I use windows 7, idl 6.4 and have 4 GB of RAM so I thought it will be
> ok but after reading this:
>
> http://www.dfanning.com/misc_tips/submemory.html
>
> I didn't quite know how to deal with it.

I doubt very much you have run out of memory. I think
you just have a problem with your subscripts. Print them
out, along with the size of the images you are working
with so you can see what the problem is. Remember that
IDL uses 0 based array subscripting.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: overlaying wind vectors on a map
Next Topic: histogram

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

Current Time: Fri Oct 10 17:44:51 PDT 2025

Total time taken to generate the page: 0.08391 seconds