Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

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 view (last 30 days)
code for the image

Answers (2)

Walter Roberson
Walter Roberson on 31 Jan 2016
There are multiple ways of doing what you are asking.

Image Analyst
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.

Community Treasure Hunt

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

Start Hunting!