Thanks Josef.
I'm not sure how I could use correlate2d because of the 'stride' parameter
on the y and x axes, but I may be able to do something on the z axis.
On Sat, Feb 21, 2009 at 12:56 AM, wrote:
> On Sat, Feb 21, 2009 at 12:36 AM, Nicolas Pinto wrote:
> > Thanks a lot for the pointer to s
On Sat, Feb 21, 2009 at 12:36 AM, Nicolas Pinto wrote:
> Thanks a lot for the pointer to segmentaxis. I'm trying to use it "as is"
> and it seems that I need to a big reshape before the matrix multiplication.
> Am I missing something ?
>
>
>
>
> import nump
Thanks a lot for the pointer to segmentaxis. I'm trying to use it "as is"
and it seems that I need to a big reshape before the matrix multiplication.
Am I missing something ?
import numpy as np
from numpy import dot, transpose
arrh, arrw, arrd = 480,640,
On Sat, Feb 21, 2009 at 1:46 PM, Nicolas Pinto wrote:
> Dear all,
>
> I'm trying to optimize the code below and I was wondering if there is an
> efficient method that could reduce the numpy slicing overheard without going
> with cython. Is there anyway I could use mgrid to get a matrix with all my
Dear all,
I'm trying to optimize the code below and I was wondering if there is an
efficient method that could reduce the numpy slicing overheard without going
with cython. Is there anyway I could use mgrid to get a matrix with all my
"windows" and then do a large matrix multiply instead?
Any ide