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.
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Answers (2)
Walter Roberson
on 31 Jan 2016
0 votes
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.
Image Analyst
on 31 Jan 2016
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);
This question is closed.
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!