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
相关文章
相关标签/搜索