Image processing?

Pete Shinners pete at shinners.org
Tue Oct 16 11:49:04 EDT 2001


> Yes indeed!  If you want to manipulate the image data, you may want
> to bring it over from PIL into NumPy arrays.  An example for doing
> this with RGB images is here:


i've written a small tutorial about doing simple image processing with 
Numeric python arrays. it should give you a taste of what is available 
and how it works: blending, scale, blur.


http://www.pygame.org/docs/tut/SurfarrayIntro.html

this is kind of tied into the pygame library, but the heart of the 
tutorial is doing image processing with Numpy.

for more exciting (and complex) examples, i've written some other little 
realtime applets that do fun image processing with Numeric.


realtime fire
http://www.pygame.org/pcr/submissions/04032001c.html

heh, here's an animated mandelbrot demo too
http://www.pygame.org/pcr/submissions/04202001a.html




More information about the Python-list mailing list