MATLAB: Colormap of a rgb image

colormapmap

can anyone help with getting colormap of a image?

Best Answer

The colormap of an RGB image is, by convention, [] (the empty array)
If you need to convert an RGB image to a pseudocolor image, use the two-output version of rgb2ind()
Related Question