OpenCV-Python 反色变换 OpenCV 内部函数 bitwise_not() 手写反色变换函数 OpenCV 内部函数 bitwise_not() src = cv.imread("C:/Users/Hedgehog/Desktop/timg.jpg") cv.imshow("original image", src) img = cv.bitwise_not(src) cv.imshow