python opencv 分割像素通道
import cv2
import numpy as np
# Load the image
img = cv2.imread('path/to/image.jpg')
# Split the image into its channels
b, g, r = cv2.split(img)
#################
python opencv 分割像素通道
import cv2
import numpy as np
# Load the image
img = cv2.imread('path/to/image.jpg')
# Split the image into its channels
b, g, r = cv2.split(img)
#################