Hyperspectral, Multispectral, Remote Sensing, Opencv, Grayscale.
file_path = 'gray.png' gray_image = cv2.imread(file_path, cv2.IMREAD_GRAYSCALE) plt.imshow(gray_image, cmap='gray') plt.show() print(gray_image.shape) RGB Image: Any typical image you see on the web or print media, or you take with your smartphone, commonly known as “colour image”. Example: Sample