Effacer les filtres
Effacer les filtres

How to convert the grayscale image into rgb image ????

2 vues (au cours des 30 derniers jours)
bavani marimuthu
bavani marimuthu le 18 Jan 2018
How to convert the grayscale image into rgb image ????
  1 commentaire
KSSV
KSSV le 18 Jan 2018
You should be having colormap for this. You need to have a color data of the concerned image.

Connectez-vous pour commenter.

Réponses (2)

KSSV
KSSV le 18 Jan 2018

Walter Roberson
Walter Roberson le 18 Jan 2018
RGB_Image = Grayscale_Image(:,:,[1 1 1]);
which is the same as
RGB_Image = repmat(Grayscale_Image, 1, 1, 3);

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!

Translated by