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 #70148 is a reply to message #70147] Tue, 16 March 2010 06:11 Go to previous messageGo to previous message
Suguru Amakubo is currently offline  Suguru Amakubo
Messages: 24
Registered: March 2010
Junior Member
Ow dear lord! Yes I saw it now I don't know how I missed that y0+L-1
is completely out of range.

But how did this happen when I used if conditions to prevent this
exact situation?

What I did was that if the index goes into the 'rim' of the image past
y0+L-1 and/or x0+L-1 then the sub image will be forced back into the
image so it does not fall out or range.
[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: Wed Oct 08 19:26:11 PDT 2025

Total time taken to generate the page: 0.00454 seconds