[SciPy-user] ndimage convolve vs. RAM issue...

fred fredmfp@gmail....
Tue Jan 20 04:33:53 CST 2009


fred a écrit :
> Hi all,
> 
> On a bi-xeon quad core (debian 64 bits) with 8 GB of RAM, if I want to
> convolve a 102*122*143 float array (~7 MB) with a kernel of 77*77*41
> cells (~1 MB), I get a MemoryError in correlate:
> 
> File "/usr/lib/python2.5/site-packages/scipy/ndimage/filters.py", line
> 331, in convolve
>     origin, True)
>   File "/usr/lib/python2.5/site-packages/scipy/ndimage/filters.py", line
> 312, in _correlate_or_convolve
>     _nd_image.correlate(input, weights, output, mode, cval, origins)
> MemoryError

Nobody can help me on this issue ?

I really need some help, since ndimage.convolve is _very_ efficient ;-)

TIA


Cheers,

-- 
Fred


More information about the SciPy-user mailing list