Azzera filtri
Azzera filtri

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

4 visualizzazioni (ultimi 30 giorni)
How to convert the grayscale image into rgb image ????
  1 Commento
KSSV
KSSV il 18 Gen 2018
You should be having colormap for this. You need to have a color data of the concerned image.

Accedi per commentare.

Risposte (2)

KSSV
KSSV il 18 Gen 2018

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

Categorie

Scopri di più su Convert Image Type in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by