-
From: numpy-discussion-boun...@scipy.org
[mailto:numpy-discussion-boun...@scipy.org] On Behalf Of Nadav Horesh
Sent: Monday, October 24, 2011 9:02 PM
To: Discussion of Numerical Python
Subject: Re: [Numpy-discussion] neighborhood iterator speed
I found the 2d iterator definition active in numpy 1
on of Numerical Python
Subject: Re: [Numpy-discussion] neighborhood iterator speed
On Mon, Oct 24, 2011 at 1:23 PM, Nadav Horesh wrote:
> * I'll try to implement the 2D iterator as far as far as my programming
> expertise goes. It might take few days.
I am pretty sure the code is in
y.org
[mailto:numpy-discussion-boun...@scipy.org] On Behalf Of David Cournapeau
Sent: Monday, October 24, 2011 4:04 PM
To: Discussion of Numerical Python
Subject: Re: [Numpy-discussion] neighborhood iterator speed
On Mon, Oct 24, 2011 at 1:23 PM, Nadav Horesh wrote:
> * I'll try to imp
On Mon, Oct 24, 2011 at 1:23 PM, Nadav Horesh wrote:
> * I'll try to implement the 2D iterator as far as far as my programming
> expertise goes. It might take few days.
I am pretty sure the code is in the history, if you are patient enough
to look for it in git history. I can't remember why I re
-boun...@scipy.org] On Behalf Of David Cournapeau
Sent: Monday, October 24, 2011 1:57 PM
To: Discussion of Numerical Python
Subject: Re: [Numpy-discussion] neighborhood iterator speed
On Mon, Oct 24, 2011 at 10:48 AM, Nadav Horesh wrote:
> * Iterator mode: Mirror. Does the mode make a huge difference?
On Mon, Oct 24, 2011 at 10:48 AM, Nadav Horesh wrote:
> * Iterator mode: Mirror. Does the mode make a huge difference?
It could, at least in principle. The underlying translate function is
called often enough that a slight different can be significant.
> * I can not find any reference to PyArray
Nadav
-Original Message-
From: numpy-discussion-boun...@scipy.org
[mailto:numpy-discussion-boun...@scipy.org] On Behalf Of David Cournapeau
Sent: Monday, October 24, 2011 9:38 AM
To: Discussion of Numerical Python
Subject: Re: [Numpy-discussion] neighborhood iterator speed
On Mon, Oct 24
On Mon, Oct 24, 2011 at 6:57 AM, Nadav Horesh wrote:
> I am trying to replace an old code (biliteral filter) that rely on
> ndimage.generic_filter with the neighborhood iterator. In the old code, the
> generic_filter generates a contiguous copy of the neighborhood, thus the
> (cython) code coul
I am trying to replace an old code (biliteral filter) that rely on
ndimage.generic_filter with the neighborhood iterator. In the old code, the
generic_filter generates a contiguous copy of the neighborhood, thus the
(cython) code could use C loop to iterate over the neighbourhood copy. In the
n