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

Home » Public Forums » archive » Re: 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 #70179 is a reply to message #70174] Tue, 23 March 2010 11:21 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Mar 23, 1:59 pm, Suguru Amakubo <sfa2...@googlemail.com> wrote:
> Unfortunately both of those codes seem to have given me compilation
> errors...
>
> Any ideas?
>
> p.s. For future reference please tell me what += does. :)

Can you give more details on what errors, and where? Is it really a
compilation error, or is it a runtime error? Each case has different
possibilities for the source of the error.

What jeanh wrote makes sense, though I would suggest using [] instead
of () in the array indices,

new_image[tr_point[0,a]:tr_point[0,a]+L-1,tr_point[1,a]:tr_p oint[1,a]
+L-1] += temp_image

so that tr_point does not get confused with a function call.
[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: Re: Calculating the Exponential using IDL
Next Topic: Detecting whether a user-defined System Variable is in use

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

Current Time: Wed Oct 08 17:42:00 PDT 2025

Total time taken to generate the page: 0.00489 seconds