[Image-SIG] Implement sobel filter

Claudio claudyus84 at gmail.com
Thu Sep 1 14:59:49 CEST 2011

2011/8/31 Guilherme Polo <ggpolo at 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
implemented using a matrix and ereditate function from ImageFilter

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?

pub   1024D/0DFD7CBB C94D 759A 2EF0 172F 9673 65E4 C4C1 8627 0DFD 7CBB

More information about the Image-SIG mailing list