I read a TrueColor image into MATLAB as a 3D RGB matrix. I would like to convert it to grayscale so that I can analyze the intensities, or modify the colormap according to intensity.
MATLAB: How to convert the RGB image to grayscale without using the Image Processing Toolbox
grayscaleimageImage Processing Toolboxintensityrgbrgb2grayrgb2ind
Best Answer