图像边缘检测-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
相关文章
相关标签/搜索