[SciPy-user] trying to use weave to access image data in C

Fernando Perez Fernando.Perez at colorado.edu
Tue Sep 28 19:14:34 EDT 2004


Danial, Al (IIS) schrieb:
> I'm inspired by recent posts on using weave to include C code within
> a Python program.  Does anyone have an example of how one would access 
> the bytes of an image (as loaded with imread) within a weave C inline?

Sorry that I don't have time right now to give you a detailed answer, but if 
you look here:

http://amath.colorado.edu/faculty/fperez/python/

you'll find some weave example code which may get you going.

Best,

f




More information about the SciPy-User mailing list