![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/177346/image.jpeg)
How to convert a gray image to colour image
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How to convert an image which is in gray to a colour image.?
1 commentaire
Yuji Zhang
le 10 Jan 2014
Hi~
I don't understand too much about unit8 things.
I did some test, hopefully helpful.
p1 = imread('p1.jpg');
I = im2double(p1);
pcolor(I(:,:,1)); shading interp;
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/177346/image.jpeg)
Réponses (0)
Voir également
Catégories
En savoir plus sur Modify Image Colors dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!