I used the following code in order to explore RGB images X = imread ('parrot.jpg'); image(X); colorbar The output Why doesn't the color bar contain red color even when the image does?
Prashant Kumar answered .
2025-11-20
If you want to see the 3-D color gamut, you can use colorcloud
colorcloud(rgbImage);