SMIL
1.1.2
Loading...
Searching...
No Matches
example-default-se.py
1
2
import
smilPython
as
sp
3
4
im = sp.Image(
"lena.png"
)
5
6
# set new default StrElt and save old one
7
saveSE = sp.Morpho.getDefaultSE()
8
sp.Morpho.setDefaultSE(sp.SquSE))
9
10
# do something
11
imd = sp.Image(im)
12
sp.dilate(im, imd, 3)
13
14
# restore old default StrElt
15
sp.Morpho.setDefaultSE(saveSE)
16
Generated on Mon Nov 25 2024 11:22:24 for SMIL by
1.9.8