卷積核----圖片邊緣濾波器

  from PIL import Image import numpy as np import matplotlib.pyplot as plt def main(): im = Image.open("D:\\temp\\img\\bw.jpg") res=conv2(im,kv).astype(dtype="uint8") print(res) img2
相關文章
相關標籤/搜索