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

Home » Public Forums » archive » Re: IDL out of range error
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: IDL out of range error [message #70158 is a reply to message #70157] Mon, 15 March 2010 17:53 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Mar 15, 9:18 pm, Suguru Amakubo <sfa2...@googlemail.com> wrote:
> Subscript range values of the form low:high must be >= 0, < size, with
> low <= high:

That is an easy one. Just check on what line the error occurs (you
were not clear on which line caused the error). Then check what are
the dimensions of the arrays in that line, and compare them to the
values being used for the indexes.

> when I checked both sub and test has the same dimention L and they
> both position in the original image...

It is not really clear what you mean by this. From what you wrote, sub
and test can only be defined in that way if the dimensions of
new_image2 (I will call them new_image2_x and new_image2_y) are such
that:

new_image2_x is at least x0+L, and is at least the maximum i1+L
new_image2_y is at least y0+L, and is at least the maximum i2+L
[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
Previous Topic: SIGN function: signof(num or array of num)
Next Topic: Re: SIGN function: signof(num or array of num)

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

Current Time: Sun Oct 12 07:22:35 PDT 2025

Total time taken to generate the page: 1.59985 seconds