Re: adding subset image into larger one [message #70172 is a reply to message #70171] |
Tue, 23 March 2010 17:27   |
Suguru Amakubo
Messages: 24 Registered: March 2010
|
Junior Member |
|
|
On 24 Mar, 00:22, wlandsman <wlands...@gmail.com> wrote:
> 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
It unfortunately is text wrapping, on the actual code its one line.
|
|
|