rgb2hsv专题

【Opencv】rgb2hsv与skimage_hsv的差别

import cv2​​​​​​​from skimage.color import rgb2hsvcv_HSV = cv2.cvtColor(img_RGB, cv2.COLOR_RGB2HSV)skimage_HSV = np.array(rgb2hsv(img_RGB) * 255).astype(np.uint8) 如上面的代码所示,cv2.cvtColor使用cv2.COLOR_R