gray2rgb conversion
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
NAVNEET NAYAN
le 27 Avr 2017
Réponse apportée : Walter Roberson
le 27 Avr 2017
how can I convert a grayscale image into RGB image??
Thanks
navneet nayan
Réponse acceptée
Walter Roberson
le 27 Avr 2017
temp = YourGrayImage;
if isfloat(temp)
temp = im2uint8(temp);
end
ColorImage = ind2rgb(temp, TheColorMapToUse);
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Convert Image Type 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!