Sorry for not relating to the details of the problem, but, did you take a look pygpu? It intends to be able to enable image processing as video rate.
Nadav -----הודעה מקורית----- מאת: [EMAIL PROTECTED] בשם St?fan van der Walt נשלח: ה 18-ספטמבר-08 10:25 אל: Discussion of Numerical Python נושא: Re: [Numpy-discussion] Help speeding up element-wise operations forvideo processing Hey Brendan 2008/9/17 Brendan Simons <[EMAIL PROTECTED]>: > I would love a c-types code snippet. I'm not very handy in c. Since > I gather numpy is row-major, I thought I up and down crops very > quickly by moving the start and end pointers of the array. For > cropping left and right, is there a fast c command for "copy while > skipping every nth hundred bytes"? Not sure which way you decided to go, but here are some code snippets: http://mentat.za.net/hg/graycomatrix and http://mentat.za.net/source/connected_components.tar.bz2 Also take a look at http://scipy.org/Cookbook/Ctypes Good luck! St?fan _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion
<<winmail.dat>>
_______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion