File:EmiMa-099-Prewitt-y.jpg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this preview: 800 × 533 pixels. Other resolutions: 320 × 213 pixels | 640 × 427 pixels | 1,024 × 683 pixels | 1,280 × 853 pixels | 2,560 × 1,707 pixels | 5,543 × 3,695 pixels.
Original file (5,543 × 3,695 pixels, file size: 510 KB, MIME type: image/jpeg)
File information
Structured data
Captions
Summary
[edit]DescriptionEmiMa-099-Prewitt-y.jpg |
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 |
#!/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')
Licensing
[edit]I, the copyright holder of this work, hereby publish it under the following license:
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.
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 07:10, 9 February 2019 | 5,543 × 3,695 (510 KB) | MartinThoma (talk | contribs) | {{Information |description ={{en|1=Grayscale image "EmiMa-099" convolved with Prewitt-y operator}} {{de|1=Das Bild "EmiMa-099" wurde in Graustufen umgewandelt und mit dem Prewitt-y operator gefaltet.}} |date =2019-02-09 |source ={{own}} |author =User:MartinThoma |other versions=thumb|EmiMa-099 }} <source lang="Python"> #!/usr/bin/env python from scipy.ndimage import imread import scipy.misc from scipy.signal import convolve2d im = imread... |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.