convert indexed image to true color image
rgb = ind2rgb(ind,cmap)
ind2rgb utility function converts an indexed image to true color image for pseudo color visualization.
a = [1:0.05:16]; b = int32(a'*a); cmap = jetcolormap(256); c = ind2rgb(b,cmap); imshow(c); | ![]() | ![]() |
http://sivp.sf.net