Reputation: 141170
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:
How can you get such a colors by the command colormap?
Upvotes: 1
Views: 800
Reputation: 60504
Note that the paper describes a way to combine two images, it does not use a color map.
If a
is the gray-scale normal MRI image, and b
is the gray-scale contrast-enhanced MRI image, the paper proposes to use cat(3,a,b,a)
as an RGB image, where contrast-enhancement appears as a green overlay. What that statement does is use the normal image as the red and blue channel, and the contrast-enhanced image as the green channel.
Upvotes: 0