File:EmiMa-099-Prewitt-y.jpg

Summary

Description
English: Grayscale image "EmiMa-099" convolved with Prewitt-y operator
Deutsch: Das Bild "EmiMa-099" wurde in Graustufen umgewandelt und mit dem Prewitt-y operator gefaltet.
Date
Source Own work
Author MartinThoma
Other versions
File:EmiMa-099.jpg
EmiMa-099
#!/usr/bin/env python

from scipy.ndimage import imread
import scipy.misc

from scipy.signal import convolve2d

im = imread('EmiMa-099.jpg', mode='L')

# Edge filter (Prewitt-y)
weights = [[-1, 0, 1]], [-1, 0, 1], [-1, 0, 1]
im_res = convolve2d(im, weights, mode='same')
scipy.misc.toimage(im_res).save('EmiMa-099-Prewitt-y.jpg')
Category:Images by Martin Thoma/Computer Vision Category:Edge detection Category:Image processing Category:Computer vision

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Category:CC-Zero#EmiMa-099-Prewitt-y.jpgCategory:Self-published work
Category:CC-Zero Category:Computer vision Category:Edge detection Category:Files with broken file links Category:Image processing Category:Images by Martin Thoma/Computer Vision Category:Self-published work