2011/8/31 Guilherme Polo <ggp...@gmail.com>: > > Now I see that I'm very naive with PIL, I don't know how to achieve > exactly the same result using only PIL.
Hello Guilherme, thanks for your help. I appreciate your implementation using scipy and I also implement a "discrete" version using raw data from load method. Googling a bit I found a gaussian filter http://rcjp.wordpress.com/2008/04/02/gaussian-pil-image-filter/ implemented using a matrix and ereditate function from ImageFilter class. Now probabily this is another way to apply a matrix to each point of an image in PIL but there are difference between that way and my initial implementation with ImageFilter.Kernel: ximg = img.filter(ImageFilter.Kernel((3,3), dx, None, 0)) There is some PIL developer that can answer my question here? -- Claudio pub 1024D/0DFD7CBB C94D 759A 2EF0 172F 9673 65E4 C4C1 8627 0DFD 7CBB _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig