摘要: 1.遍历图像对其每个像素取反 import cv2 as cv import numpy as np img = cv.imread("d:/girl.jfif") cv.imshow("img", img) height = img.shape[0] width = img.shape[1] ch 阅读全文
posted @ 2020-02-06 22:58 地球上最后一个直男 阅读(424) 评论(0) 推荐(0) 编辑
摘要: import cv2 import numpy as np img = cv2.imread("C:/Users/93917/Pictures/Screenshots/one.png") cv2.imshow("Image", img) cv2.waitKey(0) cv2.destroyAllWi 阅读全文
posted @ 2020-02-06 20:27 地球上最后一个直男 阅读(813) 评论(0) 推荐(0) 编辑