Sobel / Prewitt Edge Detection

Chris Colbert sccolbert at gmail.com
Tue Apr 19 11:12:20 EDT 2011


what type of post-processing are you doing? It looks to me like you are
getting wrap-around error. The sobel output is signed and will have negative
values.

2011/4/19 Stéfan van der Walt <stefan at sun.ac.za>

> 2011/4/19 Stéfan van der Walt <stefan at sun.ac.za>:
> > I think there was a concern about the directionality of the
> > scipy.ndimage implementation.  Maybe we can modify the version in the
> > scikit to make use of the scipy.ndimage one, but to compute the
> > horizontal, vertical and averaged sobels?
>
> Looking at this further, I am not happy with the result of either
> scikits.image or scipy.ndimage:
>
> http://mentat.za.net/refer/sobel.jpg
>
> Compare this, e.g., to the wikipedia page here:
>
> http://en.wikipedia.org/wiki/Sobel_operator
>
> Stéfan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20110419/1877a4c6/attachment.html>


More information about the scikit-image mailing list