圖像邊緣檢測-Roberts交叉算子

Roberts交叉算子程序實例 from PIL import Image, ImageFont import numpy as np import matplotlib.pyplot as pyplot import pylab im =Image.open(‘Bikesgray.jpg’)#記得要用灰度圖,如果是彩色圖需要轉換成灰度圖 im=im.convert(‘L’) pyplot.ims
相關文章
相關標籤/搜索