Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
bavani marimuthu
bavani marimuthu am 18 Jan. 2018
Beantwortet: Walter Roberson am 18 Jan. 2018
How to convert the grayscale image into rgb image ????
  1 Kommentar
KSSV
KSSV am 18 Jan. 2018
You should be having colormap for this. You need to have a color data of the concerned image.

Melden Sie sich an, um zu kommentieren.

Antworten (2)

KSSV
KSSV am 18 Jan. 2018

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

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by