img.morph(1, [+2, +1, +0,\
+1, +1, -1,\
+0, -1, -2]) # 浮雕图像
这个是morph操作, 也叫卷积, 3x3的数组是卷积核。
在 数字图像处理的书里都有。
https://baike.baidu.com/item/%E5%8D%B7%E7%A7%AF%E6%A0%B8/3377590