SMIL 1.1.1
Loading...
Searching...
No Matches
example-horiz-convolve.py
1
2import smilPython as sp
3
4imIn = sp.Image("https://smil.cmm.minesparis.psl.eu/images/lena.png")
5imOut = sp.Image(imIn)
6imIn.show()
7imOut.show()
8
9kernel = [ 0.0545, 0.2442, 0.4026, 0.2442, 0.0545 ]
10sp.horizConvolve(imIn, kernel, imOut)
11