File:EmiMa-099-Prewitt-x.jpg

Summary

Description
English: Grayscale image "EmiMa-099" convolved with Prewitt-x operator
Deutsch: Das Bild "EmiMa-099" wurde in Graustufen umgewandelt und mit dem Prewitt-x operator gefaltet.
Date
Source Own work based on: EmiMa-099.jpg
Author MartinThoma
#!/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-x)
weights = [[-1, -1, -1], [0, 0, 0], [1, 1, 1]]
im_res = convolve2d(im, weights, mode='same')
scipy.misc.toimage(im_res).save('EmiMa-099-Prewitt-x.jpg')
Category:Images by Martin Thoma/Computer Vision Category:Image processing Category:Computer vision Category:Edge detection

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-x.jpgCategory:Self-published work
Category:CC-Zero Category:Computer vision Category:Edge detection Category:Image processing Category:Images by Martin Thoma/Computer Vision Category:Self-published work