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 #70173 is a reply to message #70172] Tue, 23 March 2010 17:22 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Mar 23, 7:08 pm, Suguru Amakubo <sfa2...@googlemail.com> wrote:
> yes this seems like a compilation error, I get the output below when I
> compile it:
>
> IDL> .COMPILE "C:\Users\kaizo\physics\block_shift.pro"
>
>         new_image = new_image[tr_point[0,a]:tr_point[0,a]
> +L-1,tr_point[1,a]:tr_point[1,a]+L-1] += temp_image
>
> ^
> Syntax error.

Just to be sure -- if you are really breaking this into two lines (and
I am not just seeing text wrapping) then you need a continuation
symbol $

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

Wayne
[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 15:33:43 PDT 2025

Total time taken to generate the page: 0.00206 seconds