📅  最后修改于: 2022-03-11 14:45:55.877000             🧑  作者: Mango
import matplotlib.pyplot as plt
%matplotlib inline
from skimage import data,filters
image = data.coins() # ... or any other NumPy array!
edges = filters.sobel(image)
plt.imshow(edges, cmap='gray')