[Numpy-discussion] Help speeding up element-wise operations forvideo processing
Thu Sep 18 02:37:30 CDT 2008
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.
מאת: firstname.lastname@example.org בשם St?fan van der Walt
נשלח: ה 18-ספטמבר-08 10:25
אל: Discussion of Numerical Python
נושא: Re: [Numpy-discussion] Help speeding up element-wise operations forvideo processing
2008/9/17 Brendan Simons <email@example.com>:
> 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:
Also take a look at
Numpy-discussion mailing list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 3728 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080918/6a0505bb/attachment.bin
More information about the Numpy-discussion