[Numpy-discussion] convolve optimisation...

Chris Colbert sccolbert at gmail.com
Wed Jun 24 12:06:12 EDT 2009


do you mean that the values in the kernel depends on the kernels
position relative to the data to be convolved, or that the kernel is
not composed of homogeneous values but otherwise does not change as it
is slid around the source data?

If the case is the latter, you may be better off doing the convolution
in the fourier domain.

On Wed, Jun 24, 2009 at 8:58 AM, fred<fredmfp at gmail.com> wrote:
> Stéfan van der Walt a écrit :
>
>> If your kernel varies with i and j, you have little choice but to do
>> this at the C level.
>>
>> Have a look at the Cython convolution example here:
> Thanks.
> I'm looking at it.
>
>> Alternatively, David Cournapeau can take this opportunity to
>> illustrate his very nifty Neighbour Iterator.
> Ok.
>
> Cheers,
>
> --
> Fred
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>



More information about the NumPy-Discussion mailing list