Hello, Is it possible to create a colormap of a rgb image for using colorization other grayscale images with that image's colormap please?
Here is the code i've used. I was able to take colormap of the image but, it does not work for another images it colorizes other images just like a rainbow:
RGB = imread('image.jpg'); [X,map] = rgb2ind(RGB,65536); figure, image(X), colormap(map) axis off axis image alinancmap1 = get(gcf,'Colormap'); save('YeniColormap1','alinancmap1')
Thanks for your answers. Respectfully Yours, abarairenji
Best Answer