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 天)
显示 更早的评论
回答(2 个)
Walter Roberson
2016-1-31
One routine to do that is in the File Exchange at http://www.mathworks.com/matlabcentral/fileexchange/8214-gray-image-to-color-image-conversion
There are multiple ways of doing what you are asking.
0 个评论
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);
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!