git:https://github.com/linyi0604/Computer-Vision # coding:utf8 import cv2 import numpy as np from scipy import ndimage # 3*3 的高通卷积核 kernel_3x3 = np.array([ [-1, -1, -1], [-1, 8, -1], [-1, -1, -1] ]) # 5*5 高通卷积核 kernel_5x5 = np.array([ [-1, -1, -1, -1…