matlabcolor-mapping

To create red-blue-green colormap for medical imaging?


I run

imagesc(real(lena))
colormap(hsv)

where lena is a picture in 512x512 pixels.

I would like to get the special red-green-blue colormap like here discussed. A picture processed by it:

enter image description here

How can you get such a colors by the command colormap?


Solution

  • Use colormap bone to get this gray-ish blue-ish tones for your medical images.
    Here's an example of this colormap taken from Mathworks:

    See manual for more examples and pre-defined color maps.