Computer Vision, Image Processing, Computer Science, Colors, Engineering.
convert the image back to RGB for matplotlib to be able to plot it properly) H = img_HSV.copy() H[:, :, (1,2)] = 255 # set S and V channels to max (255) H_RGB = cv2.cvtColor(H,cv2.COLOR_HSV2RGB) # convert back to RGB plt.show() plt.imshow(H_RGB) To display the S channel: S = img_HSV.copy() S[:, :,