效果:
代码:
import numpy as np
from matplotlib import pyplot as plt
import cv2 as cv
init = cv.imread('JAX_Tile_004_RGB.png', 0)
init2 = cv.Canny(init, 30, 100)
plt.subplot(121)
plt.imshow(init)
plt.subplot(122)
plt.imshow(init2)
plt.show()
wx62b9325dd56a7 博主文章分类:图像处理 ©著作权
import numpy as np
from matplotlib import pyplot as plt
import cv2 as cv
init = cv.imread('JAX_Tile_004_RGB.png', 0)
init2 = cv.Canny(init, 30, 100)
plt.subplot(121)
plt.imshow(init)
plt.subplot(122)
plt.imshow(init2)
plt.show()
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M