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

Home » Public Forums » archive » Re: Random convolution ?
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: Random convolution ? [message #40090 is a reply to message #40089] Thu, 08 July 2004 07:50 Go to previous messageGo to previous message
Emmanuel Christophe is currently offline  Emmanuel Christophe
Messages: 11
Registered: March 2004
Junior Member
David Fanning wrote:
> Emmanuel Christophe writes:
>
>
>> I got a random effect using convolution:
>>
>> ------------------------------------------------------
>> imagetest=indgen(256,256,224)
>> ker=indgen(1,3,5)
>> r1=convol(double(imagetest),double(ker),/edge_truncate)
>> r2=convol(double(imagetest),double(ker),/edge_truncate)
>> r3=convol(double(imagetest),double(ker),/edge_truncate)
>> print, max(abs(r1-r2))
>> print, max(abs(r1-r3))
>> print, max(abs(r2-r3))
>> end
>> ------------------------------------------------------
>>
>> The first time, I got
>> IDL> .GO
>> 85.961538
>> 793.00000
>> 768.00000
>>
>> and the second time:
>> IDL> .GO
>> 793.00000
>> 793.00000
>> 0.0000000
>>
>> And all results should be zero... I suspect a memory effect but how ?
>
>
> Don't know. I get all zeros every time I run this.
>
> Cheers,
>
> David
>

Do you reach the memory limits of your systems ? Or after several tries
? I also have the problem on only one of two system...
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: good way to subdivide line segments?
Next Topic: Tessellator

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

Current Time: Sat Oct 11 13:18:01 PDT 2025

Total time taken to generate the page: 2.55941 seconds