Info

此问题已关闭。 请重新打开它进行编辑或回答。

hii sir i need code for coloring the gray scale from source image to color the gray scale image ?pleasee do help me sir am not getting any proper code for that.

1 次查看(过去 30 天)
code for the image

回答(2 个)

Walter Roberson
Walter Roberson 2016-1-31
There are multiple ways of doing what you are asking.

Image Analyst
Image Analyst 2016-1-31
Create a colormap, for example using one of the colormap functions like jet(), hsv(), winter(), hot(), lines(), etc. Then use ind2rgb()
cmap = hsv(256);
rgbImage = ind2rgb(grayImage, cmap);

此问题已关闭。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by