OpenCV---如何將彩色圖像分通道輸出(4)

附代碼如下: import cv2 as cv import numpy as np def ch(): src = cv.imread("D:/matplotlib/0.jpg") h,w,ch = np.shape(src) bgr = cv.split(src) cv.imshow("blue",bgr[0]) cv.imshow("green",bg
相關文章
相關標籤/搜索